Latest posts by Adam Lev-Libfeld (see all)
- “play with it”, “quick feedback” and “binary debugging” - July 14, 2017
- Cache 22 - January 18, 2017
- Trinity - January 17, 2017
I have recently had a discussion with one of the platform programmers (≈DBA) on a visit to a client. During my work there I added an adjustment to a process that I thought would improve accuracy with a minor impact on performance. Instead, the process came to a screeching halt, never returning an answer.
The root cause of this was an API misunderstanding – the code segment I added included an access to the DB. This DB query took the form of
f(x) = y where both x and y are of a small, limited set, with a lot of repetition, and I assumed it would be cached. It was not. Continue reading “Cache 22”