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

Separate layers for the web and database

If we take the three issues stated earlier, we can solve each of them in one or two ways. Let's look at them first:

Issue #1: Out of memory

Solution:

  • Due to the database: Increase RAM for the database
  • Due to the blog server: Increase RAM for the blog server

Issue #2: Performance degradation

Solution:

  • Due to the database: Increase the CPU power for the database
  • Due to the blog server: Increase the CPU power for the blog server

Issue #3: Out of storage space

Solution:

  • Due to the database: Increase the storage space for the database

Using this listing, we can upgrade our system as and when required for a particular problem we are facing. However, we first need to correctly identify the component ...

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