mm-ADT A Virtual Machine/AnEconomic Machine Dr. Marko A. Rodriguez DataDays Austin TX, January 2020 Database Keynote
It’s 2012 The MayanCalendar predicts the end of the world. The OSS community predicts a Golden Age of Data Technologies. NoSQL
Open Source Software costsmoney and time for research and development. In order to provide the world free open source software many of our young innovators created companies to fund the development of their technology.
The NoSQL Summer ofLove 2012uses uses uses uses uses develops develops develops develops develops
I compare usto the bridge, dam, and interstate builders of the 1930’s generation. This generation of developers built the modern world’s software data infrastructure. By making our software freely available, many institutions that would otherwise not pay for cutting-edge software have been able to advance their domain. We did something very good for this world.
Amazon’s use of ApacheTinkerPop for their internal operations is a perfect use of open source software. Amazon gets free software for their shipping logistics. Apache TinkerPop is tested at extreme scale on a world-class problem. DataStax, who were the primary developers at the time, is able to point (potential) customers to a success story. The Good
Amazon “Acquires” OSSCompanies for Free “Does Amazon contribute to these projects (benefitting users and the creators)?” Let’s see what the statistics say… The Ugly
The top contributorsdo not work for Amazon DataBricks DataBricks DataBricks DataBricks
1 2 510 20 50 100 5205020010005000 cassandra frequency commits 1 2 5 10 20 50 100 20502005002000 elasticsearch frequency commits 1 2 5 10 20 50 100 502005002000 mongodb frequency commits 1 2 5 10 20 50 100 501002005001000 spark frequency commits 1 2 5 10 20 50 100 15505005000 tinkerpop frequency commits α = 2.074 α = 1.69 α = 1.95 α = 2.19 α = 2.717 Smaller α means fewer people do most of the work. log/log-scale
Yes, AWS promisesto contribute back to Cassandra. The question is whether those contributions be more than self- serving ones … there are no incentives to make real progress. To Amazon’s credit, they already made a single major contribution in the form of the Dynamo paper, 12 years ago. https://www.scylladb.com/2019/12/04/managed-cassandra-on-aws-our-take/
1 2 510 20 50 100 5205020010005000 hbase frequency commits 1 2 5 10 20 50 100 5205020010005000 mariadb frequency commits 1 2 5 10 20 50 100 25201005002000 redis frequency commits α = 1.778 α = 1.713 α = 1.682
Amazon will continueto release products based on Apache Software Foundation technology. When Amazon has completed their exploitation and little competition exists they will use legal techniques to dismantle the Apache Software Foundation. Open source developers will use less liberal licenses. Innovation in our industry will come to a standstill. DataDays will be subsumed by re:Invent. The Apache Software Foundation had $1 million in their coffers for legal related issues in 2017. (prior to Amazon’s 2018 $1 million donation) Predictions
All popular opensource technologies will be taken by Amazon. All popular closed source technologies will be cloned by Amazon. Small agile data technology companies will struggle. The majority of jobs in data technology systems engineering will be at Amazon. Salaries in data technology will drop preciptously. Amazon employees will try to create labor unions. Amazon will squash any unionization efforts. Their employees will be stuck in legal quagmires. Predictions U.S. tax payers will be left to foot the bill on the most expensive anti-trust suit the U.S. government has ever endured.
The systematic desertificationof our industry in the pursuit of profits as opposed to the pursuit of innovation in our trade.
Oh father, loveof mine, you have built such wonderful things with all your time. In honor of your greatness, we followed behind and now of age, we give not what was mine. May our software make your machines sing to the heavens for all time. A NoSQL Poem for Amazon/IBM/Microsoft
g.V(1).out(‘knows’).id() int{*} <=[=graph] [is,[get,’id’][eq,1]] [get,’outE’] [is,[get,’label’][eq,’knows’]] [get,’inV’] [get,’id’] graph ->[graph -> vertex{*} |vertex -> [‘id' :int, ’inE’ :edge{*}, ’outE’:edge{*}] |edge -> [‘label’:str, ’outV’ :vertex, ’inV’ :vertex]] Storage Processor Language mm-ADT Virtual Machine initial [=graph] filter [is,[get,’id’][eq,1]] map [get,’outE’] filter [is,[get,’label’][eq,’knows’]] map [get,’inV’] map [get,’id’] processor supports requisite operators language compiles to the graph model storage exposes graph model [ a->b | c->d | e->f ] pattern matching “if lhs, then rhs”
mm-ADT is aboutcreating models in terms of other models. The base model is always mm. The ‘domain of discourse’ of the mm-ADT VM. Commonly used models are “standardize” by mm-ADT. mm : multi-model kv : key/value rdb: relational pg : property graph wc : wide column doc: documents rdf: resource description framework Storage providers expose their system via these models. Language providers write compilers to these models.
A user’s schemais a model… social -> [ person -> ['ssn' :int, 'friends':person{*}]] DSLs
social->[person -> ['ssn':int~x, 'friends':person{*} A user’s schema is a model… …that can be embedded in other models. social->[person -> ['ssn' :int~x, 'friends':person{*} social model => relational model => mm-ADT model DSLs social -> [ person -> ['ssn' :int, 'friends':person{*}]] social model => graph model => mm-ADT model
social->[person -> ['ssn':int~x, 'friends':person{*} <=(vertex{*} <=[=graph][is,[get,'id'][eq,x]] [get,'outE'] [is,[get,'label'][eq,'knows']] [get,'inV'])] <=(vertex <=[=graph][is,[get,'id'][eq,x]]) A user’s schema is a model… social model => graph model => mm-ADT model …that can be embedded in other models. social->[person -> ['ssn' :int~x, 'friends':person{*} <=(row{*} <=[=rdb][get,'people'][is,[get,'id'] [eq,[=rdb][get,'links'] [is,[get,'source'][eq,x]] [get,'sink']]])] <=(row <=[=rdb][get,'people'][is,[get,'id'][eq,x]]) social model => relational model => mm-ADT model DSLs social -> [ person -> ['ssn' :int, 'friends':person{*}]]
The mm-ADT virtualmachine serves as a universal integrator for the technologies of our industry. The mm-ADT economic machine serves as a universal integrator for the creators in our industry. mm-ADT
Independent open sourcedevelopers spend their time developing software that provides no financial compensation and, paradoxically, as the popularity of their project increases, success can lead to burnout and financial ruin. Entrepreneurial open source developers may form a company around their open source project. Unfortunately, such companies are easily obviated in the market because the core product is freely licensed and competing firms can offer the same product without having to invest in the research and development effort. Corporate open source developers are in the problematic situation where their work is dependent on their sponsoring organization who also controls the direction and pace of development as well as the interoperability and inclusion of any novel innovations within the project. Entrepreneurial Open Source Developers Lack a Competitive Edge Corporate Open Source Developers Sacrifice Autonomy Independent Open Source Developers Suffer Economically
The OSS Developer …isan artist, not an employee. …needs an agent, not a employer. …seeks to mentor, not to manage. …should be patronized, not invested in. …needs to be financially compensated for their work.
A Royalty-Based OpenSource Model Data Technology Developers Think Etsy+Apache A Non-Growth Company contractor
A Royalty-Based OpenSource Model mm-ADT mm-ADT mm-ADT design: Specify the component mm-ADT model. develop: Engineer the component binding. price: Decide the cost for licensing the component. promote: Write blog posts, academic articles, tutorials. maintain: Fix bugs and update over mm-ADT VM versioning. support: Mailing list Q&A, documentation, issue tracker. An mm-ADT component is created by an open source development team
A Royalty-Based OpenSource Model mm-ADT Virtual Machine Design MicroCyberRobo Corp
A Royalty-Based OpenSource Model mm-ADT Virtual Machine Develop MicroCyberRobo Corp
A Royalty-Based OpenSource Model mm-ADT Virtual Machine Compose MicroCyberRobo Corp
A Royalty-Based OpenSource Model mm-ADT Virtual Machine Purchase MicroCyberRobo Corp
A Royalty-Based OpenSource Model mm-ADT Virtual Machine Payout MicroCyberRobo Corp
A Royalty-Based OpenSource Model mm-ADT Virtual Machine Design Develop Compose Purchase Payout MicroCyberRobo Corp