|
Poopernickel posted:just use SSH and tunnel everything has anyone used mosh? is it worth it? would IT kill me?
|
# ? Nov 30, 2021 22:19 |
|
|
# ? Apr 26, 2024 17:25 |
|
mawarannahr posted:has anyone used mosh? is it worth it? would IT kill me? I donked around with it some. [iTerm2 local] + [tmux on remote] is a better fit for my use-case. Iterm2's tmux integration is serious magic. You don't need to gently caress around with tmux commands, config files, or anything. it "just works" and gives you a native-feeling terminal session that you can reconnect as needed. Poopernickel fucked around with this message at 22:29 on Nov 30, 2021 |
# ? Nov 30, 2021 22:26 |
DoomTrainPhD posted:What the gently caress are you talking about? Deployment happens in a pipeline, no random loving developer laptop get's to deploy anything Poopernickel posted:just use SSH and tunnel everything mawarannahr posted:has anyone used mosh? is it worth it? would IT kill me? so if you're on a train while using WWAN, basically
|
|
# ? Nov 30, 2021 22:34 |
|
I'm glad to use an OS that does not bundle a buy now, pay later pitch into a core part of the operating system. https://arstechnica.com/information-technology/2021/11/microsoft-plans-to-integrate-a-buy-now-pay-later-app-into-edge/
|
# ? Dec 1, 2021 03:22 |
|
BlankSystemDaemon posted:so if you're on a train while using WWAN, basically does that even matter any more? I was holding open an ssh tcp connection through the sf subway, transbay tube, and all that poo poo a decade ago with umts/hsdpa. mosh was that thing everyone wanted to keep their eye on for a few years when it came out, because it solved a problem we had at the time, but we didn't consider mosh safe/stable enough to see widespread use. then connectivity got better and mosh was kinda pointless for the majority of the users who thought it was neat.
|
# ? Dec 1, 2021 05:44 |
|
I have used it on an airplane over the lovely airplane wifi once or twice. The predictive local echo was nice for reducing the apparent latency of stuff I typed.
|
# ? Dec 1, 2021 09:17 |
nudgenudgetilt posted:does that even matter any more? I was holding open an ssh tcp connection through the sf subway, transbay tube, and all that poo poo a decade ago with umts/hsdpa. but connectivity has gotten a lot better for the most part the only other use-case for mosh i know of is the way i heard about it originally, with someone being trapped in an elevator
|
|
# ? Dec 1, 2021 12:34 |
|
mawarannahr posted:has anyone used mosh? is it worth it? would IT kill me? mosh should be mandatory installed everywhere whenever you have to access something over anything but a cable on a local LAN segment. Networking staff may be a hindrance because of UDP, but they probably haven't heard of HTTP/3 either. The networking staff at big exchange (tm) are still unaware that HTTP/2 is a thing and that's constantly amazing and an infosec 💩 fest. mosh also has some sort of type ahead support so it feels more responsive, very noticable long distance.
|
# ? Dec 1, 2021 12:41 |
|
Oh help me Lunix gurus. I have a family of three apps for MLB and need to move to Docker because of hardware issues. Simpleton approach: 1: Single Docker container with three apps and NGINX, exposing a single port. Single responsibility approach: 1: 3 × Docker containers, one for each app, each with an exposed port. 2: 1× Docker container for NGINX as a gateway, forwarding to the other three containers. The main sticking point is that NGINX needs access to the file system from two of the apps in order to provide sendfile acceleration of videos. How stupid is running NGINX in each container with the two apps that need acceleration, and passing that through the gateway as an additional hop? Also, does ffmpeg work in Alpine without major issues? Oh what a mess. MrMoo fucked around with this message at 12:52 on Dec 1, 2021 |
# ? Dec 1, 2021 12:49 |
|
MrMoo posted:Oh help me Lunix gurus. I have a family of three apps for MLB and need to move to Docker because of hardware issues. can you not mount a volume into multiple dockers using compose? its trivial with kubernetes (i am not suggesting using kubernetes)
|
# ? Dec 1, 2021 17:58 |
|
Nomnom Cookie posted:can you not mount a volume into multiple dockers using compose? its trivial with kubernetes (i am not suggesting using kubernetes) You absolutely can.
|
# ? Dec 1, 2021 18:01 |
|
Nomnom Cookie posted:kubernetes No
|
# ? Dec 1, 2021 18:23 |
|
DoomTrainPhD posted:You absolutely can. ok then yeah do that op i agree k8s is inappropriate for this use case, it is just what i have experience with
|
# ? Dec 1, 2021 18:24 |
imagine that i posted a flowchart with the question "are you a hyperscaler" leading to a boolean where yes is "use kubernetes" and no is "don't use kubernetes".
|
|
# ? Dec 1, 2021 18:44 |
|
don't use alpine
|
# ? Dec 1, 2021 18:57 |
|
Progressive JPEG posted:don't use alpine This. Musl is slow and bad.
|
# ? Dec 1, 2021 18:57 |
|
Progressive JPEG posted:don't use alpine ive only started learning about docker in the past couple of weeks. what do you like instead
|
# ? Dec 1, 2021 18:59 |
|
post hole digger posted:ive only started learning about docker in the past couple of weeks. what do you like instead Debian/Ubuntu is the best choice for a docker container base. You have to setup some timezone stuff at the top of your dockerfile first though. IE: code:
|
# ? Dec 1, 2021 19:02 |
|
BlankSystemDaemon posted:imagine that i posted a flowchart with the question "are you a hyperscaler" leading to a boolean where yes is "use kubernetes" and no is "don't use kubernetes". this except both arrows go to "don't use kubernetes"
|
# ? Dec 1, 2021 19:09 |
|
it's no coincidence that kubernetes rhymes with diabetes
|
# ? Dec 1, 2021 19:11 |
|
What are the alternatives to K8s?
|
# ? Dec 1, 2021 19:13 |
|
Poopernickel posted:this except both arrows go to "don't use kubernetes" why not DoomTrainPhD posted:Debian/Ubuntu is the best choice for a docker container base. interesting thanks. i am most familiar with rhel/centos but will look into this
|
# ? Dec 1, 2021 19:13 |
|
post hole digger posted:why not I like RHEL in docker containers as well! It just happens to be a bit fatter.
|
# ? Dec 1, 2021 19:14 |
|
MrMoo posted:2: 1 Docker container for NGINX as a gateway, forwarding to the other three containers. This is the option I would choose. As adding more containers (if needed) in the future is easier with this option. Edit: Also cert management, as the other containers don't have to be running HTTPS, only the frontend, so you only have one container that has to deal with HTTPS certs.
|
# ? Dec 1, 2021 19:22 |
|
DoomTrainPhD posted:What are the alternatives to K8s? real alternatives offered by real yospos posters: * simply do not have more than 3 EC2 instances * docker swarm * bake an AMI for each app and run everything in ASGs * have a single mission critical server that is never allowed to have even a minute of downtime, even for a kernel update
|
# ? Dec 1, 2021 19:24 |
|
unpopular opinion: Unless you're working at ~*EnTeRpRisE ScAle*~, containers are almost always unnecessary. They add another layer of complexity and offer no benefit over just using your distro's package manager and systemd sandboxing. The pendulum will swing away from containers within the next 4 years, guaranteed. Poopernickel fucked around with this message at 19:28 on Dec 1, 2021 |
# ? Dec 1, 2021 19:25 |
Poopernickel posted:The pendulum will swing away from containers within the next 4 years, guaranteed.
|
|
# ? Dec 1, 2021 19:48 |
|
Poopernickel posted:unpopular opinion: Unless you're working at ~*EnTeRpRisE ScAle*~, containers are almost always unnecessary. They add another layer of complexity and offer no benefit over just using your distro's package manager and systemd sandboxing. It's an unpopular opinion because it's wrong lol. Nomnom Cookie posted:real alternatives offered by real yospos posters: I laughed at docker swarm.
|
# ? Dec 1, 2021 19:55 |
|
Hey guys, this thing that sandboxes your application, makes dependency management easier, locks down dependencies, and makes development much easier for developers is just a fad because it requires learning something new and a tiny bit of setup.
|
# ? Dec 1, 2021 20:00 |
|
as if docker doesn't have any downsides it makes dependency management easier because it hides all dependencies
|
# ? Dec 1, 2021 20:07 |
|
Tankakern posted:as if docker doesn't have any downsides I never said containers didn't have any downsides, but those downsides are far outweighed by the upsides. Edit* If anything, I would recommend not using docker in favor of podman if you can do so.
|
# ? Dec 1, 2021 20:10 |
|
Tankakern posted:it makes dependency management easier because it hides all dependencies true and good
|
# ? Dec 1, 2021 20:14 |
|
Cybernetic Vermin posted:true and good
|
# ? Dec 1, 2021 20:15 |
oldie but goodie: https://www.youtube.com/watch?v=CPRvc2UMeMI
|
|
# ? Dec 1, 2021 20:24 |
|
in my day they called containers "application pools" or "servlets"
|
# ? Dec 1, 2021 20:28 |
|
When you do a docker, your dockered thing has more dependencies, not less. Because now it depends on docker too, in addition to all of the stuff that still has to go into the docker image. And it probably also depends on some server that hosts the docker image, unless you rebuild it every time. And extra configuration for the host system that's running dockerd.
|
# ? Dec 1, 2021 20:35 |
|
Poopernickel posted:When you do a docker, your dockered thing has more dependencies, not less. Because now it depends on docker too, in addition to all of the stuff that still has to go into the docker image. And it probably also depends on some server that hosts the docker image, unless you rebuild it every time. And extra configuration for the host system that's running dockerd. you honestly think you just wrote a very insightful post, don't you
|
# ? Dec 1, 2021 20:54 |
|
Poopernickel posted:When you do a docker, your dockered thing has more dependencies, not less. Because now it depends on docker too, in addition to all of the stuff that still has to go into the docker image. And it probably also depends on some server that hosts the docker image, unless you rebuild it every time. And extra configuration for the host system that's running dockerd. Podman is daemonless. Everything you just said about more dependencies is not a bad thing when it means your application is sandboxed, and you don't have to deal with different distributions/package managers, or different versions of dependencies. Either you are trolling, or very bad at Linux.
|
# ? Dec 1, 2021 20:55 |
|
if all your apps have first party docker images and your setup is simple you actually have less configuration than any other setup
|
# ? Dec 1, 2021 20:55 |
|
|
# ? Apr 26, 2024 17:25 |
|
Perplx posted:if all your apps have first party docker images and your setup is simple you actually have less configuration than any other setup No no, don't you see, Docker is a dependency! A DEPENDENCY! IT'S ONE MORE! UNACCEPTABLE!
|
# ? Dec 1, 2021 20:57 |