We were polluting the domain namespace by putting making a minio bucket of demos. The API wanted us to hit domain/demos/some_url... but that overlaps with domain/demos/... which is the websocket domain.
This change was reverted in favor of just serving the minio objects as File Responses in litestar and is deemed okay because the strain the server was feeling before was due to postgres having to paginate the large object table whereas now we are just serving bytes back from minio.
We were polluting the domain namespace by putting making a minio bucket of
demos
. The API wanted us to hit domain/demos/some_url... but that overlaps with domain/demos/... which is the websocket domain.This change was reverted in favor of just serving the minio objects as File Responses in litestar and is deemed okay because the strain the server was feeling before was due to postgres having to paginate the large object table whereas now we are just serving bytes back from minio.