...
Yes, even with standard-2x and standard pg, ramelli is taking 4-6s on heroku, compared to 2-2.5s on our current EC2. 😞 Smaller 115-item work goes from 0.5-0.6s on EC2 to ~0.9-1.2S on heroku, what.
RAM how many threads can we get away with
RAILS_MAX_THREADS
our puma config pays attention to that heroku config env, making it easy to switch.
One worker 5 threads on a standard-1x (512MB) dyno – we exceeded memory capacity repeatedly requesting ramelli. 😞
three threads – yep, still exceeded quota.
two threads? seems to be okay, but pushing it! We wouldn’t want our app to expand it’s wasteland any further. sample#memory_total=497.73MB sample#memory_rss=473.06MB
going back to one thread for a consistent baseline for exploring how changes effect memory.
Monday Oct 12/Tuesday Oct 13
...