Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Book Review: 'Scalability Rules: 50 Principles for Scaling Web Sites'

DZone's Guide to

Book Review: 'Scalability Rules: 50 Principles for Scaling Web Sites'

· Java Zone
Free Resource

Microservices! They are everywhere, or at least, the term is. When should you use a microservice architecture? What factors should be considered when making that decision? Do the benefits outweigh the costs? Why is everyone so excited about them, anyway?  Brought to you in partnership with IBM.

I absolutely love Technical Architecture. It is something that requires high standards in engineering to do well.   In 'Scalability Rules', Martion Abbott and Michael Fisher list 50 tips where each tip communicates a simple or sophisticated idea in a few short pages. Their ideas are based from real world experience of working with over 200 internet architectures.

Performance and its cousin Scalability are always an important part of any software architecture and while some cynics will say some of the tips in this book are common sense, there's plenty of really good advice that if adhered to they would certaintly lower the probability of scalability issues which are nearly inevitable at some stage in the life of a project.

Among my favourites tips:
  • Put Object caches on their own tier. This makes it easier to size their hardware needs - object caches typically need a lot of memory.
  • Pass on multi-phase commits if possible as they are difficult to scale.
  • Smart reminders when it is really important to use aschronous models (integrating with 3PP frameworks, when there is a temporal constraint).
I wouldn't just recommend individuals to read this book, I would recommend teams. Some important ideas such as spliting up system processing by something like customerId are given concrete names such as Z-Axis splits. The would help teams speak start speaking the same language when communicating ideas. It would help to remind teams that some simple things such as using logfiles, monitoring your system and not relying on QA to find faults are very important and should not be forgotten.

In summary, there are not too many good books on software architecture and this is certainly one of the best I have read. I have already read parts of it 3 times and I am sure I will be referring to parts of it again.

Discover how the Watson team is further developing SDKs in Java, Node.js, Python, iOS, and Android to access these services and make programming easy. Brought to you in partnership with IBM.

Topics:

Published at DZone with permission of Alex Staveley, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}