![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.hogru.ch/api/v3/image_proxy?url=https%3A%2F%2Flemmy.world%2Fpictrs%2Fimage%2Fc47230a8-134c-4dc9-89e8-75c6ea875d36.png)
That’s only for vehicles. It isn’t the same thing.
That’s only for vehicles. It isn’t the same thing.
This is promising, thanks!
That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it.
Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).
Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.
Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).
I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.
I’m getting conflicting replies, so I’ll try running separate containers (which was the point of going the docker way anyway - to avoid version dependency problems).
If it doesn’t scale well I may just switch back to non-container hosting.
Thank you for an excellent explanation and blogpost. I’m getting conflicting answers, even on this question, but most authoritative sources do backup what you’re saying re:FS. I’m trying to wrap my head around how that works, specifically with heavy processes. I’m running on a VPS with 2 GiB of RAM and mysql
is using 15% of that.
At this point I have my primary container running. I guess I’ll just have to try spinning up new ones and see how things scale.
What if your services need different database versions, or even software? Then different database containers is probably better.
This version-independence was what attracted me to docker in the first place, so if it doesn’t work well this way then I may just replace the setup with a conventional setup and deal with dependency hell like I used to - pantsseat.gif.
Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight.
Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones.
That would be ideal, per my understanding of the architecture.
So will docker then minimize the system footprint for me? If I run two mysql containers, it won’t necessarily take twice the resources of a single mysql container? I’m seeing that the existing mysql process in top
is using 15% of my VPS’s RAM, I don’t want to spin up another one if it’s going to scale linearly.
SFP: Small Factor Pluggable (I had to look it up)
That’s weird then. Never happened to me and I’ve used it everyday for a couple of weeks now. I wonder if the two bugs are related.
Also sometimes it just literally does nothing. Push the play button and nothing at all happens.
That’s a bug with the notification/lockscreen widget AFAICT. Pressing play on the main player window should work. This is the most serious bug I’ve found. It’s quite a promising player otherwise.
I’m happy to know that Pocketcasts is OS now, that was my player of choice before trying to jump to Antennapod.
You may want to try sd cards designed for security cameras. They are meant to be recorded to 24/7 and have higher write endurance.
Not everyone speaks to make a change. Some do it just because it’s liberating to speak the truth.
Fantastic comment, thanks!
The SSD write distribution theory sounds plausible but do you have any sources on that?
I wouldn’t be surprised if SSD controllers distribute writes across partitions, transparently to the OS; if I was an engineer designing these things that’s how I’d do it.
Feels like good practice to have /home
mounted on a separate partition if you want to install a different distro or reinstall but I’ve never had to test the theory.
I can answer that as an Indian casually in the market for an EV. The infrastructure isn’t really as good as western countries. Charging stations aren’t easy to find outside of major highways, and they aren’t as visible.
For intra-city users:
EVs are considerably more expensive than ICEs and India is a very price-sensitive market. The biggest successes for EVs here are Tata Nexons, for example. The ICE version starts at almost half the price of the EV.
Buyers will compare and run the numbers and unless you use it a lot, it can go either way. That combined with the iffy infrastructure is enough to make many people just go for ICE right now, in the hope that their next car will be an EV, when prices come down and tech is next-gen.
It is bound to happen. Prices are falling and more EVs are on the road, but it hasn’t reached critical mass yet.
Also, BYDs are actually quite expensive here compared to home grown solutions. Check the Tata EV range out.
Another factor that you’re overlooking is that India has a huge market of 2 wheelers, 3 wheelers and mini trucks. That’s a space where EVs make a lot of sense. They pay for themselves the more you use them.
So in food delivery, logistics, courier services etc., there’s already a very noticeable shift in motion, and that’s promising.