pandastrike / huxley

API and CLI for Docker Deployment
9 stars 1 forks source link

Establish a Messaging Queue Interface for the Huxley API #86

Open freeformflow opened 9 years ago

freeformflow commented 9 years ago

We don't want the Huxley API server to get bogged down with requests, so we need a way to guarantee reliability.

Dan is preparing Mutual, a library that wraps Redis to establish message queuing. Redis can easily handle high request volume (1000s+ per second). Mutual does some magic with the Redis list data structure to implement a queue the Huxley API can pull requests from.

Please use this tech to implement a messaging queue in the Huxley API server.

freeformflow commented 9 years ago

I know that this is pretty much done, but let's focus on using a Redis database for storage and Dockerization for Alpha 04. This can be easily moved to Alpha 05.