Ask HN: When do you choose RDBMS read replica over ElasticSearch and vice-versa?

https://news.ycombinator.com/item?id=25793896
by sirkarthik • 6 years ago
1 0 6 years ago

One of my clients sync PostgreSQL DB (RDBMS) data with ElasticSearch. Because of DB overload, they have started migrating big SELECT queries (that have joins and aggregations in it) to APIs that read data from ElasticSearch.

Is this not an anti-pattern? Isn't it easier and nicer to read this data from PostgreSQL Read Replica instead of reading from ElasticSearch??

Related Stories

Loading related stories...

Source preview

news.ycombinator.com