r/webdevelopment • • 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

12 comments sorted by

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/quantumflux_2789 1d ago

Do you how can we get vps server for free or cheaper rate i am a student?

3

u/iam_bigzak 1d ago

for free no, but for cheap there are alot of providers, one is https://www.netcup.com/en/server/vps they are the best

1

u/Street-Peach-8460 1d ago

Can the video processing happen on the front end

0

u/quantumflux_2789 1d ago

Ya see i have that options but the old phones and laptop it will not work So i want in backend the video should send and calculate metric in backend

1

u/Street-Peach-8460 1d ago

See if you can process the data in smaller chunks

1

u/quantumflux_2789 1d ago

Smaller chunks the website will be slow

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.