Ruby on rails paperclip watermark

Scaling – Rails has a stigma of being unable to scale and they are referring to Twitter dumping Rails. We have not found any scaling issues with Rails and we have applications that run with millions of pageviews and hundreds of thousands of users each month. The fact is, majority of you will never have the scaling problems that Twitter had. And…in fact, we found it easier to scale with Rails than with PHP. How? First of all, Rails supports caching out of the box . You’re able to do view fragment caching within your application code and use Redis as a cache store. That is a far simpler solution than trying to use Varnish which caches everything that goes through it and leaving logged-in users without caching. Using built-in Rails caching enabled us to scale easily. Secondly, Rails + Capistrano + Chef makes it very simple to scale to multiple server environments very quickly. Our typical Amazon AWS infrastructure includes Elastic Load Balancer, several application server instances + a redis/search server, backed by an RDS database instance. We set up server provisioning with Chef, enabling us to provision a new ready-to-run instance in minutes. Simultaneous deployment complete with data migrations can be done with Capistrano from the command line. Literally, I type in cap production deploy:migrations and everything is magically deployed to all our application servers. Users don’t see any downtime as we have Phusion Passenger Enterprise and rolling restarts.

Ruby on rails paperclip watermark

ruby on rails paperclip watermark

Media:

ruby on rails paperclip watermarkruby on rails paperclip watermarkruby on rails paperclip watermarkruby on rails paperclip watermark