We've been talking about replication log and change stream, especially in the previous article. This is the mechanism the leader uses to communicate changes to the followers. As you can imagine, there are different implementations with their advantages and disadvantages, and it's important to understand the way changes flow from
In the previous article we learned the basics of replication and why is it useful to learn about it.
We also learned about leader/follower replication. We select a replica to be the leader and clients will only be able to send writes to this replica. After a write is
Replication is the process by which data is copied, stored and kept up-to-date across different data storage systems.
Most of the theory behind replication has existed since the '70s. With the advent of cloud computing and distributed databases, this information has become more important than ever for professional software engineers.
Depend on behavior, not on data
This is one of the most powerful pieces of advice in OO programming I've ever received.
It means that objects shouldn't be seen just as a collection of data structures. Instead, you should visualize them as software entities that can respond to messages and