r/webdevelopment • u/quantumflux_2789 • 1d ago
Career Advice Deployment doubt
i want to deploy my website i have deployed on render and vercel but render give 512 mb ram and the project have video processing it is working too slowly.can you send me some alternatives
0
Upvotes
2
u/iam_bigzak 1d ago
for video processing, you need atleast a vps with 4-8 ram, because ffmpeg is memory hungry
1
u/Street-Peach-8460 1d ago
Can the video processing happen on the front end
1
u/Otherwise-Leather965 1d ago
Split it into two parts: the web app only takes the upload and adds a job to a queue, and a separate worker runs the ffmpeg step. That way only the worker needs the bigger RAM, and your site stays fast while videos process in the background.
1
u/CupcakeSecure4094 1d ago
If $5 a month is too much for you (15c a day), there's nothing cheaper, do the processing in the device with WASM or make the user pay $0.05 each server side conversion. Honestly if your app can't manage that then it's not a viable app.