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
113. Benefits
Easy management
Ability to stop / start servers quickly
Responsibilities are separate
Quickly move to a new cluster
Thursday, 19 May 2011
114. Benefits
Easy management
Ability to stop / start servers quickly
Responsibilities are separate
Quickly move to a new cluster
Reduced risk
Thursday, 19 May 2011
154. Your Client Code
Gearman Client API
(C, PHP, Perl, MySQL UDF, ...)
Gearman Job Server
gearmand
Gearman Worker API
(C, PHP, Perl, Python, ...)
Your Worker Code
Your App Gearman
Thursday, 19 May 2011
200. Map
Master gets a problem to solve
Breaks into multiple sub-problems
Thursday, 19 May 2011
201. Map
Master gets a problem to solve
Breaks into multiple sub-problems
Distributed to multiple workers
Thursday, 19 May 2011
202. Map
Master gets a problem to solve
Breaks into multiple sub-problems
Distributed to multiple workers
A worker can take the same steps
Thursday, 19 May 2011
203. Map
Master gets a problem to solve
Breaks into multiple sub-problems
Distributed to multiple workers
A worker can take the same steps
Answer passed back to Master
Thursday, 19 May 2011