Live data from Hacker News

We achieved a 6-fold increase in Podman startup speed

redhat.com

191–196 of 196 posts

Re: We achieved a 6-fold increase in Podman startup speed

#191
post #179
post #72

Earlier quoted context omitted.

It buys you conformance to Conway's Law. The team building the media center is that much more certain that the climate control code is fully isolated, up to and including the ability to have their own fully isolated filesystem so updating a single library won't take anything else down (and updating a single library doesn't require buy-in from everybody who works on the car), and that they only communicate exactly and…

I'm not saying that containers are useless and it is more sealed than just separate UIDs, but in theory you could have all those benefits with separate paths for separate users too. Didn't Android also use UIDs for app level separation?

The problem with that approach is that as you scale up, it becomes hard to be sure you're isolated. And that lack of clarity in the human comprehension turns into technical ways in which it will turn out that you're not isolated after all, for instance my example of a base system library upgrade that one team does and breaks another team.

You can in theory fully isolate everything between teams, but without technical barriers preventing you from crossing, you will eventually cross.

Plus you have the problem that while full isolation will benefit your project and your company three to five years from now, violating the isolation benefits the company now. Every monolithic bit of software in the world could have been split, but there are real reasons why it wasn't, and they don't go away because someone observes that it could have been done a different way.

Isolated containers, by providing a technical barrier, allow the teams to be sure that they are both isolated from other teams breaking them, and breaking other teams, with things like library upgrades. It's a significant change.

It is productive to consider the difference in the Android world, but I would submit the isolation works in another dimension there, by virtue of the various apps being by necessity utterly isolated in Conway's Law terms. Within a single corporate entity there are many more temptations to get short-term wins by violating the barriers that theoretically should be there.

Re: We achieved a 6-fold increase in Podman startup speed

#192

Earlier quoted context omitted.

I think it's more because Linux OS developers have never bothered to move away from Unix's "all apps get mixed together at absolute locations" filesystem model. If apps were like on Mac - self-contained directories that can be installed at any path - then Docker would probably be a footnote.

> mixed together at absolute locations There is DT_RUNPATH probably since before I was born. The problem is it's not always utilised, distributions prefer to share libraries over isolating applications, and loading shared libraries isn't the only host-dependent thing done by application code. Also you realise that docker provides more functionality than a tarball, right?

Yeah I'm not saying that you can't do it, just that nobody does do it.

Re: We achieved a 6-fold increase in Podman startup speed

#193

I am very likely one of only a few people but it really irritates me when the term "fold" is used when they really mean "times". Folding a piece of paper (just like binary numbering) 6 times will provide you with a stack of 64 sheets. They did not have a performance increase of 64 times. This is identical to the idea of stating "magnitude" as being the number of times based on 10. How wrong am I?

Haha I like that idea, but it's your own personal definition. "-fold" is multiplicative and it's used to flexibly change the part of speech since at least Old English [1]. You can think of folds as referring to the individual layers of something folded, rather than the action of folding. It can be either depending on context. I can make 64 folds (layers) by making 6 folds (actions).

[1] https://www.etymonline.com/word/-fold

Re: We achieved a 6-fold increase in Podman startup speed

#194
post #163

Earlier quoted context omitted.

I fixed this by adding a printer server to my NAS and use that for AirPrint and the like. Smart power socket to prevent the printer from drawing power all the time. No need to have a smart printer.

Most people don't have, or want to maintain, a NAS + print server, having the print server software built into the printer is perfectly reasonable for a consumer product!

In my experience everyone that has an old trusted printer that they don’t want to get rid of do have enough hardware running for a server and using it like that. Obviously it’s not for everyone.

Re: We achieved a 6-fold increase in Podman startup speed

#196

Earlier quoted context omitted.

Mechanics call this the money light. :)

Indeed. When I took my car in last winter because the light had come on for no apparent reason, as the car was running fine, they charged me $140 to take it out on the road to try to find the reason. No reason was found. Two weeks later, the light came on again (towards the end of 2022). The car was and is running fine. The light will remain on until July when I take it in for a scheduled oil change.

Sounds like it was an intermittent fault? If so, those are notoriously hard for any mechanic to diagnose. Cars _usually_ store code history but it's up to the manufacturer and often the data they provide to the mechanic with a scan tool is misleading or an outright pack of lies.
Post reply on HN