Hacker Newsnew | past | comments | ask | show | jobs | submit | zX41ZdbW's commentslogin

Just another attempt to implement something like ClickHouse.

We've embedded the SSH protocol in ClickHouse server, so you can connect with

    ssh play.clickhouse.com
and work in the same way as you do with clickhouse-client.

I have a demo service that entirely relies on Firecracker VMs: ClickBench playground, https://benchmark.clickhouse.com/playground/

It hosts hundreds of database engines - many of them have vulnerabilities, and some of them, like Pandas, are basically open RCEs regardless.

We can PoC the Firecracker VM Escape on that service.


  > "run SQL against 110+ databases"
This is one of the most useful web tools I've ever seen.

I work on connectors for datasources (mostly DB's. Being able to quickly test things like sorting behavior and how the same function can be emulated across DB's would have made my life so much easier.


> We can PoC the Firecracker VM Escape on that service.

Does this mean you ran the exploit on your service and confirmed it worked? If so, why would you be advertising this, lol. Unless you've already patched?


No, I want you to try this exploit.


My colleague analyzed their ClickBench submission on May 3rd and concluded that:

- "This is probably the most sophisticated spam attempt in ClickBench so far"

- "Unless someone tells me otherwise, I assume ParticleDB is fake."


Previous attempts were strange, to say the least: https://github.com/ClickHouse/ClickBench/pulls?q=is%3Apr+par...


We are building our compiler and the entire LLVM toolchain with PGO, and it gives a solid 20..30% improvement in build speed*. At the same time, building ClickHouse with PGO does not give any meaningful improvement.

* https://github.com/ClickHouse/ClickHouse/pulls?q=is%3Apr+sta...


Also works fairly well for Hadamard-rotated embeddings, as demonstrated here: https://embeddings.info/


This is quite an old technique. In ClickHouse, it appeared before it was named "shredding": https://github.com/ClickHouse/ClickHouse/issues/54864


On the flipside, I just submitted https://news.ycombinator.com/item?id=50187394 which it looks like ClikcHouse actually copied (with attribution) in https://github.com/ClickHouse/ClickHouse/pull/119230, very cool to see ideas percolating like this!


Thanks!


Author here. Very cool to see you commenting here, ClickHouse is such an amazing system!

But yes, what's old is new. I didn't mean to claim we invented this technique. I actually cited ClickHouse's article (https://clickhouse.com/blog/a-new-powerful-json-data-type-fo... in the article) in the post :

> Our shredded data layout predates both the Parquet Variant type and ClickHouse's JSON support but is very similar to these approaches.

I said _predates_ based on when the article I cited came out, but based on your linked PR it sounds you landed it earlier than I thought, I'll remove the wording. I'm not sure where we originally got the idea from or where it comes from, I recall hearing the Databricks and BigQuery folks sharing similar ideas around the same time. Do you recall where the idea originated / where did you first see it? Happy to include that in the article!

Most of our work went into making the technique work w/ Parquet in object storage queried with DataFusion. We had to rewrite big chunks of the Parquet scanning machinery, filter pushdown optimizers, etc.

Long term we're going to move a lot of this to the now "standard" Variant data type, which we are partially responsible for bringing into the Rust / DataFusion ecosystem.


I have a similar project (which I created in 2024): https://adsb.exposed/

Among various datasets, it has OSM data (all of it): https://adsb.exposed/?dataset=OSM&zoom=4&lat=52.3756&lng=2.5...

And here are lighthouses: https://adsb.exposed/?dataset=OSM&zoom=3&lat=40.0444&lng=9.9...


ClickHouse has been tested with jemalloc, mimalloc, tcmalloc (both variants), rpmalloc, lfalloc, hualloc, and ended up using jemalloc after a few patches and bug fixes.


a while back, our tests with a proprietary app led us to tcmalloc (new).

https://news.ycombinator.com/item?id=47403847


Lfmalloc? Humalloc?

I am intrigued.

Is there a source for them?



Thank you, very much so.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: