Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dormando
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
dormando
1y ago
Does anyone run these "at home" with small clusters? I've been googling unsuccessfully and this thread doesn't refer to anything. So a non-quantized scout won't fit in a machine with 128GB of RAM (like framework or
2.
▲
by
dormando
2y ago
Half on topic: what libs/etc did you use for the animations? Not immediately obvious from the source page. (it's a topic I'm deeply familiar with so I don't have a comment on the content, it looks great on a skim!) - but
3.
▲
by
dormando
2y ago
Throwing out a clarification: EVcache is effectively a complex memcached client + an internal ecosystem at Netflix. You can get much of its benefits with other systems (such as the memcached internal proxy: https://docs.memcached
4.
▲
by
dormando
2y ago
:'(
5.
▲
by
dormando
4y ago
At some point the OBSD CVS server was something I donated. Don't think it's in this picture as I don't think it was a Dell. Never saw a picture of the thing in action actually, doh. I avoided spending a quarter mill on F5
6.
▲
by
dormando
4y ago
I just got one a few weeks back but haven't gotten to spend a ton of time with it yet. It's taking some adjustment but I'm liking it so far. - had 1440p + 1080p monitors on stands side by side before. Now just this one on an
7.
▲
by
dormando
4y ago
client ecosystem is definitely a sore point now. I've just sort of started working on a replacement for libmemcached to hopefully cut down on the complexity... but then that's a migration and nobody wants to do that. Pinterest sho
8.
▲
by
dormando
4y ago
I can say with certainty this isn't strictly true. The failures should be relatively rare; when I say relatively I mean on the level of natural node failure. If natural node failure isn't survivable without special systems to quic
9.
▲
by
dormando
4y ago
Now a more philosoraptor style comment: I see Mcrib is a service built to quickly detect and replace memcached's. I treat memcached in infrastructure as a very stable service. Meaning it is infrequently necessary to upgrade it, and it
10.
▲
by
dormando
4y ago
Hi! I'd like to offer some hopefully useful information if any Slack folks end up reading this, or anyone else with a similar infrastructure. I'll start with some tech and make a separate philosophical comment. Also caveat: I have
11.
▲
by
dormando
5y ago
License?
12.
▲
by
dormando
5y ago
The venerable lodev tutorial uses this method, which I also used for most of my engines. I learned an interesting tidbit while comparing the two methods though: The old-school original methods used pretty small cos/sin/atan lookup
13.
▲
by
dormando
5y ago
Looks like the engine is missing the fish-eye correction in the ray-cast calc. I love writing these engines for fun :)
14.
▲
by
dormando
5y ago
It was an algorithmic/lock scaling limit. Originally it was single threaded, then when it was first multi-threaded it scaled up to 4 threads. Then I split up some locks and it scaled to 8 threads (depending). Then I rewrote the LRU and
15.
▲
by
dormando
5y ago
Everything that interacts with the disk is extstore.c, most of the wrapper code that glues memcached with extstore is storage.c. extstore.c has barely changed since I first wrote it; so there's not much maintenance overhead vs mmap any
16.
▲
by
dormando
5y ago
That's an excellent question; it turns out there are a _lot_ of semantics that the OS is covering up for you when using mmap. For instance (this may be fixed by now), but any process doing certain mmap syscalls locked access to any o
17.
▲
by
dormando
5y ago
There are stats in "stats items" / "stats slabs". Last access time for most recent eviction per slab class, etc. (see doc/protocol.txt from the tarball). "watch evictions" command will also show a str
18.
▲
by
dormando
5y ago
Looks like this article got one bit of updated information but missed everything else... I'll address some things point by point: data structures: - yes, fewer datastructures, if any. The point isn't that they have the features or
19.
▲
by
dormando
5y ago
It's not really realistic, you're right. For my own goals it's "defense in depth" - just because I can't think of a scenario now doesn't mean it's impossible to do. Access also makes it easier to acci
20.
▲
by
dormando
5y ago
Hope that works :) I have this set up to an AT&T fiber gateway trashcan in pass-thru mode, so technically the RPI's vlan port has a public IP address. Otherwise I couldn't get upnp/etc to work when I wanted to. I also wan
21.
▲
by
dormando
5y ago
fwiw when I bought it, it was on sale for ~$50 too. couldn't find a 2.5g switch that I liked in my price range, so went cheap as possible and will swap it when a 2.5g hits all my requirements :)
22.
▲
by
dormando
5y ago
Did this earlier in the year with an rpi4 and a netgear managed switch. It can route 780mbit down/up (nftables)! Can probably get closer to 900mbit with some overclocking, and reduce latency slightly by pinning the rpi's clock but
23.
▲
by
dormando
5y ago
This comment is correct. I made that change ages ago. Amused it's still there.
24.
▲
by
dormando
5y ago
https://twitter.com/dormando/status/1402466173778677764 my fault. I would sometimes monitor for "guru mediations" popping up to tell if we were throwing errors without it being caught by other systems. A
25.
▲
by
dormando
5y ago
Reads-wise I've done tests with up to 48 cores... It scales just about linearly. Writes don't scale much past a single core but really nobody asks for this so I haven't worked on it. For fun I did a test benchmarking misses,
26.
▲
by
dormando
6y ago
At risk of making a useless comment: "nice". Local memcached's? local caches or still distributed cache?
27.
▲
by
dormando
6y ago
Ah yes, I misremembered: there's an additional slot but a very specific spec requirement. They'll be whitelisting individual devices.
28.
▲
by
dormando
6y ago
They have mentioned a few times (though nothing with specific numbers) that games have a lot of data redundancy to work around poor HDD seek times. Given the drive speed it might be nice if games could auto-archive into a USB-attached devic
29.
▲
by
dormando
6y ago
These are fun! Shameless: http://www.dormando.me/post/fpga-raycaster/ - I did one of these last year with an arduino using an FPGA as a weird GPU :)
30.
▲
by
dormando
7y ago
Fwiw this post comparison is pretty old. The memory usage should be the same or better these days (automatic slab rebalancing, LRU expired item crawler, chunked items, etc).
More ›