Scalability: How we build scalable web applications based on a NoSQL database architectur

preview_player
Показать описание
Scalability is vital when large numbers of users and a huge amount of data have to be served during peak times.

On Facebook, Twitter & Co a few things have to be done differently than with traditional web applications where we have a user, a web server, an application server as well as a database server.

When the number of requests increases then the problem with scalability almost always resides with the database. Of course a cluster of DB-servers will solve the bottleneck problem for a while.
But a DB cluster solution is quite expensive compared to a real scalable solution.

When the load cannot be predicted, you have to build the application so that the database won´t become the bottleneck.

Therefore, you typically move the application into the cloud. When there are more users, there are more requests. When there are more requests, you can quickly add more servers.

When SQL databases reach their, you should change your architecture early enough towards NoSQL databases. Only use SQL databases for things that need to be transactional and store and retrieve other data from NoSQL databases.

We have done that for example for "Laumex" where millions of spare parts with a value of many billion euros can be searched quickly. We were able to achieve following features for "Laumex" by using a NoSQL--database:

• Fast database for millions of different parts
• Interfaces to more than 10 different external system
• Varied, intuitive and fast search capabilities

This example shows how to prepare your web application for an unpredictable user request building it on a smart scalable solution.

We are Catalysts, software is our passion!

Рекомендации по теме