slroger
slroger on Hacker News
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!!
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.
Posted by
slroger on Thursday December 25, 2025 @10:50AM
from the stackoverflow.blog dept.
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
Posted by
slroger on Wednesday December 24, 2025 @06:46AM
from the self-post dept.
Hi HN, I'm building a short form video app(avg clip length 40 seconds, expecting 10-50,000 plays per day, growing, with 20% of traffic outside the US,80% in the US, mostly mobile). I'm deciding between:1.) CloudflareStream + Backblaze(B2):
Pros: Simple product, minutes viewed pricing(possibly cheaper than GCP for video streaming), built in transcoding.
Concern: not sure if their ABR quality...
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
Posted by
slroger on Friday June 20, 2025 @04:59PM
from the self-post dept.
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.(https://job-boards.greenhouse.io/perplexityai/jobs/4601047007)
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?
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
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
Posted by
slroger on Wednesday September 18, 2024 @03:09PM
from the ask-hn dept.
Hi everyone, I am a backend developer using Spring Boot and Java. I also know some Angular. I had an app idea and wanted to build out the backend in either Kotlin+SpringBoot or Django+Python. I already know Python from prior experience but was wondering which one of the two combinations would be faster for prototyping. I know Django works well since it was used for Instagram. It would be easier...
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.
Posted by
slroger on Friday September 06, 2024 @03:02AM
from the self-post dept.
I saw this impressive data from Stack Exchange(https://stackexchange.com/performance) about their Self Hosting infrastructure. I know they're an outlier for their size of company, but I wonder if there are similarly sized companies or even smaller tech companies that do not rely on the cloud and share as much data about their hardware infrastructure and self hosting data. Particularly those...