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

14 comments sorted by

1

u/Street-Peach-8460 12d ago

Can the video processing happen on the front end

0

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

See if you can process the data in smaller chunks

1

u/quantumflux_2789 12d ago

Smaller chunks the website will be slow

1

u/Otherwise-Leather965 12d 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 12d 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.

1

u/gatwell702 3d ago

cloudflare gives you a lot of space to work with..

you could create a cdn that holds your videos on it and that would take the weight off render/vercel. There's free options to make a cdn (https://jsdelivr.com) but your going to want to pay $ to get more space so you can hold more videos if there's a lot

1

u/[deleted] 12d ago

[removed] — view removed comment

-1

u/quantumflux_2789 12d ago

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

1

u/Capaj 10d ago

you can turn an old PC into one if you have a place with good internet connection to keep it running