Home
Software
TIL
Contact Me
Day 18: improving s3 upload
part of Diary of a solo dev building a web app
Jun 26, 2022
💡
This is a dev diary of implementing Filerion, a web-based file manager for online storage (Dropbox, OneDrive, Google Drive, s3 and more).
Today I improved s3 uploads.
The server was crashing during uploads due to running out of memory.
I upgraded the server from 0.5 GB to 1 GB of memory but that didn’t fix the issue.
Because of S3 and web browser restrictions to upload to S3 I have to route the upload via the backend.
The issue most likely was that I was doing everything in memory.
I’ve changed the code to first save the upload to disk and then upload from the file.
So far it seems to be working.
#filerion
Jul 10 2022

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:

Home
Software
TIL
Contact Me