Giter Club home page Giter Club logo

remits's Introduction

Remits  Rust Discord

Remote Iterator Server

Remits is a persisted stream database that allows you to query via intuitive map, reduce, and filter functions called Iterators.

Remits is built to be fast, lightweight, and reliable. It is intended to be easy to setup, manage, and reason about.

Remits is still very young. Feel free to play around with it, contribute, and help define it's future...but don't use it in production yet.

Installation

To build the server:

git clone https://github.com/badtuple/remits
cd remits
cargo build --release --bin remits

To build the CLI Client for testing/administration:

cargo build --release --bin client

Design

Overall design documentation is hosted in the design folder in the root of this repo.

From a high level though, Remits only has 3 primary constructs:

  1. A Message is a list of bytes stored in a Log.
  2. A Log is a persisted, append-only list of Messages.
  3. An Iterator applies a Map/Filter/Reduce operation over a Log or Iterator and returns the modified Messages.

A client will be able to push Messages to a Log, and then create an Iterator over it to query them back out.

Each Message has an Offset which represents it's index in the Log. When using an Iterator, you can choose to iterate from the beginning, the end, or a certain Message's Offset. This allows you to store your place in an Iterator and then resume from that spot at a later time.

Contributing

Want to contribute to Remits? Feel free to jump into our chat or open a github issue. We'll be happy to help find a good place to get started! Remits is still young, so there's alot of low hanging fruit and definitional work to do.

Questions

For now, if you have any questions please open up a github issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.