~/talk

Lessons I learn from improving legacy product and doubling its performance

Talkat Core C++ 2023 · 2023-06-05..06-07· [c-and-cpp]
links:none on file
slides:none on file

An embedded central unit that used to crash around 5,000 endpoints reaches stable support for 10,000 endpoints with no resets and no data loss. Fixes are concrete: a load simulator that reproduces 6–12k endpoints on the bench, a new/delete profiler (overloading allocators to log sizes and set breakpoints) to find big allocations and leaks, and a SQLite-backed queue on SD to separate logic from unreliable network. Other wins: merge competing threads, chunk large messages, replace heavy Qt allocations with leaner C++ and cut prepare time from ~2 minutes to ~40 seconds.

AI-written summary · about

  1. 0:00Introduction legacy product
  2. 3:37Problem legacy system faced
  3. 7:13Legacy code challenges
  4. 10:05Developing load simulator
  5. 12:39Memory profiler tool
  6. 16:56Thread resource conflicts
  7. 18:21Optimizing message handling
  8. 20:54Decoupling logic from network
  9. 23:31Key takeaways performance
  10. 26:47Summary and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.