25 May 2013

The Ruby Reflector

Search

General Chicken

  Source Favicon
Email

In a great article, Amazon S3 Performance Tips & Tricks , Doug Grismore, Director of Storage Operations for AWS, has outed the secret arcana normally reserved for Premium Developer Support customers on how to really use S3:

Size matters . Workloads with less than 50-100 total requests per second don't require any special effort. Customers that routinely perform thousands of requests per second need a plan.

Automated partitioning . Automated systems scale …

highscalability.com Read
  Source Favicon
By General Chicken of High Scalability over 1 year ago.
Email

99designs is a crowdsourced design contest marketplace based out of Melbourne Australia. The idea is that if you have a design you need created you create a contest and designers compete to give you the best design within your budget.

If you are a medium sized commerce site this is a clean example architecture of a site that reliably supports a lot of users and a complex workflow on the cloud. Lars Yencken wrote a nicely written overview of the architecture behind 99designs in …

highscalability.com Read
  Source Favicon
By General Chicken of High Scalability over 1 year ago.
Email

Jeremiah Peschka with a great a set of Notes on Scalability , just in case you do reach your wildest expectations of success:

Build it to Break . Plan for the fact that everything you make is going to break. Design in layers that are independent and redundant.

Everything is a Feature . Your application is a set of features created by a series of conscious choices made by considering trade-offs.

Scale Out, Not Up . Purchasing more hardware is easier than coding and managing horizontal resources.

highscalability.com Read
  Source Favicon
By General Chicken of High Scalability over 1 year ago.
Email

Srinath Perera has put together a strong list of architecture patterns based on three meta patterns: distribution, caching, and asynchronous processing. He contends these three are the primal patterns and the following patterns are but different combinations:

LB ( Load Balancers) + Shared nothing Units . Units that do not share anything with each other fronted with a load balancer that routes incoming messages to a unit based on some criteria.

LB + entity_5 …

highscalability.com Read
  Source Favicon
By General Chicken of High Scalability over 1 year ago.
Email

In How to launch in a month and scale to a million users , Joseph Perla , Former VP of Technology and founding team of Turntable.fm, shares techniques he used to build and quickly scale his startups. The post is very well written and a must read. Here are the essentials:

Keep it simple. Build API's before making the website or mobile apps. Keep interfaces small and single-purpose.

Get it right. Build in automated tests from the start. Create function tests, …

highscalability.com Read
  Source Favicon
By General Chicken of High Scalability over 1 year ago.
Email

Sean Hull with two helpful posts:

5 Things That are Toxic to Scalability :

Object Relational Mappers. Create complex queries that hard to optimize and tweak.

Synchronous, Serial, Coupled or Locking Processes. Locks are like stop signs, traffic circles keep the traffic flowing. Row level locking is better than table level locking. Use async replication. Use eventual consistency for clusters.

One Copy of Your Database. A single database server is a choke point. …

highscalability.com Read
  Source Favicon
By General Chicken of High Scalability over 1 year ago.
Email

Jared Rosoff concisely, effectively, entertainingly, and convincingly gives an 8 minute MongoDB tutorial on scaling MongoDB at Scale Out Camp . The ideas aren't just limited to MongoDB, they work for most any database: Optimize your queries; Know your working set size; Tune your file system; Choose the right disks; Shard. Here's an explanation of all 5 strategies:

highscalability.com Read
  Source Favicon
By General Chicken of High Scalability almost 2 years ago.
Email

Sean Hall with some really good MySQL advice :

Tune those queries . Biggest bang for your buck. Enable the slow query log and watch it. Once you've found a heavy resource intensive query, optimize it! Tune what receives real-world traffic.

Employ Master-Master Replication . Immediately have a read-only slave for your application to hit as well.

Use Your Memory . Set innodb_buffer_pool_size, key_buffer_size and other key options.

highscalability.com Read
  Source Favicon
By General Chicken of High Scalability almost 2 years ago.
Email

In How to take advantage of Redis just adding it to your stack Salvatore ' antirez' Sanfilippo shows how to solve some common problems in Redis by taking advantage of its unique data structure handling capabilities. Common Redis primitives like LPUSH, and LTRIM, and LREM are used to accomplish tasks programmers need to get done, but that can be hard or slow in more traditional stores. A very useful and practical article. How would you accomplish these tasks in your framework?

highscalability.com Read
  Source Favicon
By General Chicken of High Scalability 2 years ago.
Email

The most common complaint against NoSQL is that if you know how to write good SQL queries then SQL works fine. If SQL is slow you can always tune it and make it faster. A great example of this incremental improvement process was written up by StackExchange's Sam Saffron, in A day in the life of a slow page at Stack Overflow , where he shows through profiling and SQL tuning it was possible to reduce page load times from 630ms to 40ms for some pages and for other pages the improvement was 100x.

highscalability.com Read