Example Architectures for Data-Intensive Applications

DZone 's Guide to

Example Architectures for Data-Intensive Applications

Taking architectural examples from the book Designing Data-Intensive Applications, this article looks at how adding Couchbase simplifies architecture.

· Database Zone ·
Free Resource

...a drawing should have no unnecessary lines and a machine no unnecessary parts. - William Strunk Jr., Elements of Style

In the book Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems, Martin Kleppmann has written about traits and trade-offs of elements of data infrastructure for modern applications. In that book, he has drawn "Figure 1-1. One possible architecture for a data system that combines several components". This is an exploration that example and possible architecture with Couchbase.

Figure 1 below is the architecture from the book. 

Sample architecture

Let's use a modern database like Couchbase which simplifies the infrastructure by providing scalable Cache, Database, Search, and Event processing within the same product. One bye one, we can replace each independent component with a scalable feature in Couchbase feature ( in red  ).

Modified architecture

Let's remove the unnecessary parts to get the new architecture.

Revised image

Example 2: I've added an additional common use case: data analysis and DataViz.

Adding data analysis

After using the same technique to use Couchbase and remove unnecessary components, we get this:

Adding Couchbase

Again, let's remove the unnecessary parts to get the new architecture. Here, we've exploited the Analytics service available within Couchbase.

Revised architecture

This doesn't mean everything can be simply rearchitected to use one or two products. The tendency of any infrastructure is to increase complexity. More components will increase complexity. This is a guide to continuously add, remove, and refactor the components to meet your business objective and to fight complexity.

architecture, big data, couchbase, data intensive, software architecture

Published at DZone with permission of Keshav Murthy , DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}