Is there a good general purpose solution where I can store a large read only database in s3 or something and do lookups directly on it? Duckdb can open parquet files over http and query them but I found it to trigger a lot of small requests reading bunch of places from the files. I mean a lot. I mostly need key / value lookups and could potentially store each key in a seperate object in s3 but for a couple hundred mi…
ClickHouse can also read from S3. I'm not sure how it compares to DuckDB re efficiency, but it worked fine for my simple use case.
Turbopuffer: Fast search on object storage
21–30 of 68 posts
Re: Turbopuffer: Fast search on object storage
#22Is there a good general purpose solution where I can store a large read only database in s3 or something and do lookups directly on it? Duckdb can open parquet files over http and query them but I found it to trigger a lot of small requests reading bunch of places from the files. I mean a lot. I mostly need key / value lookups and could potentially store each key in a seperate object in s3 but for a couple hundred mi…
Simon Willison wrote about it: https://simonwillison.net/2022/Aug/10/sqlite-http/
Re: Turbopuffer: Fast search on object storage
#23Re: Turbopuffer: Fast search on object storage
#24Am I alone in this?
In any case this seems like a pretty interesting approach. Reminds me of Warpstream which does something similar with S3 to replace Kafka.
Re: Turbopuffer: Fast search on object storage
#25Unrelated to the core topic, I really enjoy the aesthetic of their website. Another similar one is from Fixie.ai (also, interestingly, one of their customers).
Re: Turbopuffer: Fast search on object storage
#26Unrelated to the core topic, I really enjoy the aesthetic of their website. Another similar one is from Fixie.ai (also, interestingly, one of their customers).
Re: Turbopuffer: Fast search on object storage
#27Sounds like a source-unavailable version of Quickwit? https://quickwit.io/
LSM tree storage engine vs time series storage engine, similar philosophy but different use cases
Re: Turbopuffer: Fast search on object storage
#28It doesn't have to be that way.
At Hetzner I pay $200/TB/month for RAM. That's 18x cheaper.
Sometimes you can reach the goal faster with less complexity by removing the part with the 20x markup.
Re: Turbopuffer: Fast search on object storage
#29Earlier quoted context omitted.
ClickHouse can also read from S3. I'm not sure how it compares to DuckDB re efficiency, but it worked fine for my simple use case.
Neither of these support indexes afaik. They are designed to do fast scans / computation.
Right now one of the main performance problems is that Clickhouse does not cache index metadata yet, so you still have to scan files rather than keeping the metadata in memory. ClickHouse does this for native MergeTree tables. There are a couple of steps to get there but I have no doubt that metadata caching will be properly handled soon.
Disclaimer: I work for Altinity, an enterprise provider for ClickHouse software.