advertise
« Stuff The Internet Says On Scalability For June 1, 2012 | Main | The Anatomy of Search Technology: Crawling using Combinators »
Wednesday
May302012

Strategy: Get Servers for Free and Make Users Happy by Turning on Compression

Edward Capriolo has a really interesting article on his dramatic performance expanding experience of turning on compression for Cassandra. The idea:

  • Enabling compression shrunk 71GB of data down to  31GB, which caused more data to fit in RAM, which reduced disk IO to nearly nothing.
  • Compression means more data can be stored, which is like buying more machines without having to spend more money.
  • Compression means serving more data out of RAM, which means clients are happier because of the performance improvements.
  • The cost is higher CPU usage to perform the encrypt/decrypt. But disk IO is orders of magnitude slower than decompression and most servers have CPU to burn.

Edward's article is well written, has the specifics on how to turn on compression for Cassandra, pretty graphs, and lots more details.

Reader Comments (3)

More data or index keys fit in RAM?

May 30, 2012 | Unregistered CommenterMani

Hey, there's nothing in there about getting servers for free =[

May 30, 2012 | Unregistered CommenterJustin Rovang

Compress/decompress, not encrypt/decrypt.

May 30, 2012 | Unregistered CommenterJosiah C.

PostPost a New Comment

Enter your information below to add a new comment.
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>