Earlier quoted context omitted.
> I've run Oracle in a container Danger, danger https://www.theregister.co.uk/2016/02/24/oracle_vmware_licen...
Relax, nothing is fucked here dude... https://blogs.oracle.com/developer/entry/creating_and_oracle... https://github.com/oracle/docker-images/tree/master/OracleDa...
Why Databases Are Not for Docker Containers
161–170 of 184 posts
Re: Why Databases Are Not for Docker Containers
#162Earlier quoted context omitted.
> Why is a process running within a container failing over more frequently than a process running directly on bare metal Because the way to change anything in a container is to kill it and restart it. That's a fundamental difference compared to managing/maintaining a database not in a container.
Unless you've written very poorly behaving software, you kill it by sending it a SIGTERM, and waiting for it to exit. This is true of software both within and outside of containers. The fact `docker kill` defaults to using SIGKILL instead of SIGTERM is unfortunate, and something one should be aware of before deploying a process with docker, but again, this does not make the process running within the container inhere…
Re: Why Databases Are Not for Docker Containers
#163Earlier quoted context omitted.
Some systems cope with failure better than others. Everything you've said is also true of DB running on top of a uniform linux stack. From my experience (500+ large scale production deployments) this doesn't happen very often. Does it solve all problems? No. Does it make the world a little better and is it better than monolithic single points of failure? Yes.
>> 500+ large scale production deployments This needs to be qualified.... Did you deploy a single system 500 times, or 500 different systems? Or some combination thereof.
Re: Why Databases Are Not for Docker Containers
#164Earlier quoted context omitted.
Yeah volumes skip unionfs. This article is full of FUD. The author demonstrates they don't really have enough experience to make these claims. I wonder if google has database nodes in containers? Kubernetes is adding the features for containers now. I think it is stable now.
> I wonder if google has database nodes in containers? I've been wondering this for a while. I'm sure some of the big players do it, but I'd really like to see a case study from one of them.
Re: Why Databases Are Not for Docker Containers
#165> But what about Configuration Management systems? They’re designed to solve this kind of routine by running one command. The problem with this for most of the developers you see praising containers, is that with a containerized setup, you've already got the rest of your deployment process down to `docker service update --image myorg/myservice:1.3.0 myservice` (And, in fact, maybe you're even running that code agains…
This sounds right to me. As a DBA containers appear to be a nightmare. I'm employed as an absolute expert in my product. A developer may know how to use Docker but are they an expert? Now... * Who is going to look after the middle ground when the database is in the container? * Who is going to be responsible for rewriting enterprise tools to discover those instances to gather metrics? Because none of the traditional…
(Also, while you mentioned all Microsoft tools here, the same issues apply to Linux based containers)
Re: Why Databases Are Not for Docker Containers
#166Re: Why Databases Are Not for Docker Containers
#167Earlier quoted context omitted.
Relax, nothing is fucked here dude... https://blogs.oracle.com/developer/entry/creating_and_oracle... https://github.com/oracle/docker-images/tree/master/OracleDa...
I'm going to have to agree with the other reply. One hand doesn't know what the other is doing and the team that does audits to prop up revenue isn't going to care about that blog post unless it has legal language in the license that allows you to bypass licensing restrictions. That said, there's free versions of Oracle's databases for development and they may have exceptions for development purposes so if that's wha…
Re: Why Databases Are Not for Docker Containers
#168Earlier quoted context omitted.
>> 500+ large scale production deployments This needs to be qualified.... Did you deploy a single system 500 times, or 500 different systems? Or some combination thereof.
It's a mix. I'm a consultant that specializes in large scale distributed systems. I have some customers that have >100k production database nodes. I manage probably >50PB of data. I have designed large distributed systems for more than 100 customers.
By the way, How to have 100 customers => leave right after the design phase every single time. Clients add up quickly.
Re: Why Databases Are Not for Docker Containers
#169Earlier quoted context omitted.
VMs share resources from the host: disk, network, memory. Just like a container shares resources from the host. Containers re-use the running Operating System from the host, it saves memory but it can only run a single OS. A VM can run any operating system, and each VM runs its OS independently. VMs are memory intensive, there is a base 100-500MB to pay to run any VM because of the independent OS. (Note that the adva…
Containers give the OS the ability to optimally schedule processes among them. VMs are black boxes to the hypervisor, limiting its ability to optimize.
Re: Why Databases Are Not for Docker Containers
#170Earlier quoted context omitted.
You realize that the first line of the README says that this project is obsolete and they stopped developing it?
The line before that says they working on taking those learnings into libcontainer.