by knuton · 17y ago · 0 comments
(This is a serious question.)
You see this pattern all over the world, Unix versus Windows coming to mind. The best technical implementation of your software doesn't guarantee the best position in the market, even in a tech market.
Because idiot MBA managers have heard of MySQL but not Postgres. (Sorry -- I couldn't resist.)
The longer answer:
When the internet took off, MySQL was a lot better than Postgres in terms of stability and speed, though not in terms of features. It grabbed marketshare and "mindshare" then, and it has retained them, even though now Postgres is its superior in terms of features, concurrency, and stability. Because of the marketshare snowball effect, it also remains far easier to hire a MySQL tech and to explain MySQL to a non-technical manager.
MySQL also continues to lead in the realm of simple andd effective replication, which Postgres does not have yet, though they are working on it (furiously).
There were one or two commercial replication packages which I didn't get a chance to play with, but the "standard" replication for Postgres, Slony, is incredibly difficult to deal with. By comparision, MySQL's replication tends to "just work" (easier configuration, easier to diagnose & fix problems, setup, tweak, etc).
It also had a lot to do with marketing and buzz; Postgres seems to have been happy to chug along in the background while a lot of big sites like Slashdot were pushing the tool they used. Keep in mind originally MySQL was not GPL and did not ship with RedHat, the default was Postgres. I recall when MySQL changed their licensing and RedHat started shipping them, it signified a pretty rapid change in what people were using.
All things considered, everytime I use Postgres I'm fairly impressed. I've been able to pretty painlessly migrate Oracle based systems directly to Postgres with it's PL/SQL compatibility, and it's Python stored procedure stuff is useful.
MySQL was faster and supported by PHP. MySQL stopped being faster in a relatively short time, by then MySQL already had the mind-share (and thus resource) advantage.
Exact same situation as Linux vs. BSD -- an early boost (in that case, the AT&T lawsuit) led to a long-term lead, regardless of whether that lead was otherwise warranted.
If company A donates software S to GPL project G, company B cannot take it and incorporate into its product P unless it's GPL and, thus, usable by A. The same safeguard does not apply to BSD projects, hence, you see companies contributing more to Linux than to BSD.
If it wasn't for the fact that, feature for feature, FreeBSD is generally on-par (or ahead of) Linux, that argument would hold more weight.
In fact, for a non-service organization, it's safer to donate your source code to a BSD project because you don't have to donate all of it.
See, for instance, Juniper Networks -- one of Cisco's larger competitors, they rely on FreeBSD to power their routing/switching products, and they employee a number of FreeBSD developers in the process.
Quite a lot of BSD development is commercially funded, primarily by companies that rely on the code for their own products.
Linux, however, sees considerable contributions from companies that rely on Linux for their service offerings (such as IBM) -- Linux has the mindshare advantage, and as such, a service company needs to support it.
They are both fairly mature implementations of Unix. It is expected they shown little difference in feature set.
"it's safer to donate your source code to a BSD project because you don't have to donate all of it."
Why would you have to donate all of it? I can donate parts of a program to any project I want. What I shouldn't do in this case is to assign copyright to the project maintainer. Linux kernel developers don't have to assign copyright to the Linux Foundation.
The case for Juniper is that they can simply adopt an OS, customize it as much as they want and give back to the developers that gave this to them whatever the developers they paid wrote that is not part of their secret sauce.
I think for IBM the case is to make it easier to sell xSeries and zSeries servers if they run Linux better. As for the p's, I think they prefer to sell them with AIX. I don't think their service organization benefits much from their involvement.
Not everybody who does web apps needs replication.
who really is using mysql replication. and how interesting was a master/slave setup - the only kind of replication provided up until 4.1 (2004). i would imagine if you know howto setup your apps to work with only one master, you would know about postgres.
would really be interested if any middle-sized (not slashdot) websites use mysql replication (which setup) and since when.