Aussie living in the San Francisco Bay Area.
Coding since 1998.
.NET Foundation member. C# fan
https://d.sb/
Mastodon: @dan@d.sb

  • 0 Posts
  • 1K Comments
Joined 3 years ago
cake
Cake day: June 14th, 2023

help-circle
  • Blue Iris is by far the most capable NVR, but it’s Windows-only so you’d need a Windows or Windows Server VM. For a basic setup, Frigate is more than sufficient.

    I’d say try Frigate on your ThinkCentre and see how well it runs. I wouldn’t buy new hardware prematurely.

    Do I understand that I could then share the igpu between Jellyfin and Docker/Frigate?

    I’m not sure about containers like LXC, but generally you need SR-IOV or GVT-g support to share a GPU across multiple VMs. I think your CPU supports GVT-g, so you should be able to find a guide on setting it up.




  • No other app store is allowed to operate on Apple devices

    That’s only true outside of Europe. In the EU, they were forced to allow third-party app stores. The US government doesn’t have the guts to do that, since they focus more on the needs/wants of companies, whereas the EU is really focused on consumer rights.

    • Card companies take ~4%
    • Patreon takes 10%

    Does Patreon’s cut not include payment processing?

    The other thing that’s ridiculous in the USA is how much credit card processing costs. Stripe is around 3%, while in countries it can be half of that (in Australia, it’s commonly around 1% for debit cards and 1.5% for credit cards).









  • Though, on the other hand, having the video saved offsite is useful because then anyone with physical access to your home can’t get rid of the video showing they’re there.

    I have Blue Iris configured to send all alert videos to one of my storage VPSes via SFTP. As soon as someone is detected outside, the video clip is sent offsite.

    The server and the PoE switch that powers the cameras are also on a UPS, which helps if the intruder tries to shut off the power at the main breaker (which, here in California, always needs to be located outside).

    It’s in response to you saying isolate the cameras from the internet entirely

    The cameras themselves should always be isolated. No internet access for the cameras at all. Your NVR can have network access, and is what would handle uploading the videos to internet storage somewhere.


  • Reolink

    Any cameras that can operate entirely offline are good. Dahua and Hikvision are good too. Look for cameras with RTSP and ONVIF support. ONVIF is a standardized API for interacting with cameras and can handle things like pan/tilt/zoom, sending events from the camera to the NVR (eg motion detection), and a bunch of other things.

    I use Blue Iris as my NVR, which is usually regarded as the best, but there’s other good software too (like Frigate), and hardware solutions too.

    Just follow best practices - keep them isolated on a separate VLAN with no internet access. If you want remote access to your NVR, use a VPN like Tailscale.




  • Oops, I didn’t know about the SX line, and didn’t know they had auction servers with large amounts of disk space. Thanks!! I’m not familiar with all of Hetzner’a products.

    For pure file storage (ie you’re only using SFTP, Borgbackup, restic, NFS, Samba, etc) I still think the storage boxes are a good deal, as you don’t have to worry about server maintenance (since it’s a shared environment). I’m not sure if supports encryption though, which is probably where a dedicated server would be useful.



  • SQLite is underrated. I’ve used it for high traffic systems with no issues. If your system has a large number of readers and a small number of writers, it performs very well. It’s not as good for high-concurrency write-heavy use cases, but that’s not common (most apps read far more than they write).

    My use case was a DB that was created during the build process, then read on every page load.


  • MariaDB is not always a drop-in replacement. There’s several features that MySQL has that MariaDB doesn’t, especially related to the optimizer (for some types of queries, MySQL will give you a more optimized execution plan compared to MariaDB). It’s also missing some newer data types, like JSON (which indexes the individual fields in JSON objects to make filtering on them more efficient).

    MariaDB and MySQL are both fine. Even though MySQL doesn’t receive as much development any more, it doesn’t really need it. It works fine. If you want a better database system, switch to PostgreSQL, not MariaDB.


  • AWS Glacier would be about $200/mo, PLUS bandwidth transfer charges, which would be something like $500. R2 would be about $750/mo

    50TB on a Hetzner storage box would be $116/month, with unlimited traffic. It’d have to be split across three storage boxes though, since 20TB is the max per box. 10TB is $24/month and 20TB is $46/month.

    They’re only available in Germany and Finland, but data transfer from elsewhere in the world would still be faster than AWS Glacier.

    Another option with Herzner is a dedicated server. Unfortunately the max storage they let you add is 2 x 22TB SATA HDDs, which would only let you store 22TB of stuff (assuming RAID1), for over double the cost of a 20TB storage box.