ypk4 / Order-Management-Engine

Order Management Engine in Trade Life Cycle
3 stars 4 forks source link

Caching user subscriptions in Redis cache as a dictionary (hash table) #4

Open ypk4 opened 6 years ago

ypk4 commented 6 years ago

Configuring and installing Redis for our Keras REST API :- Below you’ll find the commands to download, extract, and install Redis on your system: $ wget http://download.redis.io/redis-stable.tar.gz $ tar xvzf redis-stable.tar.gz $ cd redis-stable $ make $ sudo make install

To start the Redis server, use the following command: $ redis-server

Leave this terminal open to keep the Redis data store running. In another terminal, you can validate Redis is up and running: $ redis-cli ping PONG Provided that you get a PONG back from Redis, you’re ready to go.

(Reference : https://www.pyimagesearch.com/2018/01/29/scalable-keras-deep-learning-rest-api/)

ioctls commented 6 years ago

The deep learning part seems misguiding. Use these resources instead https://www.compose.com/articles/why-and-how-to-redis-with-your-mongodb/ https://www.sitepoint.com/caching-a-mongodb-database-with-redis/