Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Borg containers consisted generally of a single process...

Really?

My impression was that typically you'd have a process for the service, a borgmon process for monitoring, and maybe another process to ship logs off in the background.

Developers would only think about the service process (which itself typically was a fairly thin shim in front of other services), but a borg container would have more than that going on in it.



The borgmon process would be a completely separate job on separate machines (generally with a lot fewer instances).

The logsaver would also be a separate job, although typically running co-located 1:1 with instances of the actual service job. The service and the logsaver would have access to the same chunk of disk (where the logs were generated) but otherwise they were separate as far as the kernel was concerned. (As far as Borg was concerned they were very much related, but that was at a much higher level than the kernel).


You are right. I was remembering that I'd see those three together in the borg file, and was thinking about them being co-located because of that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: