DEV Community

Cover image for The Beauty of Open Source
Thomas Hansen
Thomas Hansen

Posted on • Originally published at docs.aista.com

The Beauty of Open Source

At Aista we have chosen to base our entire business model upon open source. For a traditional business based upon secrecy and "trade secrets", such a choice might look weird, since we're basically giving away our filet mignon for free you might say. However, for a small startup it allows us to "compete" in a segment traditionally unreachable for a small company such as us. Let me illustrate this with a simple story about our codebase to illustrate the point.

One of the databases we support in Magic Cloud is MySQL. MySQL's database connector for .Net has a long standing bug related to async retrieval of data. If MySQL was closed source, there would be no way anybody would really know, except that all attempts to fetch data from a MySQL database would be blocking invocations, resulting in much less scalability and throughput for your backend as it fetches data from your MySQL instance. At some point some smart developer understood the problem, and more importantly how to fix it. At Aista we had no idea about these issues with MySQL's default data connector. However our codebase was open source, so we didn't need to know, since due to our codebase being open source another smart developer discovered the issue for us, and fixed it without us having to do anything but click the "Accept pull request button". Thank you Bradley Grainger.

If any one of the above parts of our infrastructure was closed proprietary code, there would be no way we would be able to have the above scenario unfold. If MySQL was closed source, the developers behind MySQL Connector would not be able to neither discover it nor fix it. If our codebase was closed source, Bradley wouldn't be able to discover our issues, etc, etc, etc. Every single part of our codebase would need to be open source from the bottom to the top for us to be able to harvest the quality improvements that Bradley applied for us, for free may I add. So by arguably "giving away our filet mignon for free", we get to play in a more even playing field, where we can more easily compete with "the big guys", resulting in quality improvements of our product, typically only achievable for huge companies such as Google or Microsoft. I think Linus Torvalds most adequately explains it as follows.

Open Source is the only way I can create great software

Thank you MySQL, thank you Bradley, thank you MySQLConnector, and thank you Open Source - We love you all. For the record, if you want to contribute to Magic, the easiest place to start is here.

Top comments (0)