caj-larsson / wallaroo

Build and scale real-time data applications as easily as writing a Python script

Home Page:https://www.wallaroolabs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WallarooLabs logo

Build and scale real-time applications as easily as writing a script


CircleCI GitHub license GitHub version IRC Groups.io

A fast, stream-processing framework. Wallaroo makes it easy to react to data in real-time. By eliminating infrastructure complexity, going from prototype to production has never been simpler.

What is Wallaroo?

When we set out to build Wallaroo, we had several high-level goals in mind:

  • Create a dependable and resilient distributed computing framework
  • Take care of the complexities of distributed computing "plumbing," allowing developers to focus on their business logic
  • Provide high-performance & low-latency data processing
  • Be portable and deploy easily (i.e., run on-prem or any cloud)
  • Manage in-memory state for the application
  • Allow applications to scale as needed, even when they are live and up-and-running

You can learn more about Wallaroo from our "Hello Wallaroo!" blog post and the Wallaroo overview video.

What makes Wallaroo unique

Wallaroo is a little different than most stream processing tools. While most require the JVM, Wallaroo can be deployed as a separate binary. This means no more jar files. Wallaroo also isn't locked to just using Kafka as a source, use any source you like. Application logic can be written in either Python 2, Go, or Pony; with more coming soon.

Getting Started

Wallaroo can either be installed via Docker, Vagrant or (on Linux) compiled from source.

As easy as:

docker pull wallaroo-labs-docker-wallaroolabs.bintray.io/release/wallaroo:latest

Usage

Once you've installed Wallaroo, Take a look at some of our examples. A great place to start are our reverse or market spread examples in either Python or Go.

"""
This is an example application that receives strings as input and outputs the
reversed strings.
"""

def application_setup(args):
  # see ./examples/python/reverse/ for the full example and how to run it

@wallaroo.decoder(header_length=4, length_fmt=">I")
def decoder(bs):
    return bs.decode("utf-8")

@wallaroo.computation(name="reverse")
def reverse(data):
    return data[::-1]

@wallaroo.encoder
def encoder(data):
    # data is a string
    return data + "\n"

Documentation

Are you the sort who just wants to get going? Dive right into our documentation then! It will get you up and running with Wallaroo.

More information is also on our blog. There you can find more insight into what we are working on and industry use-cases.

Wallaroo currently exists as a mono-repo. All the source that is Wallaroo is located in this repo. See application structure for more information.

Need Help?

Trying to figure out how to get started?

Contributing

We welcome contributions. Please see our Contribution Guide

For your pull request to be accepted you will need to accept our Contributor License Agreement

License

Wallaroo is licensed under the Apache version 2 license.

About

Build and scale real-time data applications as easily as writing a Python script

https://www.wallaroolabs.com

License:Apache License 2.0


Languages

Language:Pony 59.8%Language:Python 12.9%Language:Makefile 11.3%Language:JavaScript 5.9%Language:Elixir 3.8%Language:Shell 3.5%Language:Go 1.4%Language:C 0.5%Language:HCL 0.5%Language:Ruby 0.3%Language:Dockerfile 0.1%Language:CSS 0.1%Language:HTML 0.0%