MegaAntiCheat / masterbase

API/Data Platform for Ingesting, Storing, and Serving Data through Postgres, and Litestar
9 stars 1 forks source link

fix(demos): change demodata signed urls to serve minio bytes instead #80

Closed jayceslesar closed 1 week ago

jayceslesar commented 1 week ago

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.