Ilya Cherevkov
Joined
Activity
Posted in How ActionCable Uses Redis Discussion
Nice! I d like to see an episode on ActionCable & Redis tuning and optimisation to allow massive number of subscribers (100+) with frequent updates. Im currently pushing matrix with data of size 800*50 each few seconds and struggling to have more than 100 subscribers, as it starts lagging
Posted in Push bitmap to clients in realtime
Hi Chris!
I want to create a service which will show a heatmap with some stocks data in realtime (updated each second). Each second there will be around 100 new data points and in general, chart may contain up to 30 000+ data points. Do you think that creating separate process for data connector (e.g. http://michalorman.com/2015/03/daemons-in-rails-environment/) and pushing data through redis (action cable) to rails application, where .js will generate bitmap is optimal way to go? (https://neil.fraser.name/software/bmp_lib/). Or is it better to let js fetching data directly from the browser?
Another way to get purchased theme working in minutes is to create subdomain specifically for serving assets, e.g. assets.domain.com. Then configure your server (Nginx, Apache) and add new server block, pointing to your local directory with theme files. I use this approach for sites, where I have mostly static content (e.g. one-pagers), with couple of dynamic features: contact us form and news section.
Posted in Sharing on Twitter / Facebook callbacks
Would love to see a screencast on how to add functionality to share on Twitter / Facebook and receive callbacks. E.g. "Share on Twitter to get extra free month!"
With Rails 4.2.2 (rvm) I also needed to install
sudo apt-get install libgmp-dev
in order to install 'pg' gem
Hi Chris, Time to add ruby 2.1.3