Tootfinder

Opt-in global Mastodon full text search. Join the index!

@mot@chaos.social
2026-04-03 20:54:45

Sind User Sessions unter Python Web Frameworks wie Flask und FastAPI wirklich so beschissen, oder bilde ich mir das nur ein? Entweder es werden Session-Daten Client-seitig (signiert) in Cookies bzw. JWT gespeichert, oder die Server-seitigen Implementierungen brauchen aufgeblähte Datenbanken :(

@blakes7bot@mas.torpidity.net
2026-01-30 20:18:11

Series B, Episode 06 - Trial
TRAVIS: No one would believe it. [Par exits.] Any more than I do. [Drinks from the flask.]
[Corridor. Thania is waiting for Par.]
THANIA: Did you give it to him?
PAR: Yes, Major.
THANIA: I appreciate it.
blake.torpidity.net/m/206/240

@hynek@mastodon.social
2026-03-25 12:13:22

speaking of Sentry: y'all might want to add a "werkzeug!=3.1.7" pin if you run Werkzeug (maybe via Flask) in a cluster with weird hostnames:
github.com/pallets/werkzeug/is

@UP8@mastodon.social
2026-01-25 16:49:04

Two women with white shirts promote EYES: Encouraging Young Scientists and Engineers
einhorn.cornell.edu/opportunit

Two women with white blouse and brown hair flank a posted that says EYES with the Y being an upside down flask:  Encouraging Young Engineer and Scientists, Mentor in Elementary schools with a photo of somebody touching some red stuff on a table captioned STRAWBERRY DNA.  The woman on the left is asian and has light grey sweatpants and the woman on the right has her hair in a white scrunchie and wears blue jeans.
@jamesthebard@social.linux.pizza
2026-03-07 18:11:46

The rewrite of the Sisyphus server continues, I've got all of the GET endpoints and about 60% of all the endpoints finished overall. Some initial testing on the `/workers` and `/queue` endpoints show some worrying results from the old version and some great results from the new version. The `/workers` endpoint started throwing errors at about 800 RPS on the Python/Flask version (the old one), the rewrite is showing around 4800 RPS (Golang/Gin). The `/queue` endpoint doesn't show a…

The graph of the `/workers` endpoint.  The left-hand graph is the Python/Flask version (old) and the right-hand graph is Golang/Gin (new)
The graph of the `/queue` endpoint.  The left-hand graph is the Python/Flask version (old) and the right-hand graph is Golang/Gin (new)
@jamesthebard@social.linux.pizza
2026-03-08 05:14:59

So, decided to get them rookie `/queue` numbers up so did a quick bit of caching. For a 12-job queue, I went from 240 RPS (Python/Flask) to 680 (Golang/Gin) then to 3400 RPS with some proper caching. The `/workers` endpoint would benefit as well, but I think its performant enough though I may end up adding a bit of caching later.
#golang

The old endpoint (left) versus the new endpoint (right).  What's more, the rewritten endpoint still had headroom resource-wise on the VM whereas the old one had maxed out the VM's CPU.