marceloboeira / crowd Goto Github PK
View Code? Open in Web Editor NEW๐ฅ [WIP] An experimental High Available Reverse Proxy for Massive Asynchronous Message Consumption
License: MIT License
๐ฅ [WIP] An experimental High Available Reverse Proxy for Massive Asynchronous Message Consumption
License: MIT License
It would be essential to have a external configuration file that we could use to setup the route/sink adapters maps:
routes:
- path: "/foo"
sink:
adapter: redis
uri: "redis://[USER]:[PASSWORD]@[IP]:[PORT]"
- path: "/bar"
sink:
adapter: sqs
...
then, we could have something like:
crowd -f crowd.yml
Which crowd.yml
could be the default ...
@mauricioabreu I'll take care of this, I just wanted to figure if there is anything we should look for on matrix of tests (linux specific or even, go versions?) I'm really outdated when it comes to Golang versions and dependency management... it changes faster than javascript frameworks ahhah
Is it worth to add support for other backends? It could be achieved using go interfaces
.
We could start with redis
, writing a code that is easy to use different queue vendors.
Add support to a sink buffer, to avoid round-trips on every incoming request.
The buffer should be configurable through the configuration file: #3.
The buffer should have a configurable timeout too, something like, "100 messages OR 1 second" and it could be adjustable per sink.
routes:
- path: "/foo"
sink:
adapter: redis
uri: "redis://[USER]:[PASSWORD]@[IP]:[PORT]"
buffer:
size: 100
timeout: 1s
document that sink buffers are volatile and shouldn't be used for situations that there is no tolerance for message dropping.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.