This PR drastically increases time of /portfolio page rendering by properly utilizing Redis cached keys.
In order to make it working we must populate Redis cache first.
The steps which are needed to make it working:
Deploy app
In console run $redis.del($redis.keys('*_price_*'))
In console run Coins::SyncDailyPricesForCoinsWorker.perform_async
Part of https://trello.com/c/BINUSz3X/8-refactor-portfolio-controller
Synopsis
This PR drastically increases time of
/portfolio
page rendering by properly utilizing Redis cached keys. In order to make it working we must populate Redis cache first. The steps which are needed to make it working:$redis.del($redis.keys('*_price_*'))
Coins::SyncDailyPricesForCoinsWorker.perform_async
Comparison
master
branch - https://apm.scoutapp.com/dev_traces/ca892158-e460-4bff-8cf6-73d9cd97c975Changes