Understand Your Data
summary
Claim: converting text/Java objects to compact binary layouts cuts memory and deserialization cost massively. Uses Java lambdas, custom binary layout, JMH microbenchmarks, Spark integration and real-world finance work (c24 code now with Gresham). Measured: typical Java row goes 328 bytes vs 40 bytes, full-run deserialization drops from ~200s to ~40s with two half‑second GC pauses removed, and microbench shows ~1,000x faster deserialization in hotspots. Built a code generator + binary serializers that run, scale and reduce cluster footprint.
AI-written summary · about
chapters (6)
- 0:00Start
- 6:26Why do we distribute? If the task in question is a simple mathematical calculation we can easily distribute it with little impact
- 27:35IN-MEMORY CACHES If you use an in-memory cache then you're most likely suffering from the same problem
- 35:49Compare classic Java binding to binary
- 41:41Serialization & Deserialization Writing a Java Object as a serialized stream is slow
- 46:34Binary with Spark Compare the red (cached memory) and there's no difference but compare cached disk
