eng.age

Malloc Lives In Userspace (and why you care)

Python, Ruby and Java handle memory management for us. Containerization and “serverless” operation let us do more and more on a single server, and work at ever higher levels of abstraction. But they don’t actually make the server underneath go away and the nitty gritty details of kernels, memory allocation, and storage can still ruin your day. Learn a few lessons about memory based on experiences running a CDN at a scale large enough to serve Tbps of traffic.

Continue Reading

So you think you can core?

    Segmentation fault (core dumped)

Bad luck: Your software just crashed. It happens to all of us, and when it does Linux will write a core dump file with some information about what was happening in the address space of the program when it crashed. If you are feeling a little adventurous, you can do some fun and interesting things with exactly how and where those cores get dumped.

Continue Reading