Pragmatic Programming Techniques: Scalable System Design Patterns
Friday, October 15, 2010 Scalable System Design Patterns Looking back after 2.5 years since my previous post on scalable system design techniques , I've observed an emergence of a set of commonly used design patterns. Here is my attempt to capture and share them. Load Balancer In this model, there is a dispatcher that determines which worker instance will handle the request based on different policies. The application should best be "stateless" so any worker instance can handle the request. This pattern is deployed in almost every medium to large web site setup. Scatter and Gather In this model, the dispatcher multicast the request to all workers of the pool. Each worker will compute a local result and send it back to the dispatcher, who will consolidate them into a single response and then send back to the client. This pattern is used in Search engines like Yahoo, Google to handle user's keyword search request ... etc. Result Cache In this model,Read full article from Pragmatic Programming Techniques: Scalable System Design Patterns
No comments:
Post a Comment