JasonDJ
@JasonDJ@lemmy.zip
- Comment on Moving db data (MariaDB) to NFS NAS Hello self-hosters! :) I’d like to tap in 1 week ago:
It’s okay for small scale, dev, etc…on a fast and flat/local network.
But databases really don’t like NFS, SMB, or most file sharing protocols. There’s too much transaction overhead.
The effect gets exponentially worse as you add in latency. Database may as well be on the moon if you’ve got more than 10ms between it and the app (hyperbole but not really).
Use fast local storage, ideally. Or block if you have it. Async replicas if you are chasing 9s.
- Comment on My domain is accessible from external networks but not from my internal network. Might anyone know why? 2 weeks ago:
This is one of the right answers, and probably the easiest.
But…who is your domain registered with? A lot of the big registrars (I.e. CF) can easily integrate into several opnsense plugins…namely ACME/HAProxy, and Dynamic DNS.
Dynamic DNS would make sure that “pubip.mydomain.com”, from the outside, always pointed to your Internet connection, even if your IP changes.
Then just register CNAMEs for your external services to point to your pubip.mydomain.com.
HAProxy reads the CNAME and directs it to the right service.
You can either use split DNS and have HAProxy listen on both the internal and external, and map DNS around that way…or you can just listen on your external interface and connect that way and only update one end.
Imo this is the more comprehensive solution, because this also easily solves certificates (via ACME). The last leg (from HAProxy to backend) and be unencrypted or just use long-life self-signed certs if you really care…but I wouldn’t worry about certs on the inside of a homelab.
- Comment on PSA: Oracle Cloud Free Tier halved 1 month ago:
You see what happens, Larry?
You see what happens?
This is what happens, Larry. This is what happens when you find a stranger in the Alps. This is what happens when you feed a stoner scrambled eggs.
- Comment on MoCA vs Ethernet Home Setup 1 month ago:
You are probably fortunate enough to live in an area with not a lot of wireless interference, or don’t have a lot of wireless devices on your network, or all your devices are rather modern.
You can have good wireless…it won’t be as good as wired, never will or can be. By it’s very nature it has to be a shared medium, which by it’s very nature must be half duplex. Then there is the matter of sharing time with other stations on the same channel (and not necessarily on your network or under your control).
But for most things it can easily be “good enough”. Certainly wouldn’t run a server on wireless. Generally worse performance for realtime voice/video/gaming as well, because latency and jitter matter, and by having to share the channel with other stations, jitter is a fact of life.
And unsteady wireless is the #1 cause of VPN complaints in my office. By a very wide margin. Miraculously the problem always goes away as soon as they plug in.
But for casual web browsing, occasional large downloads (there’s a reason mobile apps don’t really show you how many B/s your transferring), streaming media…yeah, wireless can easily be good enough.
- Comment on "Hephaestion was just his homie" 2 months ago:
Those ancient greeks man…they were so progressive, with their democracy and their separation of biological sex from their sexuality.
I’m no historian but it really sounds like Greece was a pretty sweet place, at least for the privileged classes. I consider myself pretty straight, but the idea of truly free love is absolutely magical.
You know one of the most surefire methods of oppression…particularly among slaves or a subservient class…is to control their sexuality? Complete control over who, when, and where you may fuck. Tough to do on a population level though. But we can make certain behaviors uncouth. Make homosexuality a “sin”, make sodomy and interracial marriage criminal, etc.
Some things, in our biological and ethical scope, make sense…like incest and pedophilia. Although it could also be said that our knowledge of biology and ethical code also prohibited sodomy and interracial intercourse, while apparently Ancient Greece’s encouraged them.
- Comment on "Hephaestion was just his homie" 2 months ago:
Now do Alexander the Hamilton. He liked Laurens a lot, and also Mulligan’s pants.
- Comment on NASA, with the tampons. 2 months ago:
Yeah right. Like I am a man and I don’t wear makeup but that actually sounds fascinating. I would fly to space and wear it for science.
- Comment on NASA, with the tampons. 2 months ago:
That’s like 14 tampons a day…
…Thanks for filling me in!
Phrasing!
- Comment on NASA, with the tampons. 2 months ago:
Nasa engineers asked the first American female astronaut, Sally Ride, back in 1983, if 100 tampons would be enough for her 1-week mission.
Apparently the engineers may have had an understanding of menstruation…but they didn’t have an understanding of how menstruation works in zero-gravity. So, in true NASA fashion, they wanted to have redundancies on redundancies.
Sally informed them that 100 would be more than enough and she could do with far fewer.