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.
With the sadder realisation from the article that more independent co-lo facilities are getting shutdown leaving many largescale deployments withno recourse but to go to the cloud for hyperscale.
As a business at least in the US , im not seeing any greeenfield facilities being spun up to compete with the big5(Oracle/Google/Azure/Amazon/IBM) clouds.
A number of cloud migrations I've worked on are due to these reasons. If you're the second largest customer at a colo, and the largest is pulling all of their equipment out, chances are the colo won't be around much longer and you need to start getting proactive. Some of the companies are on very tight migration timelines because the colo announced they are closing down and were caught flat footed.
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
Makes sense. Just a heads-up on the hybrid approach: storing raw files in B2 while also ingesting to Stream means you're paying for storage twice.
Also, for the mobile app, definitely look into Direct Creator Uploads. You can generate a signed URL on your backend and let the phone upload straight to Cloudflare. It saves a ton of headache handling bandwidth on your own servers.
thank you for this, will definitely look into the Director Creator Uploads. For storing raw files dont know if I have an alternative if Cloudflare stream isnt keeping the raw file. Merry Christmas to you too!!
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.
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.
reply