Ask HN: What is the best data storage solution for BIG data and fast queries?
I'm working with a client now that has a very large Postgres database. It is currently in the terabyte range but needs to support petabytes.
What is the best solution for storing this data that is fast and supports very large datasets?
For context the product competes in a geo-spatial market and loads GPS data from a large number of vehicles that are updating every 5-10 seconds.
We are considering Apache Pino but I am curious what the HN community would recommend here.
Thank you for any input!!
10 comments
[ 2.4 ms ] story [ 38.6 ms ] thread> the product competes in a geo-spatial market and loads GPS data from a large number of vehicles that are updating every 5-10 seconds
There are multiple companies from this field that are using ClickHouse: https://clickhouse.com/docs/en/introduction/adopters/
They allow you to store huge amounts of data, and as long as you design the primary key properly, allow you to make really fast queries to find the needle in the haystack (milliseconds) as well.
There are some tradeoffs of course: most engineers I've worked with who come from RDBMS to these tools find the lack of first-class support for secondary indices and SQL or SQL-like queries to be a bummer.
It's easy to use too and its version of SQL is quite powerful.
On AWS, there is Athena which works on data stored in S3 and has the same processing price as BigQuery ($5/TB.) However, from my experience, I recommend BigQuery.
Not affiliated, but I know people who work there.
Read from ram, journaled writes to disk is pretty scalable.