Would this logic apply to domain specific allocators? Memcached for example uses a pretty simple slab style allocator[0] to manage a preallocated pool of memory, and afaict, they have a mutex over any threads interaction with it.
I came across the paper on google scholar while looking into radix trees. Funny enough there was a recent post from valkey on dropping the skiplist in favour of a btree for their sorted set[0].
This view is narrow minded and reductive. You imply playing with toys isn’t a life well lived, but peel back any value system that you’ve set up, explicit, or otherwise, and you may find nihilism at the end.
I find that partitioning by key range tends to be more flexible and malleable to rebalancing (merge, splits, etc). Doing things like CRC16(key) % 16384 tends to bite eventually.
Not only are they still being manufactured, but they are continuing to see innovations. Heat assisted magnetic recording (HAMR), mentioned in the article, which will heat disk via the R/W head, allowing for higher density drives.
... and Doug's perl script, which was never committed to source control. It lives on a single box and silently upholds a number of implicit system invariants. In someones inbox is an email from Doug, sent just before he retired, that the script needs to be copied over to the new box before the hardware migration is complete.
After pi’s got expensive I started picking up refurbished Dell micros and Lenovo tinys cheap and haven’t looked back. They are also perfect for the 10” mini rack[0].
Same. I have two Dell SFF 3070s and some MSI micro units in a rack - planning on getting some more for my Proxmox cluster. ServeTheHome has a great resource for the compute nodes [0] and GeekPi makes some awesome 10" racks [1]
Shoutouts as well for the USFF HP Elitedesk and Prodesks. They are amazing. I even got one with a Ryzen CPU that had a dedicated GPU option - that GPU part was on eBay brand new for $60 and replaced the hard drive bracket. Not on par with a desktop GPU but way better than integrated graphics, for things like Minecraft in my case. I use a second one, this one Intel with 32GB of RAM, as my home server. (Jellyfin, Home Assistant, Tailscale, miscellaneous stuff).
Similar experience here, except it was Qbasic followed by Delphi. Good memories of passing our dumb little games around the compute lab. It wasn't till later in life that I connected Pascal to Wirth when reading Algorithms + Data Structures = Programs (I still think the last chapter on compilers holds amazing as an introduction to the subject).
You can use static type analysers and runtime type profilers to add type annotations to a legacy codebase, but the interesting bit would be if you're built on top of a large untyped codebase you don't control like, say, Django, how far it can go.
In my experiments with this, maybe, sorta, it'll do some AST stuff then it'll go "dang this shit is dynamic AF" then suggest a static type inference tool, then a runtime type profiler.
0: https://github.com/memcached/memcached/blob/master/slabs.c
reply