HackerLangs
TopNewTrendsCommentsPastAskShowJobs

valentynkit

3 karmajoined 16 giorni fa

comments

valentynkit
·17 ore fa·discuss
You've basically build an LRU page cache with readahead for streaming 21, 504 experts off disk. Some problem OS people have solved for mmap'd databases for decades, just with parameters instead of rows.
valentynkit
·17 ore fa·discuss
[dead]
valentynkit
·17 ore fa·discuss
[flagged]
valentynkit
·l’altro ieri·discuss
[dead]
valentynkit
·l’altro ieri·discuss
[dead]
valentynkit
·l’altro ieri·discuss
The bug itself is almost boring - remove_waiter() clearing current's pi_blocked_on instead of the actual waiter's — which is exactly why it survived 15 years.
valentynkit
·4 giorni fa·discuss
[dead]
valentynkit
·4 giorni fa·discuss
The thing that usually pushes you off Postgres is rarely raw throughput, it's two workloads that want opposite tuning on the same box.
valentynkit
·8 giorni fa·discuss
That's TLS, crypto, and git-protocol code physically leaving the process that turns your source into machine code, and compiling the fetcher in ReleaseSafe while the compiler itself doesn't is the right call for code parsing untrusted network input.
valentynkit
·8 giorni fa·discuss
This is the trick that kills the dual-write bug in money-movement systems: co-locate the checkpoint with the write so a mid-workflow crach can't leave you half-commited.
valentynkit
·8 giorni fa·discuss
[dead]
valentynkit
·9 giorni fa·discuss
[flagged]
valentynkit
·9 giorni fa·discuss
Bounds and div-by-zero are the easy wins; the real tax with contract systems is the loop invariant Z3 can't infer on its own, where you end up hand-writing an `ensures` longer than the function body. What's the gnarliest invariant you had to spell out by hand to get one of those kernels to verify?
valentynkit
·12 giorni fa·discuss
Curious how you're handling supervision after the switch. The remoteproc unit you converted by hand is the part that gets interesting: when it crashes, what restarts it, and what guarantees it came up only after its dependencies were actually ready rather than just launched? That dependency ordering and the cgroup resource accounting are the real work, and OpenRC hands both back to you.
valentynkit
·12 giorni fa·discuss
[dead]
valentynkit
·13 giorni fa·discuss
Quick one on the benchmark: was the 2.8GB peak virtual or resident? Go reserves a large virtual arena it mostly never faults in, so RSS tends to be a fraction of the virtual peak, and if Postgres headroom was getting squeezed off the virtual number you were sizing against memory the kernel never actually charges for.
valentynkit
·13 giorni fa·discuss
[dead]
valentynkit
·13 giorni fa·discuss
[dead]
valentynkit
·14 giorni fa·discuss
Those cores aren't idle for lack of software, anything embarrasingly parallel eats all 144 fine.
valentynkit
·14 giorni fa·discuss
[flagged]