@Moon@sjw@p >people zoomers* like caddy ive spent too much time with nginx to give up now. did you know they quoted us 2000$/mo for an nginx plus license lmfao
@sjw@graf@Moon@p this could work but if you do this on the edge using our super secret backhaul system it might work. but keep in mind you'd need enough memory alloc to handle the k/v pairs as it could get quite large for a big boy instance
alternative you can persist to disk with a retention and purge cycle but you're still making roundtrip to the disk which eats io and may not be optimal.
or you can just use iptables or nftables for a simpler acl setup.
@sjw@graf@Moon@p no doubt. and proxying/load-balancing udp feels very much like giving yourself a handjob right after your arm fell asleep.
if it's something like dns with single packets, using nginx for this with `listen udp` will work, otherwise if it's multi-packet consider appending `reuseport` to the mix.
although i can't think of a good use-case to proxy udp at this time.
in regards to caddy. it's quick and just works. i'm not a zoomer, but i use it for things. what's nice is if you've got nginx config down there's an adapter to use native nginx configuration for caddy proxy.
this reminds me i need to publish my config for this particular proxy. it's always 3am and i'm always putting things off
@sjw@graf@Moon@p then i would question the weed strain you're smoking which would lead to a long phone call on the virtues of knowing thy networking stack
> Ya know, if I were to leave nginx that would probably be what I'd learn.
If you know how nginx works, you can pick up lighttpd in fifteen minutes. Precedence is easier to read, you don't have so many rules about what block something has to be in (so if you want "/robots.txt" to always point to the same file for every vhost, you can just put that at the top), you don't have to size hash tables manually. Just a little nicer overall.
> Can it be used as a reverse proxy and load balancer
Yes.
> for Minecraft servers?
That part I don't know, because I don't know how Minecraft works. If Minecraft uses HTTP for that, then yes. I do know that LetsEncrypt tooling kinda hates lighttpd for some reason.
@Moon@graf@sjw lighttpd still works, is still fast. (It's also not probably still what Youtube uses, but they probably use a fork of it anyway and it handled Youtube when it was on the way up and long after the Google acquisition.) I run it in a lot of places because nginx, in addition to not supporting CGI (which I need for stuff sometimes), nginx has a really rude config file, and one of lighttpd's early selling points was "The configuration file format is not like Apache's". <Location></Location>, motherfuckers!
@mint@sjw@pyrate@graf@Moon@threat Accurate. It is probably worth noting that sequential read optimizations are the reason that NVMe disks are long, but also why data is prone to falling out of them.
@mint@sjw@pyrate@graf@Moon@threat That's a benefit. When we can get disks to spin at 0.95c, we'll be able to send the data into the future, making it arrive exactly at the time you need to retrieve it.
how does data fall out of nvme cells? that feels like you're walking the plank and blackbeard is ready to shove you overboard. should i ducttape more nvme together?