News for hackers. Stuff that matters.

slroger

Re:Cloudflare Stream + Backblaze vs. GCP for Short Form Video? on Thursday December 25, 2025 @11:00AM (#46385145)
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!!
Re:Cloudflare Stream + Backblaze vs. GCP for Short Form Video? on Thursday December 25, 2025 @10:54AM (#46385108)
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.
Re:Sad times StackOverflow takes down all its physical servers on Thursday December 25, 2025 @10:50AM (#46385079)
Very sad that StackOverflow which was one of the best examples of self hosted infrastructure is now unracking and decommissioning all of its hardware.
Re:Cloudflare Stream + Backblaze vs. GCP for Short Form Video? on Wednesday December 24, 2025 @04:06PM (#46379208)
Thank you, first time I'm hearing about Bunny CDN will do some more research on them.
Re:Cloudflare Stream + Backblaze vs. GCP for Short Form Video? on Wednesday December 24, 2025 @04:03PM (#46379189)
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

Cloudflare Stream + Backblaze vs. GCP for Short Form Video?

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...

( Read More... | 9 comments | on HN )
Re:Go ahead, self-host Postgres on Saturday December 20, 2025 @01:17PM (#46338250)
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.
Re:Perplexity and FastAPI on Saturday June 21, 2025 @11:32PM (#44343282)
Thank you, makes sense. Think I’ll try checking it out

Perplexity and FastAPI

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)

( Read More... | 2 comments | on HN )
Re: on Friday June 20, 2025 @04:55PM (#44332003)
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
Re:Container: Apple's Linux-Container Runtime on Wednesday June 11, 2025 @01:56AM (#44244588)
I just need this to get a GUI and it will be close to perfect.
Re:Container: Apple's Linux-Container Runtime on Wednesday June 11, 2025 @01:24AM (#44244453)
I was wondering the same thing
Re:Why Go? on Wednesday March 12, 2025 @06:35PM (#43348412)
Great work, did you consider Java+GraalVM?
Re:React at Meta Connect 2024 on Sunday October 06, 2024 @08:35AM (#41756709)
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

Ask HN: Kotlin SpringBoot vs. Python Django for Min Viable Product

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...

( Read More... | 42 comments | on HN )
Re:Java on Prem Instead of Cloud on Saturday September 14, 2024 @08:00AM (#41539249)
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.
Re:Why I self host my servers (and what I've recently learned) on Monday September 09, 2024 @08:26PM (#41495865)
This is a very interesting blog post tbh.
Re:Java on Prem Instead of Cloud on Friday September 06, 2024 @10:26AM (#41466532)
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.

Java on Prem Instead of Cloud

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...

( Read More... | 6 comments | 2 points | on HN )