Scalability for Dummies: Le Cloud Blog
Scalability for Dummies - Part 1: Clones
Part 1 - Clones
Public servers of a scalable web service are hidden behind a load balancer.
every server contains exactly the same codebase and does not store any user-related data, like sessions or profile pictures, on local disc or memory.
Sessions need to be stored in a centralized data store which is accessible to all your application servers.
It can be an external database or an external persistent cache, like Redis.
Use ASW AMI.
http://www.lecloud.net/post/7994751381/scalability-for-dummies-part-2-database
No-join, use NO-SQL.
Scalability for Dummies - Part 3: Cache
Use Redis or Memcached.
#1 - Cached Database Queries
#2 - Cached Objects
I love the extra database-features of Redis like persistence and the built-in data structures like lists and sets.
Scalability for Dummies - Part 4: Asynchronism
Async #1
Pages of a website, maybe built with a massive framework or CMS, are pre-rendered and locally stored as static HTML files on every change.
Async #2
Try RabbitMQ or ActiveMQ.
Read full article from Scalability for Dummies: Le Cloud Blog
Part 1 - Clones
Public servers of a scalable web service are hidden behind a load balancer.
every server contains exactly the same codebase and does not store any user-related data, like sessions or profile pictures, on local disc or memory.
Sessions need to be stored in a centralized data store which is accessible to all your application servers.
It can be an external database or an external persistent cache, like Redis.
Use ASW AMI.
http://www.lecloud.net/post/7994751381/scalability-for-dummies-part-2-database
No-join, use NO-SQL.
Scalability for Dummies - Part 3: Cache
Use Redis or Memcached.
#1 - Cached Database Queries
#2 - Cached Objects
I love the extra database-features of Redis like persistence and the built-in data structures like lists and sets.
Scalability for Dummies - Part 4: Asynchronism
Async #1
Pages of a website, maybe built with a massive framework or CMS, are pre-rendered and locally stored as static HTML files on every change.
Async #2
Try RabbitMQ or ActiveMQ.
Read full article from Scalability for Dummies: Le Cloud Blog