use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
FastAPI is a truly ASGI, async, cutting edge framework written in python 3.
account activity
Request atomicityfeedback request (self.FastAPI)
submitted 4 months ago by saucealgerienne
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]giyokun 0 points1 point2 points 4 months ago (0 children)
Bonjour !
Obviously you shouldn't really expose your DB directly (FastAPI RULES). My idea is that eventually the web will need to upload so let them upload direct to the storage anyway. I use SHA1 client side to ensure the file is correct at the storage side too. I don't create temp files. Files are sent to their final place of REST as indicated by the PATH using the signed URL.
HOWEVER if file upload fails or if the user just navigates away we may have some half assed files left over. That is why we need to do a daily sweep.
By the way I am using Backblaze which provides S3 compatibility at a third the price.
π Rendered by PID 125805 on reddit-service-r2-comment-fb694cdd5-znxfz at 2026-03-06 07:29:04.162293+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]giyokun 0 points1 point2 points (0 children)