Hadoop is for processing huge amounts of data to calculate a few stats. ElasticSearch beats everything else on lookup through indexes, and is particularly irreplaceable for text search. ‘NoSQL’ isn't one thing. But e.g. Redis has data structures that relational-db admins haven't seen even in their dreams, and works wonders when you tailor the data scheme to the queries — as one should. It has built-in Bloom filters! I really wish there was an on-disk db with Redis' structures.
Key-value or document dbs are great if the query by the id is prevalent, and you don't want to wait for the db to add a column each time you add some functionality. E.g. for the user's main data that you query on each page load.
People really need to learn to use tools best fitting for the job.
View all comments
Show parent comment
2
u/LickingSmegma Oct 19 '24 edited Oct 19 '24
Hadoop is for processing huge amounts of data to calculate a few stats. ElasticSearch beats everything else on lookup through indexes, and is particularly irreplaceable for text search. ‘NoSQL’ isn't one thing. But e.g. Redis has data structures that relational-db admins haven't seen even in their dreams, and works wonders when you tailor the data scheme to the queries — as one should. It has built-in Bloom filters! I really wish there was an on-disk db with Redis' structures.
Key-value or document dbs are great if the query by the id is prevalent, and you don't want to wait for the db to add a column each time you add some functionality. E.g. for the user's main data that you query on each page load.
People really need to learn to use tools best fitting for the job.