Comment by infamia
2 years ago
Setting SQLite PRAGMAs via Django settings was recently merged. I would expect to see this show up in the next version or two of Django.
https://code.djangoproject.com/ticket/24018
With the proper PRAGMAs set and modern hardware, you can do 400+ writes/sec with 4 uvicorn workers and ~100 clients connected. The achilles heal is writing lots of large files. That will cause concurrent requests to wait around for the disk to finish writing to the WAL.
No comments yet
Contribute on Hacker News ↗