Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Matthias247
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
Matthias247
3y ago
It seems extracted from levels, so it's about whatever people report there.
32.
▲
by
Matthias247
3y ago
Instrument your python code and gather metrics. Maybe use a profiler. If it is heavily CPU limited and it spends all time in python interpreter calls it might benefit from moving to a more efficient language. It it’s mostly waiting on IO (e
33.
▲
by
Matthias247
3y ago
Eclipse and Apache are foundations. And while those foundations host a set of Java projects, they are not limited to it.
34.
▲
by
Matthias247
3y ago
Since Visual Studio Code is using ripgrep for search one can also open the repo in the editor and use find in files to search for such things similar performance. It’s one of my favorite tools for searching specific expressions in codebases
35.
▲
by
Matthias247
3y ago
I had the same opinion in the past. But after some more years of work experience - mostly in the managed services area - I don't think it's that clear anymore: - If you offer your users a library, you are competing with tons of op
36.
▲
by
Matthias247
3y ago
> My only problem with them is they are not "bikes" as in exercise, they are a means of commute. Have you tried one? They can be quite fun for exercising! I am a biker for > 15 years. Mostly Mountainbike in the past, but mor
37.
▲
by
Matthias247
3y ago
That's actually the company whose kitkat journey is documented in the linked article
38.
▲
by
Matthias247
3y ago
It sounds like it, but it still doesn't make sense to me. A scammer would want to be anonymous so they can't be prosecuted. But a warehouse owner would be well known.
39.
▲
by
Matthias247
3y ago
As the person who proposed this feature - among lots of other ones for async Rust, like run-to-completion async functions ( https://github.com/Matthias247/rfcs/blob/e7fd7042f8069e9126e... ), structured concurre
40.
▲
by
Matthias247
3y ago
It was orginally me ( https://github.com/rust-lang/rust/pull/65875 )
41.
▲
by
Matthias247
3y ago
This certainly sounds like your company is having a gap. But the gap sounds to me more like the lack of technical leadership (a strong lead, principal engineer, etc) than a PM. 10 out of 10 PMs I worked with (and it had been more) wouldn&#x
42.
▲
by
Matthias247
3y ago
If you would measure pure latency between a single request (HTTP, RPC, whatever), the latency difference between any async or non async implementation should be microseconds at most and never milliseconds. If its more, then something with t
43.
▲
by
Matthias247
3y ago
Sure. But those async functions can't do any IO. If you need to use IO functions (e.g. from tokio), then you would still need to import that framework.
44.
▲
by
Matthias247
3y ago
That's assuming no concurrency, which isn't applicable. Every public CDN will have around 10ms latency per request (because it takes time to load data from disk, fetch from upstream servers, apply WAF rules, etc). But they still h
45.
▲
by
Matthias247
3y ago
It is much cheaper. A server can easily handle hundreds to thousands of simultaneous streams. Even if the server is requiring 1kW of power for that, it makes a worst case of 10W per client. Maybe double it if you want to count in the datace
46.
▲
by
Matthias247
3y ago
I assume you mean "spawned futures" - because regular Futures obviously don't have to be 'static. You can run as many of them as you want on a single task by using Future combinators like join/select. If this is mos
47.
▲
by
Matthias247
3y ago
What difference would it make? Any "real engineer" (of whatever you definition you might have of that) will also find themselves being in a shitty position in this situation, which is somewhere between getting fired, voluntarily l
48.
▲
by
Matthias247
3y ago
Given async file IO in Rust without io_uring (and without being on Linux) means "dispatch work onto a background thread pool", it's essentially the same. It's just using a different programming model - which you might ei
49.
▲
by
Matthias247
3y ago
The last comment is actually pretty interesting and spot on. In the Java/JDK world - which you can assume as a „framework“ - you can cancel blocking IO via the Thread.interrupt() mechanism. And that works because it’s deeply integrated
50.
▲
by
Matthias247
3y ago
You can cancel socket operations using signals. You can eg have one or more background threads running timers which will interrupt the blocking IO if it doesn’t return in a timely manner. A lot of very important frameworks and services that
51.
▲
by
Matthias247
3y ago
I don't have any opinion on Bun itself. But as someone who is pretty experienced in running large scale services, I wouldn't have a problem to use a tool that is marked as stable but internally built on top of unstable tools. As l
52.
▲
by
Matthias247
3y ago
> The change needed to be made on both sides of Wireguard. Congestion control works from the sender of data to the receiver. You don't need to switch both sides if you are just interested in improving performance in one direction. B
53.
▲
by
Matthias247
3y ago
those comparisons to Nginx are not fair. The latter does also do things like loading a configuration per connection and request, processing timeouts, preparing logs and potentially other things.
54.
▲
by
Matthias247
3y ago
The article looks great! I like that it explains both classic IO for a webserver (which helps since a lot of developers don't even know that read() and write() might return without all data being processed) and then proceeds from non-b
55.
▲
by
Matthias247
3y ago
It will strongly depend on the area you live in. It a lot of places there might not be better options. But if there are, I would definitely agree with you and prefer the bike road
56.
▲
by
Matthias247
3y ago
> in traditional datacenters, with Infrastructure and Support teams separate from Development (anti DevOps), there are/were strong human checks and balances. If your Devs wanted to make an API Internet accessible and connect it to
57.
▲
by
Matthias247
3y ago
It generally applies to eventloops, not just to lanugages with a builtin event loop. E.g. it certainly also applies to raw boost::asio which uses callbacks, libuv, libevent, QT, GObject, Netty, etc.
58.
▲
by
Matthias247
3y ago
I think this won't help because money for developers is not what holding things back. Developers in Canada seem to have plenty of money, but they are restricted by approvals and construction capacity in building more. Developers will a
59.
▲
by
Matthias247
3y ago
This seems really poor. They should have been able to see what customers are still using the service in that region, send them additional reminders that they need to get off, and only after several of those and a grace period remove access.
60.
▲
by
Matthias247
3y ago
only if the resources are just used within this task. If an async function at some point in time generates another task (or even spawns a thread!) that can not be synchronously cancelled then it might outlive the destructor and thereby the
More ›