Git Product home page Git Product logo

flatrpc's Introduction

BeerPay

FlatRPC

A C++ RPC library built upon FlatBuffers and ZeroMQ

Why?

Because I needed an easy to use RPC library that was lightweight, simple, and didn't require building the world (shifty eyes at gRPC >_>). This was born from inside of another project, please bear with me whilst I port all the features.

What?

A pipe agnostic RPC library (anything that can transport ZeroMQ), using Flatbuffer reflection to generate RPC server stubs and clients.

Can this be ported to language x?

Probably, feel free to contribute, I just need C++ though.

But library xyz exists?!

Sure, can I give it a raw socket and make it dance in < 10 minutes?

Documentation?

Coming, but for now please check out the example in the examples directory and my hasilty written Quick Start guide in the wiki

TODO:

  • Implement server side timeouts.
  • Stop client crashing when server goes away.
  • Reconnect clients
  • Tunables
  • Test performance.
  • [Allow the?] use [of] non Native Table flatbuffers.
  • Allow calling RPC methods with arguments instead of the request table.
  • Tests
  • Documentation

flatrpc's People

Contributors

gothack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flatrpc's Issues

Add tunables

Currently you can set the number of worker threads, but not method timeouts

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.