4 ms·
Redis Source Walkthrough: How the ECHO command is implemented
- melony 4y agoVery shallow walkthrough, you need to explain how the lookup table works. C doesn't have hashmaps built in. Without reading the entire source code, for all we know Redis could be using a for loop across 75K entries. You need to explain how the lookup works otherwise junior engineers (especially the sort that came out of JS/Python bootcamps) would get confused.
- avinassh 4y agoOn a related note, I am really loving the code walkthroughs by Sourcegraph Caddy - https://sourcegraph.com/notebooks/Tm90ZWJvb2s6MTM2Nw== https://sourcegraph.com/notebooks/Tm90ZWJvb2s6MTM2Nw== ES Lint - https://sourcegraph.com/notebooks/Tm90ZWJvb2s6MTA2OA== https://sourcegraph.com/notebooks/Tm90ZWJvb2s6MTA2OA==
- rohitpaulk 4y agoThanks for sharing! I knew that Sourcegraph notebooks were a thing, didn't know that they embedded code like that (I assumed they'd just embed Sourcegraph queries).
- johnklos 4y agoIs it just me, or is the site usefully dead? I'm just seeing "</>", an animated GIF and "Loading..."
- detaro 4y agoProbably your script/adblocker preventing the JS that removes the useless loading screen from running. Redis commands are pretty much always given in ALLCAPS.