Martijn Dekker <
mar...@inlv.demon.nl> writes:
>That makes sense, thanks. It does seem like a big performance price to
>pay to treat *all* packages that way even though only a few system
>packages really need it.
The number of packages that can benefit from this are actually more
than just the system packages. While being able to install the package
at all is important, such as in the case of reinstalling or upgrading
the tar package, a number of other package upgrades might need to
avoid breaking a currently running package. When you're running a
server that needs to be up most of the time, then doing updates by
taking the whole program down, and then doing then update, and then
bringing the server back up can work just fine, but sometimes its
better to have a safe upgradepkg that will allow applications in
memory to continue to run. This can (in some applications) greatly
reduce your downtime when upgrading packages. Indeed, if you are
just updating for security and not for any ABI changes, then you
should be able to upgrade the package with basically zero downtime
or as close as makes no difference. However, this requires upgradepkg
to be able to do the inplace replacement, rather than deleting all
the files beforehand.
--
Aaron W. Hsu |
arc...@sacrideo.us |
http://www.sacrideo.us
לֵ֤ב חֲכָמִים֙ בְּבֵ֣ית אֵ֔בֶל וְלֵ֥ב כְּסִילִ֖ים בְּבֵ֥ית שִׂמְחָֽה׃