3 ms·
What's your main bottleneck? What's driving that high CPU? Without knowing more about your setup I'd offload assets to S3 and switch from Passenger to Unicorn.
by anthony_franco 16y ago
What's your main bottleneck? What's driving that high CPU?
Without knowing more about your setup I'd offload assets to S3 and switch from Passenger to Unicorn.
- markbao 16y agoUser-specific assets are on S3... will need to offset the javascript and CSS there too. Good tip on Unicorn. Any benchmarks on the performance gain over Passenger+REE?
- anthony_franco 16y agoNot sure if there's any benchmarks out there. But I had your similar setup when my app went viral. Switching to Unicorn w/REE replaced an expensive engineyard setup. Learned about it from github (https://github.com/blog/517-unicorn https://github.com/blog/517-unicorn) But something you could do immediately to help with the load is to run haproxy on your current linode and funnel some of the traffic to a new linode that you spin up.