This video describes some of the common problems in distributed systems.

You might get an idea about how complicated building such systems is, outlet iphone 8 case and also a few ways of thinking about them,