, 9 tweets, 2 min read Read on Twitter
Elasticsearch is a great example of a modern monolithic application: github.com/elastic/elasti…

Here's what makes it so: 👇
1. One Repo:

▶️ git clone github.com/elastic/elasti…

And you get all the source code on your laptop, in one IDE window.
2. One build artifact:

▶️ ./gradlew assemble

And you get a single file to distribute the entire app.
3. One process:

▶️ ./elasticsearch

And you get the app running on your laptop, with all functionality inside a single process.
4. Runs locally:

▶️ curl http://localhost:9200/

All functionality is available locally on your laptop. You can attach a debugger and break on any line of code anywhere in the app.
5. Scales horizontally:

▶️ ./elasticsearch # on another computer

Start the app on another computer on the same network, and a cluster will automatically form between the two processes. Repeat to add more nodes.
6. Specialized runtime modes:

While each node can handle all functions, the cluster can make certain nodes handle only one specific function (ingestion, storage, querying, etc). This is useful for running the app on optimal hardware without breaking it in independent components.
7. One version:

You're always interacting with one well-defined version of the app, unlike an app composed of many independently-deployable microservices.
8. One deployment pipeline:

A deployment is just a version upgrade for the entire app. And a rollback is just a version downgrade. Every deployment updates all nodes. There are no separate components to worry about being compatible with each other.
Missing some Tweet in this thread?
You can try to force a refresh.

Like this thread? Get email updates or save it to PDF!

Subscribe to Daniel Vassallo
Profile picture

Get real-time email alerts when new unrolls are available from this author!

This content may be removed anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Follow Us on Twitter!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!