Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vitus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
361.
▲
by
vitus
3y ago
(I think there's some reluctance to engaging with video content, as opposed to a text summary or slides.) Google serves a lot of QUIC (mostly IETF QUIC; we're trying to get rid of our usage of pre-standardization Google QUIC but s
362.
▲
by
vitus
3y ago
Right. It's possible to stagger your replacements so as to avoid bad batches, or even to buy from different vendors for additional diversity (although for SSDs you have much more divergent performance characteristics), but when you
363.
▲
by
vitus
3y ago
This works great, until you have coordinated failures, e.g. due to a firmware bug that's dependent on the uptime of the disk ( https://news.ycombinator.com/item?id=32031243 ). RAID is only useful as long as you don'
364.
▲
by
vitus
3y ago
It looks like the massive uptake in QUIC is largely due to Google and Facebook, per Bart's presentation. One of the biggest obstacles to broader adoption is the increased CPU cost (due to lack of NIC TLS / GSO offload support from
365.
▲
by
vitus
3y ago
I agree that caching is difficult in this case, but even a local reverse proxy would eliminate most of the connection setup overhead by reducing the roundtrip on ephemeral connections while keeping longer-lived connections open for data tra
366.
▲
by
vitus
3y ago
Indeed. In practice, it looks like many things haven't actually changed, other than numbers becoming even more exaggerated. Some things I noticed in the paper: > Undercutting a competitor’s latency by as little as 250ms is considere
367.
▲
by
vitus
3y ago
> (I will exclude the cost of generating the crypto) The cost of generating crypto is very real when you're talking about single-digit ms latencies :( RSA-2048 TLS certs add about 2-3ms to any connection, just on server-side compute
368.
▲
by
vitus
3y ago
> I would expect big datacenters to usually have links around, and I searched those two cities in particular and there was a news article at the top about a fiber link between them. That's a good point; I later looked at Lumen'
369.
▲
by
vitus
3y ago
Maybe if you had fiber directly connecting Ashburn to Pittsburgh, but it's more likely that you connect Ashburn -> Philadelphia -> Pittsburgh, which is more than double the physical distance. Just looking at distances on a map is
370.
▲
by
vitus
3y ago
To give a concrete example: suppose I am in rural West Virginia. I want to access HN. HN's only servers are in San Diego. My RTT to HN is limited by how my ISP can get to transit (most likely AS3356, formerly Level3, now Lumen). Let&#x
371.
▲
by
vitus
3y ago
Oh, I absolutely believe this. My example of Hawaii being 70ms away from Google was something that I knew about on paper but didn't truly appreciate until I was there on vacation a few years back (where the hotel wifi injected another
372.
▲
by
vitus
3y ago
> The comment submitted by Dave Taht, chief science officer of LibreQoS, argues that today’s applications are not typically bandwidth-limited, but are instead significantly limited by working latency. (for reference, Taht's comment
373.
▲
by
vitus
3y ago
I think using pronouns with cases like I / me / my as a contrast to other nouns like "dog" would convey the difference. > the idea that a 50 character or so regex will cover all your edge cases seems to be optimistic
374.
▲
by
vitus
3y ago
I can't say offhand, since I don't have much experience with storage. I'd expect that most of the work from a SSD read is offloaded to the disk controller, which presumably uses DMA, and you don't have nearly as many rou
375.
▲
by
vitus
3y ago
> The snap paper linked elsewhere in the thread shows 10 µs latencies; they've put in some optimization to achieve that, but I don't really understand why we don't expect close to that with standard kernel networking and T
376.
▲
by
vitus
3y ago
I'm always happy to see efforts to improve the state of technical interviewing. IMO this style of interview works better for more senior engineers, where you want them to think about performance issues, pitfalls, API considerations, ma
377.
▲
by
vitus
3y ago
Well, subject to certain constraints. You aren't guaranteed that your equilibria behave the same in the linearization of a nonlinear system if your Jacobian has any eigenvalues with real part of 0. https://en.wikipedia.org&#
378.
▲
by
vitus
3y ago
> Connections FROM the West (e-commerce connections, "we buy from you", "you are a merchant to us", etc., etc.) TO Alibaba.com (in China) -- are not blocked, and would NOT be blocked by the Chinese government! Um, con
379.
▲
by
vitus
3y ago
I believe it's this talk on swisstables from cppcon 2019: https://youtu.be/JZE3_0qvrMg?t=1426
380.
▲
by
vitus
3y ago
I should emphasize that I'm not trying to comment on fairness, one way or another. I'm pointing out that location-agnostic salaries are often trading one segment of the global talent pool for another, since what I've seen in
381.
▲
by
vitus
3y ago
You have bigger talent pools in the tech hubs, at the very least. And recent college graduates from top-tier institutions are most likely to either stay put (depending on the source, I saw 40-60%) or move to a hub, so you have a lot of unta
382.
▲
by
vitus
3y ago
I see where you're coming from, but in practice offering location-agnostic salaries means you're not competitive in areas that command higher salaries (notably, large tech hubs like the Bay Area, Seattle, New York). If anything, y
383.
▲
by
vitus
3y ago
Literally the only hurricane that made landfall in Florida as a Category 5 after Andrew was Michael in 2018, so most Floridians haven't experienced a Category 5 hurricane in decades (if ever). (Irma and Ian were downgraded before makin
384.
▲
by
vitus
3y ago
That's a partial answer, but not the full story. The Beaufort scale is designed to grow as B^1.5, and so it has a natural direct extension. 13-16 on the extended Beaufort scale do not map onto category 2-5 ( https://en.wikipe
385.
▲
by
vitus
3y ago
Yes, it is an improvement in this specific scenario, since there's limited granularity in how we can draw the districts. If instead we had 9 population nodes we could assign to each Define district, then we might be able to draw nine 4
386.
▲
by
vitus
3y ago
Hm. This doesn't seem like it does much if there's a sufficiently high concentration of cracked districts, relative to packed districts. I gerrymandered during the define phase using classic packing / cracking strategies, suc
387.
▲
by
vitus
3y ago
It is promising to see that openssl-quic serial throughput is within 10-20% of more mature implementations such as quiche. (Which quiche, though? Is this Google's quiche, written in C++, or Cloudflare's quiche, written in Rust? It
388.
▲
by
vitus
3y ago
As far as I can tell, most of the "major" universities offer one CS course (sometimes two) on software engineering but no degrees (e.g. Berkeley, Stanford, MIT, Princeton, UIUC, Cornell). CMU, UT, and UW are the few prestigious sc
389.
▲
by
vitus
3y ago
View types like span, string_view, FunctionRef: absolutely pass by value. They're designed to be cheap to copy, and they provide type erasure which can make your API more flexible. You also usually want to pass smart pointers (unique_p
390.
▲
by
vitus
3y ago
Passing std::function by value is almost definitely wrong these days with absl::AnyInvocable (if you need to store the type) and absl::FunctionRef (if you don't). Rough analogues in the standard are std::move_only_function (C++23) and
More ›