I think storage choices can shape a product’s design and competitive position: the key question is whether the data layer serves users’ needs or constrains what the product can become. My experience with Honeycomb’s custom engine, honeycomb custom storage, and my views on rich event data, rich wide event data, inform this perspective.
I say the most existential risk is that your product may deform to fit the capabilities and limitations of your data layer, not the needs of your users.
I say this risk is less acute when your product is highly abstracted away from your data layer.
I think this risk is also less acute when a product’s data model is boring and generic; my advice is, “Be boring, if you can!”
I say that when your competitive edge depends on novel or highly differentiated tricks with data, it's a pretty big risk.
I said if clickhouse had existed, we absolutely would have built on it.
I said, “I'm so, so grateful it wasn't/we didn't. We accidentally did the right thing.”
I say Retriever is a custom-built storage engine; it's a massive differentiator for us, and a huge competitive advantage. I said, “We LOVE it.”
I got an unusual # of replies to that thread, with people confidently predicting that we would eventually end up on ClickHouse.
I found the predictions entertainingly off base, and said they made me feel better.
I feel sheepish sometimes about making the right call purely by accident.
I never would have predicted all the many ways our storage layer has redounded to our advantage.
I find it perversely consoling that the value of our storage-layer approach remains non-obvious to many smart people, even after we built it.
I say one advantage of our storage layer is scale.
I say one advantage of our storage layer is cost.
I say one advantage of our storage layer is speed of development.
I say one advantage of our storage layer is speed of execution.
I say one advantage of our storage layer is product flexibility.
I say one advantage of our storage layer is e2e product ownership.
I said that none of this is about casting shade on clickhouse; several observability startups and in-house solutions have used it, and I hope to see many more.
I say a major risk is hitching the future of your product to functionality that isn't widely used or supported.
I would love to do an indepth comparison of honeycomb + CH, side by side, if I can find the time.
At Parse, with MongoDB, I had constant stress around indexes while we ran hundreds of thousands of collections per replSet.
At Parse, we were automatically generating new indexes any time someone ran a new query on a collection.
I said deleting some indexes also caused problems.
I said schema collections helped.
At Parse, we ran into so many replication bugs and query planner bugs that no one else in the world ever saw, because we had so many indexes.
- I say our storage layer has brought advantages in scale, cost, speed of development, speed of execution, product flexibility, and end-to-end product ownership.
Herman Langner said his team spent about six months looking for a database that met their requirements.
Herman Langner said ClickHouse met 80% of his team's requirements after some design changes.
I report that Herman Langner said pairing ClickHouse with Postgres and a different architecture worked well: “is great.”