Discover
Data Science Tech Brief By HackerNoon
Data Science Tech Brief By HackerNoon
Author: HackerNoon
Subscribed: 28Played: 255Subscribe
Share
© 2026 HackerNoon
Description
Learn the latest data science updates in the tech world.
267 Episodes
Reverse
This story was originally published on HackerNoon at: https://hackernoon.com/sampling-ad-exchange-events-at-scale-what-we-kept-what-we-dropped-and-why.
How we reduced Kafka stream volume by 80%, cut Spark workers from 240 to 30, and lowered reporting costs through sampling and executor tuning at Unity.
Check more stories related to data-science at: https://hackernoon.com/c/data-science.
You can also check exclusive content about #data-engineering, #apache-kafka, #apache-spark, #big-data, #data-pipelines, #adtech, #cloud-cost-optimization, #data-sampling-techniques, and more.
This story was written by: @vikrantbachhav. Learn more about this writer by checking @vikrantbachhav's about page,
and for more stories, please visit hackernoon.com.
At Unity, our ad exchange was processing approximately 10 GB of Kafka event data per second, much of which wasn't needed for downstream reporting. By introducing auction-level sampling, retaining critical events at full fidelity, and optimizing Spark executor configurations, we reduced stream volume by 80%, cut Spark workers from 240 to 30, and lowered DSP reporting transform costs by approximately 41%. Along the way, we uncovered longstanding reporting inaccuracies and learned why understanding data usage is just as important as optimizing infrastructure.
This story was originally published on HackerNoon at: https://hackernoon.com/83-blog-posts-to-learn-about-metrics.
Learn everything you need to know about Metrics via these 83 free HackerNoon blog posts.
Check more stories related to data-science at: https://hackernoon.com/c/data-science.
You can also check exclusive content about #metrics, #learn, #learn-metrics, and more.
This story was written by: @learn. Learn more about this writer by checking @learn's about page,
and for more stories, please visit hackernoon.com.
This story was originally published on HackerNoon at: https://hackernoon.com/why-your-python-cache-does-the-same-work-twice-ps-gil-wont-save-you.
Your Python cache can run the same work twice, even with the GIL. See the check-then-act race, the lru_cache gotcha, and how locks fix it.
Check more stories related to data-science at: https://hackernoon.com/c/data-science.
You can also check exclusive content about #python-programming, #python-threading, #race-conditions, #python-gil, #thread-safety, #python-concurrency, #hackernoon-top-story, and more.
This story was written by: @sohelalam79. Learn more about this writer by checking @sohelalam79's about page,
and for more stories, please visit hackernoon.com.
A cache that checks "is this key missing?" and then computes the value can run the same work many times when threads interleave, even with the GIL, because the GIL protects the interpreter, not your two-step logic. Hold one lock around the check and the work, ideally one lock per key.
This story was originally published on HackerNoon at: https://hackernoon.com/ai-assisted-reconciliation-of-enterprise-data-detecting-and-explaining-cross-platform-discrepancies.
Learn how deterministic checks and AI work together to detect data discrepancies, explain their causes, and simplify financial reconciliation.
Check more stories related to data-science at: https://hackernoon.com/c/data-science.
You can also check exclusive content about #data-engineering, #data-quality, #ai, #data-reconciliation, #lakehouse, #data-science, #data-regulations, #ai-assisted-reconciliation, and more.
This story was written by: @ajaysikharam. Learn more about this writer by checking @ajaysikharam's about page,
and for more stories, please visit hackernoon.com.
Learn how deterministic checks and AI work together to detect data discrepancies, explain their causes, and simplify financial reconciliation.
This story was originally published on HackerNoon at: https://hackernoon.com/repl-while-it-works-inspect-a-running-python-program-without-pausing-it.
Use the python REPL or debugger console while a program is running, without interrupting or pausing execution. Exploit threading multitasking.
Check more stories related to data-science at: https://hackernoon.com/c/data-science.
You can also check exclusive content about #python-programming, #python-developers, #repl, #python-pdb, #python, #python-inspection, #debugging, #coding, and more.
This story was written by: @dakra. Learn more about this writer by checking @dakra's about page,
and for more stories, please visit hackernoon.com.
Usually, without interrupting it, you cannot interactively debug, call functions in, or change the values of variables in a running python program. This article’s technique removes the limitation.







