TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Storage for Raw HTML? ElasticSearch or Something Else?

2 pointsby gerenukalmost 8 years ago
Hi,<p>I am working on a project where we need to store the response of a web page and have later on do the data processing such as NLP tasks, topic modeling, sentiment analysis etc.<p>The average content&#x2F;documents we are expecting is around 1-2 million per day, and soon that will be increasing to 10-20 million.<p>For this kind of data storage what do you suggest? Is ElasticSearch better for this kind of stuff or should we use HDFS&#x2F;Ceph etc. for the storage?<p>Currently, we are using mongodb for persistent storage and ElasticSearch for indexing the data and serving that to our frontend but if some better option is available we can look into that as we are restructuring our most of the architecture and data pipeline.<p>Any kind of help&#x2F;suggestion will be appreciated.<p>Thanks<p>P.S If someone can share some insights what kind of possible architecture does the brandwatch.com, mention.com or ahrefs.com got for their data pipeline would be really helpful.

1 comment

twobyfouralmost 8 years ago
For that volume, I would dump the data to disk somewhere (even if &quot;somewhere&quot; is S3). Load it up to extract the actually relevant data, and index that into whatever data store is most efficient for the types of queries you&#x27;ll be doing.<p>Relational is most effective for aggregates; MongoDB is good for stable document storage; Elasticsearch is less stable but good for fast search, especially full-text, stemming, and &quot;fuzzy&quot; or weighted searches. It may also be sensible to index your data into multiple databases so you can query it efficiently in different ways for different purposes.