• 0 Posts
  • 22 Comments
Joined 7 months ago
cake
Cake day: April 4th, 2024

help-circle




  • d2k1@lemmy.dbzer0.comtoSelfhosted@lemmy.worldWhy do so many people use NGINX?
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    3 months ago

    HAproxy is good at what it does but it’s only good at proxying and simple rules. For the most part, it’s used as a load balancer and router and doesn’t really process the requests itself.

    To add something here: HAProxy’s ACLs are more powerful than anything nginx, Apache or even Envoy can do. Of course HAProxy is not a web server but “just” a reverse proxy that speaks HTTP (and TCP) but what you can do with its ACLs is often extremely impressive in its simplicity and elegance. A single-line ACL in HAProxy would require loading additional modules in nginx and writing a screenful of configuration directives. Though the average self-hoster will probably never need any of the power HAProxy offers.

    In the past 20 years I have professionally used all four of these as web servers and/or reverse proxies and I am pretty confident that HAProxy beats all others when it comes to request processing. Though Envoy might be getting there.


  • The ID on the phone thing is weird. Like I’m gonna give my phone to a cop when they ask for my ID.

    You don’t do that. You present the cop a QR code generated on the fly by the ID app when selecting “show ID” (or driver’s licence, in our country) that they then scan with their equivalent app or device. You don’t physically give them the phone. At least that’s the idea.

    Like in many countries (traffic or street) cops here barely have a high school education and it’s not unusual for them to be too stupid to be able to scan a QR code. So carrying your plastic cards with you is prudent.










  • Interesting to see that I have pretty much the same (apparently wonky) setup with my ZigBee coordinator plugged into my Home Assistant mini-PC (via extension cable) in the basement of my house.

    Though I have a better supported adapter (from Slaesh) it is definitely not in the middle of the house. It works fine so far with about 100 devices and it seems the backbone is strong enough so the basement location is not a big problem. Still I wonder if the mesh could be improved by getting a network-enabled adapter and placing it somewhere more central.




  • But what can it do more easily than an mid 20th century home can do?

    One word: Automations. Everything from lights to irrigation, HVAC to surveillance cameras, fishtanks to plant monitoring, managed by a single, extensible open source platform, hosted locally in your own home.

    Of course that is not trivial. If you don’t see your smart home as a hobby you enjoy putting time and effort into then the smart home scene is not for you, especially not Home Assistant.

    Sounds like you are in a fine place with your home, so you are probably not the target audience here.