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!!
HN user
slroger
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.
Very sad that StackOverflow which was one of the best examples of self hosted infrastructure is now unracking and decommissioning all of its hardware.
Thank you, first time I'm hearing about Bunny CDN will do some more research on them.
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.
Thank you, makes sense. Think I’ll try checking it out
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.
Yeah that would be great. I dont understand why they dont explore this option
I just need this to get a GUI and it will be close to perfect.
I was wondering the same thing
Great work, did you consider Java+GraalVM?
Hmm interesting
Thank you I'll keep these points in mind
Hadnt looked at this way. I need to consider throwing one away tbh. Thank you for the insight
Got it thank you so much
thank you for this, its most welcome. I was looking for something like this. Edit: Just got done reading it
Thank you for this advice!!
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.
okay got it, will keep that in mind, thank you
thanks I thought the same. Will focus on django
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.
This is a very interesting blog post tbh.
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.