News for hackers. Stuff that matters.
Re:Dokku: A small PaaS implementation by thelarry on Wednesday June 19, 2013 @05:56PM (#5908625)
Isn't running a database in a container sort of bad practice? Especially if it does a lot of io
Re:Dokku: A small PaaS implementation by shykes on Wednesday June 19, 2013 @06:06PM (#5908700)
No. In terms of io and other kinds of overhead, you are always better off running your database on a container rather than a VM. The majority of public cloud database services are either running inside containers, or in the process of migrating to containers.

An additional advantage of containers is that you can start running them on top of a VM, and then migrate to bare metal later, as your infrastructure requirements evolve.

Re:Dokku: A small PaaS implementation by thelarry on Wednesday June 19, 2013 @06:19PM (#5908789)
I think in my head I had container ON A VM. Which just inherits the problem of running it on a VM. Is there a good linux tool for limiting the IO of a process or user?
Re:Dokku: A small PaaS implementation by wmf on Wednesday June 19, 2013 @06:47PM (#5908946)
Networking uses tc and disk uses the block I/O controller. https://www.kernel.org/doc/Documentation/cgroups/blkio-contr...