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.

Husky, Datadog's Third-Generation Event Store

191 pointsby louis-paulabout 3 years ago

7 comments

rektideabout 3 years ago
Lovely read. Condensing some, there&#x27;s three node types in the system, writers, compactors, and readers.<p>&gt; <i>Writers read from Kafka, (briefly) buffer events in memory, upload events to blob storage in our custom file format, and then commit the presence of these new files to our metadata store.... Compactors scan the metadata store for small files generated by the Writers and previous compactions, and compact them into larger files.... The Reader (leaf) nodes run queries over individual files in blob storage and return partial aggregates, which are re-aggregated by the distributed query engine.</i><p>And then the meta-data supporting the system:<p>&gt; <i>Husky&#x27;s metadata store has multiple responsibilities, but its most important one is to serve as the strongly consistent source of truth for the set of files currently visible to each customer. We’ll delve into the details of our metadata store more in future blog posts, but it is a thin abstraction around FoundationDB, which we selected because it was one of the few open source OLTP database systems that met our requirements</i><p>There&#x27;s some nice scalability&#x2F;isolation benefits in this all. Having reader nodes reading from network storage has created a lot of flexibility &amp; ability to shift work around on demand.<p>Keeping all the metadata in FoundationFB is exciting, &amp; sounds like a great use case, for it&#x27;s safe transactional updates!
评论 #31418297 未加载
dikeiabout 3 years ago
It&#x27;s remarkable how the data pipeline in almost all companies converge to the same architecture:<p>* You have services emit data into streams.<p>* You dump the streams into your storage with high frequency so you can have near real-time result, this process will create many small files.<p>* Because small files are inefficient, you have compactors that run over the small files and merge them into bigger files, and&#x2F;or delete records that&#x27;s obsolete.<p>* You run a query engine that read over the small files and large files to get the final result.<p>* To speed up step 2,3,4 you store the metadata of the files in-memory &#x2F; in a database.
francoismassotabout 3 years ago
Nice article indeed, we ended up implementing the exact same architecture at Quickwit for... log search! :)<p><a href="https:&#x2F;&#x2F;twitter.com&#x2F;fulmicoton&#x2F;status&#x2F;1526776987553263616" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;fulmicoton&#x2F;status&#x2F;1526776987553263616</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;quickwit-oss&#x2F;quickwit" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;quickwit-oss&#x2F;quickwit</a>
ovaistariqabout 3 years ago
This is a great read, thanks for sharing the architecture. I am glad to see the increase in adoption of FoundationDB. It is a great piece of technology why is also why we are using it as a core component for Tigris <a href="https:&#x2F;&#x2F;docs.tigrisdata.com&#x2F;overview&#x2F;key-concepts" rel="nofollow">https:&#x2F;&#x2F;docs.tigrisdata.com&#x2F;overview&#x2F;key-concepts</a>
bdcravensabout 3 years ago
Has Datadog come up with a new generation of sales approaches? I (and many others, according to the discussion when the topic comes up) have had bad experiences.
评论 #31418982 未加载
评论 #31425598 未加载
评论 #31419142 未加载
评论 #31418054 未加载
peter_l_downsabout 3 years ago
Nice read, but I was hoping they’d say that it led to a big improvement in their log searching syntax&#x2F;ui. It seems impossible to just full text search for a string and find log lines that have a value containing that text. Drilling down through the “details” pane and clicking filter&#x2F;match&#x2F;exclude works well, but general searching is too confusing for me to figure out, if it even works at all.
blaisioabout 3 years ago
One could argue that all they did was move most of the complicated logic into the blob store. Not that it&#x27;s a bad thing.