All Projects → djjonno → kerala

djjonno / kerala

Licence: other
Distributed KV Streams

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to kerala

kafka-shell
⚡A supercharged, interactive Kafka shell built on top of the existing Kafka CLI tools.
Stars: ✭ 107 (+568.75%)
Mutual labels:  streams, stream-processing
godsend
A simple and eloquent workflow for streaming messages to micro-services.
Stars: ✭ 15 (-6.25%)
Mutual labels:  streams, stream-processing
ripple
Simple shared surface streaming application
Stars: ✭ 17 (+6.25%)
Mutual labels:  distributed-systems, stream-processing
Distributed-Algorithms
利用 Go 语言实现多种分布式算法
Stars: ✭ 53 (+231.25%)
Mutual labels:  distributed-systems, raft
IoTPy
Python for streams
Stars: ✭ 24 (+50%)
Mutual labels:  distributed-systems, streams
raftor
Distributed chat system built with rust
Stars: ✭ 31 (+93.75%)
Mutual labels:  distributed-systems, raft
MIT6.824-2021
4 labs + 2 challenges + 4 docs
Stars: ✭ 594 (+3612.5%)
Mutual labels:  distributed-systems, raft
Mit 6.824 2018
Solutions to mit 6.824 2018
Stars: ✭ 158 (+887.5%)
Mutual labels:  distributed-systems, raft
traffic
Massively real-time traffic streaming application
Stars: ✭ 25 (+56.25%)
Mutual labels:  distributed-systems, stream-processing
golearn
🔥 Golang basics and actual-combat (including: crawler, distributed-systems, data-analysis, redis, etcd, raft, crontab-task)
Stars: ✭ 36 (+125%)
Mutual labels:  distributed-systems, raft
nebula
A distributed, fast open-source graph database featuring horizontal scalability and high availability
Stars: ✭ 8,196 (+51125%)
Mutual labels:  distributed-systems, raft
Layr
A decentralized (p2p) file storage system built atop Kademlia DHT that enforces data integrity, privacy, and availability through sharding, proofs of retrievability, redundancy, and encryption, with smart-contract powered incentive scheme
Stars: ✭ 90 (+462.5%)
Mutual labels:  distributed-systems, streams
6.824 2017
⚡️ 6.824: Distributed Systems (Spring 2017). A course which present abstractions and implementation techniques for engineering distributed systems.
Stars: ✭ 219 (+1268.75%)
Mutual labels:  distributed-systems, raft
little-raft
The lightest distributed consensus library. Run your own replicated state machine! ❤️
Stars: ✭ 316 (+1875%)
Mutual labels:  distributed-systems, raft
Atomix
A reactive Java framework for building fault-tolerant distributed systems
Stars: ✭ 2,182 (+13537.5%)
Mutual labels:  distributed-systems, raft
huffleraft
Replicated key-value store driven by the raft consensus protocol 🚵
Stars: ✭ 32 (+100%)
Mutual labels:  distributed-systems, raft
Zatt
Python implementation of the Raft algorithm for distributed consensus
Stars: ✭ 119 (+643.75%)
Mutual labels:  distributed-systems, raft
Verdi Raft
An implementation of the Raft distributed consensus protocol, verified in Coq using the Verdi framework
Stars: ✭ 143 (+793.75%)
Mutual labels:  distributed-systems, raft
stream-registry
Stream Discovery and Stream Orchestration
Stars: ✭ 105 (+556.25%)
Mutual labels:  streams, stream-processing
coolbeans
Coolbeans is a distributed work queue that implements the beanstalkd protocol.
Stars: ✭ 56 (+250%)
Mutual labels:  distributed-systems, raft

Kerala

Actions Status GitHub release (latest by date including pre-releases) MIT License

Kerala Ctl Demo

Kerala

Kerala is a distributed event-streaming server built for the modern day. It is robust, lightweight and super fast!

  • Produce/Consume - create Topics, then produce and consume them.
  • Process - create processors that transform or aggregate event data, and project new Streams with the outputs.
  • Distribute - scale & balance your event processors across your cluster.

Getting Started

Prerequisites

  • JDK 8 or above.

Installing

Using the gradle wrapper, you can now run.

$ ./gradlew installDist

This will produce the Kerala daemon binary kerala-server under ./core/build/install/kerala-server/bin

Run as Standalone

$ ./kerala-server

Run as Cluster

$ ./kerala-server --cluster :9191,:9292,:9393 --port :9191
$ ./kerala-server --cluster :9191,:9292,:9393 --port :9292
$ ./kerala-server --cluster :9191,:9292,:9393 --port :9393

Run with Docker

You can use the Dockerfile OR run via docker-compose:

$ docker-compose up

That will deploy a cluster containing 4 kerala nodes.

Running Tests

Unit Tests

You can run unit tests as part of a build:

$ ./gradlew build

Or, you can run them specifically:

$ ./gradlew test [--tests <package>|<regex>|<class-name>]

It is just vanilla Gradle so you can refer to the docs for more usages. If you use Jetbrains IDEA, you can also run the tests within the editor.

Coding Style

Kotlin is our core language and we currently enforce styling via ktlint. ktlint will run automatically on a build task.

And can also run it directly:

$ ./gradlew ktlint

And have the formatting done for you:

$ ./gradlew ktlintFormat

Built With

  • Kotlin - Structured concurrency w/ coroutines
  • gRPC - Server-Server communication
  • Raft Consensus - Distributed consensus

Contributing

Get on board by reading CONTRIBUTING.md guidelines for details on our code of conduct, and the process for submitting pull requests!

Versioning

We use SemVer. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see LICENSE file for details.

Kerala Use-Cases

There are numerous uses for event-streaming, here are just a few thing you could use Kerala for:

  • Define a Topic of UI Events (PageView, PageScroll, PageSwipe, ButtonClick, TextInput, etc) to analyze customer interaction with your product, to gain insights and optimize your critical customer flows.
  • Perform time-series analysis on all kinds of application event streams.
  • Create app/system audit streams for retrospective analysis for fraud or unauthorized access use-cases.
  • Natively supports CQRS Architectures
  • ...

Other things to checkout

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].