• 0 Posts
  • 8 Comments
Joined 8 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
    ·
    4 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.



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




  • I wonder what his big ZigBee issue was that took him months to solve.

    From the vague description it could be that his ZigBee stick was plugged directly into the USB port instead of using a USB extension cable, thus subjecting the ZigBee stick to all sorts of RF interference from the motherboard.

    Or maybe the USB pass-through to the home assistant VM was wonky?

    Edit: he talks about getting 30$ worth of hardware to fix the issue so it is probably not just a USB extension cable 🤔