News for hackers. Stuff that matters.
Re:Rebuilding My Personal Infrastructure With Alpine Linux a... by snaky on Wednesday March 13, 2019 @12:50AM (#19375822)
> put each service in its own network

cgroups and network namespaces.

> run multiple versions of a software

https://devmanual.gentoo.org/general-concepts/slotting/index...

Re:Rebuilding My Personal Infrastructure With Alpine Linux a... by Svenstaro on Wednesday March 13, 2019 @01:23AM (#19375959)
That's a bit like saying "ORMs are too complex" before proceeding to eventually build your own crappy ORM. I think by accepting docker you gain a lot of support from a developer community which you'd otherwise not see if you assembled your own.
Re:Rebuilding My Personal Infrastructure With Alpine Linux a... by snaky on Wednesday March 13, 2019 @01:45AM (#19376063)
Before proceeding to eventually learn the modern SQL finally and write a couple of stored procedures to stop pumping terabytes of almost-raw data to your "application server" code to be filtered by ORM that is too complex to understand, and in the same time still too stupid to use half of the features your DBMS provides.
Re:Rebuilding My Personal Infrastructure With Alpine Linux a... by geezerjay on Wednesday March 13, 2019 @03:01AM (#19376357)
You're complaining about a scenario where you might have picked an ORM that didn't met your personal performance requirements. Even if you ignore that you are free to pick any ORM you choose and even if you assume that you have all the time in the world to refactor your project to an experimental setup that was never tested at all, your comment still sounds like a revamp of the old argument on how hand-rolled assembly is always superior to any compiled or interpreted code.
Re:Rebuilding My Personal Infrastructure With Alpine Linux a... by StreamBright on Wednesday March 13, 2019 @04:43AM (#19376845)
Actually many ORMs are way too complex and if you only need 3 selects + 2 inserts than yes avoid the ORM.
Re:Rebuilding My Personal Infrastructure With Alpine Linux a... by triplewipeass on Wednesday March 13, 2019 @01:12AM (#19375916)
Anyone building out a setup based on cgroups and namespaces will eventually arrive at a poorly specified, bug ridden mini Docker. Might as well get with the program early.
Re:Rebuilding My Personal Infrastructure With Alpine Linux a... by snaky on Wednesday March 13, 2019 @01:30AM (#19375992)
Anyone calling bc from bash script will eventually arrive at a poorly specified, bug ridden mini Mathematica?

Wrt "bug ridden"

> if I were having trouble with something Docker-related I would honestly feel like there was a 50/50 chance between it being my fault or a Docker bug/limitation

https://blog.abevoelker.com/why-i-dont-use-docker-much-anymo...

Re:Rebuilding My Personal Infrastructure With Alpine Linux a... by michaelcampbell on Wednesday March 13, 2019 @07:17AM (#19377603)
Unless you push the bits yourself, all you're arguing here is a personal preference for a particular level of abstraction in the continuum.