Many services / applications now a day are ill equipped with handling a sudden rush of popularity, as is often the case on the internet now a days, to a point where the services either become unavailable or unbearably slow.
By taking a chapter from the ant colonies in the wild, where their strength lies in their numbers and the fact that everyone works together towards the same goal, we can apply the same principle to our service by using systems such as
- gearman
- memcache
- daemons
- message queues
- load balancers
and many more, you can achieve greater performance, more redundancy, higher availability and have the ability to scale your services up and down as required easily.
During this talk attendees will be lead through the world of distributed systems and scalability, and shown the how, where and what, of how to take the average application and splitting it into smaller more manageable pieces
82. Benefits
Easy management
Saturday, 14 May 2011
83. Benefits
Easy management
Ability to stop / start servers quickly
Saturday, 14 May 2011
84. Benefits
Easy management
Ability to stop / start servers quickly
Responsibilities are separate
Saturday, 14 May 2011
85. Benefits
Easy management
Ability to stop / start servers quickly
Responsibilities are separate
Quickly move to a new cluster
Saturday, 14 May 2011
86. Benefits
Easy management
Ability to stop / start servers quickly
Responsibilities are separate
Quickly move to a new cluster
Reduced risk
Saturday, 14 May 2011
95. Solutions
Store sessions in DB / Memcache
Saturday, 14 May 2011
96. Solutions
Store sessions in DB / Memcache
Use S3 to store uploaded files
Saturday, 14 May 2011
97. Solutions
Store sessions in DB / Memcache
Use S3 to store uploaded files
Use networked Memcache
Saturday, 14 May 2011
98. Solutions
Store sessions in DB / Memcache
Use S3 to store uploaded files
Use networked Memcache
Serve up static files from a CDN
Saturday, 14 May 2011
99. Solutions
Store sessions in DB / Memcache
Use S3 to store uploaded files
Use networked Memcache
Serve up static files from a CDN
Or... A multi domain solution
Saturday, 14 May 2011
123. Your Client Code
Gearman Client API
(C, PHP, Perl, MySQL UDF, ...)
Your App Gearman Job Server Gearman
gearmand
Gearman Worker API
(C, PHP, Perl, Python, ...)
Your Worker Code
Saturday, 14 May 2011