Subscriber v0.0.1
- Get data from queue
- Write it to DB
Data specification:
GUID string | uint - id of user
Coin string - example ETH_0x45088E0838D1d55491ebEa1b2648f6f5F378aaF1
Price float64 - price in USD
Condition bool - if above price is true
Notifier
Do all that operations each N seconds
- Get all the Coins that needs to be fetched
- Fetch coins from Redis / DB
- Find all GUIDs with suitable price
- Delete them from DB
- Send to notifier