flâneur — a map of the web's best reading

Nobody ever got fired for using a struct

feldera.com · 2,237 words · saved by 1 readers

Rust struct serialization problem caused by many nullable SQL columns.

When a few variables belong together, we put them in a struct. Programmers do this automatically without thinking about it much. And most of the time it's the right choice. Structs are simple, fast, and predictable. But once in a while they break down. This is the story of one of those cases. How it started One of our customers reported a strange performance problem. A new use case processed about the same amount of data as their existing pipelines, but it ran much slower. That was unusual. Our engine normally keeps up with the data customers send. So we felt compelled to take a closer look. H

Explore this link on the map →

saved by

related reading