HN user

slroger

47 karma
Posts5
Comments24
View on HN

I was transcoding myself when running it on the homeserver, but the convenience of Cloudflare stream doing the transcoding is tempting. Will definitely look into this, thank you. Hadnt heard about Bunny CDN till this week. Actually I am moving from a homeserver to my own rackmount in a datacolo in about 2 months so may take this route.

I see, yes I am planning to keep the raw video files in B2.

So about the 30 second minimum charge, my current scenario is users can record and upload videos of any length between 5-60 seconds max if they are recording from the app's camera. On average I have found its 40 second videos. But if uploading from their gallery max is videos of 3minute length or lower.

Thank you for the reply as well. Glad the quality of cloudflare stream is good

Great read. I moved my video sharing app from GCP to self hosted on a beefy home server+ cloudflare for object storage and video streaming. Had been using Cloud SQL as my managed db and now running Postgres on my own dedicated hardware. I was forced to move away from the cloud primarily because of the high cost of running video processing(not because Cloud SQL was bad) but instead have discovered self hosting the db isnt as difficult as its made out to be. And there was a daily charge of keeping the DB hot which I dont have now. Will be moving to a rackmount server at a datacolo in about a month so this was great to read and confirms my experience.

[dead] 1 year ago

Why does Perplexity use FastAPI over say Django? Clearly they are doing well and could have done well with either but I'm curious why they went with FastAPI over a more tried and tested framework like Django. The only proof I've found they use FastAPI on the backend are the job postings.

Thank you, I will just focus on what I know tbh. Want to build something with an activity feed and what not. I just thought since Django was already used to build Instagram it has a lot of those patterns and libraries for social based apps already figured out. But I think Spring Boot is mature enough to have similar libraries available.

This is great to hear. I'm sure you're saving a lot of money. Do you think this is a trend that may happen more in the future. Because I wonder if cloud service providers can keep in increasing prices yet hardware is becoming more powerful yet you still need a large workforce to maintain cloud services.

Most companies are on the cloud now. I just wonder if there are similar companies that are on prem and also share data on their infrastructure like Stack exchange does. Would be interesting if there is at least one. There's a growing call by some to move off the cloud due to how powerful and cheap hardware has gotten. CPU performance in particular has gone up.