Hacker News new | ask | show | jobs
by drichelson 3703 days ago
Did you encounter any performance problems during the 'Early Canary Read' phase? this seems like a lot of DB action.
1 comments

Author here.

Yeah, at that point, you are doing two writes, and (possibly) two reads. I simplified the code a bit for the blog post, but you can do the read and write pairs concurrently, so you don't have to wait longer to get data to return to the caller.