Distributed Systems

CAP theorem!

March 29, 2020
Concept
Brewer's Theorem, CAP Theorem, Distributed Systems

Introduction In the last post I discussed why we need distributed systems and how to setup gearman on a cluster. In this post I’ll try to convince you that CAP theorem is indeed a “theorem”. Anyways, We like distributed systems!! (because they provide us the features that we really want) but…, Are they trivial to implement?. Words of Wisdom!! My colleague once said More code => More Complexity => More Monster Bugs => More Pain Fundamental Operations Let’s start with that, Initially we used to have a beautiful piece of machine having 8 cores, 16 gigs of memory, few hundread gigs of storage. ...

Distributed systems!

March 15, 2020
Concept
Distributed Systems, Gearman, Gearman Job Server

What are Distributed Systems? In the last post I gave a brief about the concept of parallel processing through some examples. Now we know how to make our systems more parallel in nature, I think it’s time learn the concept of distributed processing, how it’s different from parallel processing and how to integrate it in our existing projects. There are lots of definitions of Distributed System but I’ll give you the one I like the most which is obviously mine (HAHA). ...