this post was submitted on 24 Jun 2023
1 points (100.0% liked)

Lemmy Code / App Technical

92 readers
1 users here now

The code and application behind Lemmy. Beta testing new releases, API coding, custom changes, adding new features, developers

See also: !lemmyperformance@lemmy.ml community, it's not always clear which one to put a topic into. "lemmycode" I'm trying to be more into actual code change proposals.

!lemmydev@lemm.ee

founded 2 years ago
MODERATORS
 

This is over a decade old, but the general idea here is to do what you can to simulate overloaded database so that the Rust and NodeJS code is tested to gracefully report to the end-user (and log to server operators) that the database backend is failing.

https://www.endpointdev.com/blog/2012/11/how-to-make-postgresql-query-slow/

Lemmy has been falling over to nginx 50x errors under overloads, denial of service situations. Try to exercise the error behavior and harden the Rust and NodeJS code.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here