O'Reilly logo

Distributed Computing with Go by V.N. Nikhil Anurag

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The database

We have been scaling the application/blog server and seen how to scale the server vertically and horizontally, and how to factor multiple zones and regions for high availability and performance of the overall system.

You may have noticed in all of the previous designs that we still relied on a single database instance. By now, you may have realized that having a single instance of any service/server can become a single point of failure and may bring the system to a complete standstill.

The tricky part is that we cannot use the straightforward strategy of running multiple database instances as we did for the application server. We were able to use this strategy for application server because the application server is responsible ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required