hackeryarn

joined 2 years ago
[–] hackeryarn@lemmy.world 0 points 4 months ago

I totally agree with you. This article was really a response to a lot of hype around async web servers in Python.

I kind of knew what to expect, but wanted to throw real numbers against it. I was surprised to see a 10x slowdown with the async switch in Django.

[–] hackeryarn@lemmy.world 0 points 4 months ago* (last edited 4 months ago)

Only reliable web server is an Erlang web server.

[–] hackeryarn@lemmy.world 0 points 4 months ago

No connection proxy in this case. The pooled sync test uses client side pooling which shows better performance. Using a proxy would have the same effect, just moves the pooling to server side.

[–] hackeryarn@lemmy.world 0 points 4 months ago

It is using the async driver. I am using FastAPI’s thin wrapper around SQLAlchemy which also does some slight tuning for it to work better with FastAPI in an async mode.

[–] hackeryarn@lemmy.world 0 points 4 months ago (1 children)

This is running with concurrent requests. 64 workers firing request to be exact.

[–] hackeryarn@lemmy.world 4 points 5 months ago

I will take a “No AI” label so I can filter down to the games I want to buy.

[–] hackeryarn@lemmy.world 9 points 11 months ago* (last edited 11 months ago)

There are various rating systems, but it boils down to comprehension. 6th grade reading level is about the level to be able to follow the plot of Harry Potter.

[–] hackeryarn@lemmy.world 22 points 1 year ago (4 children)

Do ya’ll just not use linters?

[–] hackeryarn@lemmy.world 90 points 1 year ago (10 children)

If Microsoft knows how to do one thing well, it’s killing a successful product.

[–] hackeryarn@lemmy.world 1 points 2 years ago

I would separate NixOS from other immutable distros. NixOS is really about giving you blank slate and letting you fully configure it.

You do that configuration using a static config language that is able to be far more idempotent than Andible. It’s also able to define packages that are well contained and don’t require dynamic linking setup by manually installing other packages.

Immutable distros, on the other hand, really have no advantage to your setup and will probably feel more restrictive. The main use I see for them is for someone new or lazy that wants to get a working system up and running quickly.