HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jstrong

409 karmajoined قبل 7 سنوات

comments

jstrong
·أول أمس·discuss
but did they change the process-per-connection model? if not, wtf??
jstrong
·أول أمس·discuss
seems like `cargo nextest run` just runs `--lib` tests by default? however, `cargo test` is not so slow if you do `cargo test --lib`. how do I get nextest to execute the doc tests, too?
jstrong
·قبل 4 أيام·discuss
hoping this is a joke
jstrong
·قبل 9 أيام·discuss
claude is so slow for interactive use like described, do people just run it in low effort mode or what?
jstrong
·قبل 4 أشهر·discuss
optimizer can't inspect the value? pretty dumb optimizer, then.
jstrong
·قبل 5 أشهر·discuss
that's A choice.
jstrong
·قبل 5 أشهر·discuss
I feel like the less tolerance I have for ads (as time goes on), the more desperate they get in trying increasingly aggressive ways of making you watch ads. I'm never watching ads again, ever! I'm willing to pay, but not with my time for your terrible, horrendous, bullshit ads!
jstrong
·قبل 5 أشهر·discuss
I don't know, man, glossy magazine ads were glamorous. sure there was stupid stuff, but the comparison between the "one weird trick" era and magazine ads of someone looking cool so you have a positive impression with some brand name is pretty stark.
jstrong
·قبل 5 أشهر·discuss
man, I can't wait to wrangle a giant YAML file to be able to take a sick day!
jstrong
·قبل 5 أشهر·discuss
redis is single-threaded but handles lots of connections (i.e. > 500) with much better performance vs. postgres. there's zero chance someone building postgres in 2025 would do one process per connection, I don't think there's any argument that it's a good design for performance. it's just a long-ago design choice that would be difficult to change now.
jstrong
·قبل 5 أشهر·discuss
From the article:

> The real bottleneck is the single-threaded main loop in the postmaster.

A single-threaded event loop can do a lot of stuff. Certainly handle 4000 tasks of some sort in under 10s. Just offhand it seems like it would be eminently possible to handle incoming connections on the scale they describe in a single-threaded event loop.

Clearly the existing postgres postmaster thread is a bottleneck as it is implemented today. But I'd be interested to go deeper into what it's doing that causes it to be unable to keep up with a fairly low workload vs. what is possible to do on a single thread/core.
jstrong
·قبل 5 أشهر·discuss
can't believe postgres still uses a process-per-connection model that leads to endless problems like this one.
jstrong
·قبل 9 أشهر·discuss
google: we make going to the DMV look delightful by comparison!
jstrong
·قبل 9 أشهر·discuss
ripgrep is one of the main reasons I got interested in rust. it worked so well, it piqued my interest that it was written in rust. many years later, very glad about that. been using `rg` daily since then as well!
jstrong
·قبل 10 أشهر·discuss
... some stuff we have kinda resembles china's social credit score if you really think about it ...

ok, maybe

... so yeah, it's totally fine lets do it ...

WHAT
jstrong
·قبل 4 سنوات·discuss
you have any recs for lower-end bare metal providers?