{"id":1869,"date":"2012-12-27T15:45:34","date_gmt":"2012-12-27T15:45:34","guid":{"rendered":"http:\/\/www.odbms.org\/blog\/?p=1869"},"modified":"2014-06-05T15:37:36","modified_gmt":"2014-06-05T15:37:36","slug":"in-memory-oltp-database-interview-with-asa-holmstrom","status":"publish","type":"post","link":"https:\/\/www.odbms.org\/blog\/2012\/12\/in-memory-oltp-database-interview-with-asa-holmstrom\/","title":{"rendered":"In-memory OLTP database. Interview with Asa Holmstrom."},"content":{"rendered":"<p><strong><em>&#8220;Those who claim they can give you both ACID transactions and linearly scalability at the same time are not telling the truth because it is theoretically proven impossible&#8221;<\/em> &#8211;Asa Holmstrom.<\/strong><\/p>\n<p>I heard about a start up called <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.starcounter.com');\"  href=\"http:\/\/www.starcounter.com\">Starcounter<\/a>. I wanted to know more. I have interviewed the CEO of the company <strong>Asa Holmstrom<\/strong>.<\/p>\n<p>RVZ<\/p>\n<p><strong>Q1. You just launched Starcounter 2.0 public beta. What is it? and who can already use it?<\/strong><\/p>\n<p><strong>Asa Holmstrom<\/strong>:  Starcounter is a high performance in-memory OLTP database. We have partners who built applications on top of Starcounter, e.g. AdServe application, retail application. Today Starcounter has 60+ customers using Starcounter in production.<\/p>\n<p><strong>Q2. You define Starcounter as &#8220;memory centric&#8221;, using a technique you call &#8220;VMDBMS&#8221;. What is special about VMDBMS?<br \/>\n<\/strong><\/p>\n<p><strong>Asa Holmstrom<\/strong>:  VMDBMS integrates the application runtime virtual machine (VM) with the database management system (DBMS). Data only residees in one single place all the time in RAM, no data is transferred back and forth between the database memory and the temporary storage (object heap) of the application. The VMDBMS makes Starcounter significantly faster than other in-memory databases.<\/p>\n<p><strong>Q3. When you say &#8220;the VMDBMS makes Starcounter significantly faster than other in-memory databases&#8221;, could you please give some  specific benchmarking numbers?  Which other in-memory databases did you compare with your benchmark?<\/strong><\/p>\n<p><strong>Asa Holmstrom<\/strong>: In general we are 100 times faster than any other RDBMS, 10 times comes from being IMDBMS, 10 times comes from VMDBMS.<\/p>\n<p><strong>Q4. How do you handle situations when data in RAM is no more available due to hardware failures?<\/strong><\/p>\n<p><strong>Asa Holmstrom<\/strong>: In Starcounter the data is just as secure as in any disk-centric database. Image files and transaction log are stored on disk, and before a transaction is regarded committed it has been written to the transaction log.<br \/>\nWhen restarting Starcounter after a crash, a recovery of the database will automatically be done. To guarantee high availability we recommend our customers to have a hot stand-by machine which subscribes on the transaction log.<\/p>\n<p><strong>Q5. Goetz Graefe, HP fellow, commented in an interview (ref.1) that &#8220;disks will continue to have a role and economic value where the database also contains history, including cold history such as transactions that affected the account balances, login &#038; logout  events, click streams eventually leading to shopping carts, etc.&#8221;   What is your take on this?<\/strong><\/p>\n<p><strong>Asa Holmstrom<\/strong>:   As we have hardware limitations on RAM databases in practice about 2TB, therefore there will still be a need for database storage on disk.<\/p>\n<p><strong>Q6. You claim to achieve high performance and consistent data. Do you have any benchmark results to sustain such a claim?<\/strong><\/p>\n<p><strong>Asa Holmstrom<\/strong>:  Yes, we have made internal benchmark tests to compare performance while keeping data consistent.<\/p>\n<p><strong>Q7: Do you have some results of your benchmark tests publically available? If yes, could you please summarize here the  main results?<\/strong><\/p>\n<p><strong>Asa Holmstrom<\/strong>:  As TPC tests are not applicable to us, we have done some internal tests. We can&#8217;t share them with you.<\/p>\n<p><strong>Q8. What kind of consistency do you implement?<\/strong><\/p>\n<p><strong>Asa Holmstrom<\/strong>:  We support true ACID consistency, implemented using snapshot isolation and fake writes, in a similar way as Oracle.<\/p>\n<p><strong>Q9. How do you achieve scalability?<\/strong><\/p>\n<p><strong>Asa Holmstrom<\/strong>:  ACID transactions are not scalable. All parallel ACID transactions need to be synchronized and the closer the transactions are executed in space, the faster the synchronization becomes. Therefore you get best performance by executing all ACID transactions on one machine. We call it to scale in. When it comes to storage, you scale up a Starcounter database by adding more RAM.<\/p>\n<p><strong>Q10: For which class of applications it is realistic to expect to execute all ACID transactions on one machine?<\/strong><\/p>\n<p><strong>Asa Holmstrom<\/strong>:  For all applications when you want high transactional throughput. When you have parallell ACID transactions you need to synchronize these transactions, and this synchorinization becomes harder when you scale out to several different machines. The benefits of scaling out grows linearly with the number of machines, but the cost of synchronization grows quadratically. Consequently you do not gain anything by scaling out. In fact, you get better total transactional throughput by running all transaction in RAM on one machine, which we call to &#8220;scale in&#8221;. No other databas can give you the same total ACID transactional throughput as Starcounter. Those who claim they can give you both ACID transactions and linearly scalability at the same time are not telling the truth because it is theoretically proven impossible. Databases which can give you ACID transaction or linearly scalablity<br \/>\ncannot give you both these things at the same time.<\/p>\n<p><strong>Q11. How do you define queries and updates?<\/strong><\/p>\n<p><strong>Asa Holmstrom<\/strong>:  We distinguish between read-only transactions and read-write transactions. You can only write (insert\/update) database data using a read-write transaction.<\/p>\n<p><strong>Q12. Are you able to handle Big Data analytics with your system?<\/strong><\/p>\n<p><strong>Asa Holmstrom<\/strong>: Starcounter is optimized for transactional processing, not for analytical processing.<\/p>\n<p> <strong>Q13. How does Starcounter differs from other in-memory databases, such as for example SAP HANA, and McObject?<\/strong><\/p>\n<p><strong>Asa Holmstrom<\/strong>: In general the primary differentiator between Starcounter and any other in-memory database is the VMDMBS. SAP HANA has primarily an OLAP focus.<\/p>\n<p><strong>Q14. From a user perspective, what is the value proposition of having a VMDMBS as a database engine?<\/strong><\/p>\n<p><strong>Asa Holmstrom<\/strong>: Uncompetable ACID transactional performance.<\/p>\n<p><strong> Q15. How do you differentiate with respect to VoltDB?<\/strong><\/p>\n<p><strong>Asa Holmstrom<\/strong>: Better ACID transactional performance. VoltDB gives you either ACID transactions (on one machine) or the possibility to scale out without any guarantees of global database consistency (no ACID). Starcounter has a native .Net object interface which makes it easy to use from any .Net language.<\/p>\n<p><strong>Q16. Is Starcounter 2.0 open source? If not, do you have any plan to make it open source?<\/strong><\/p>\n<p><strong>Asa Holmstrom<\/strong>: We do not have any current plans of making Starcounter open source.<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\n<em>CEO <strong>Asa Holmstrom<\/strong> brings to her role at <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.starcounter.com');\"  href=\"http:\/\/www.starcounter.com\">Starcounter<\/a> more than 20 years of executive leadership in the IT industry. Previously, she served as the President of Columbitech, where she successfully established its operations in the U.S. Prior to Colmbitech, Asa was CEO of Kvadrat, a technology consultancy firm. Asa also spent time as a management consultant, focusing on sales, business development and leadership within global technology companies such as Ericsson and Siemens. She holds a bachelor&#8217;s degree in mathematics and computer science from Stockholm University.<\/em><\/p>\n<p><strong>Related Posts<\/strong><\/p>\n<p>&#8211; <strong><a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.odbms.org\/blog\/2012\/05\/interview-with-mike-stonebraker\/');\"  href=\"http:\/\/www.odbms.org\/blog\/2012\/05\/interview-with-mike-stonebraker\/\">Interview with Mike Stonebraker. by Roberto V. Zicari on May 2, 2012<\/a><\/strong><\/p>\n<p>&#8211; <strong><a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.odbms.org\/blog\/2012\/03\/in-memory-database-systems-interview-with-steve-graves-mcobject\/');\"  href=\"http:\/\/www.odbms.org\/blog\/2012\/03\/in-memory-database-systems-interview-with-steve-graves-mcobject\/\">In-memory database systems. Interview with Steve Graves, McObject. by Roberto V. Zicari on March 16, 2012<\/a><\/strong><\/p>\n<p><em>(<strong>ref. 1)<\/strong><\/em>&#8211; <strong><a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.odbms.org\/blog\/2011\/08\/the-future-of-data-management-disk-less-databases-interview-with-goetz-graefe\/');\"  href=\"http:\/\/www.odbms.org\/blog\/2011\/08\/the-future-of-data-management-disk-less-databases-interview-with-goetz-graefe\/\">The future of data management: \u201cDisk-less\u201d databases? Interview with Goetz Graefe. by Roberto V. Zicari on August 29, 2011<\/a><\/strong><\/p>\n<p><strong>Resources<\/strong><\/p>\n<p>&#8211; <strong>Cloud Data Stores &#8211; Lecture Notes:  <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.odbms.org\/downloads.aspx#cloud_ln');\"  href=\"http:\/\/www.odbms.org\/downloads.aspx#cloud_ln\">Data Management in the Cloud.<\/a> <\/strong><br \/>\n<strong>by Michael Grossniklaus, David Maier, Portland State University.<\/strong><br \/>\n<strong>Course Description<\/strong>: &#8220;Cloud computing has recently seen a lot of attention from research and industry for applications that can be parallelized on shared-nothing architectures and have a need for elastic scalability. As a consequence, new data management requirements have emerged with multiple solutions to address them. This course will look at the principles behind data management in the cloud as well as discuss actual cloud data management systems that are currently in use or being developed.<br \/>\nThe topics covered in the course range from novel data processing paradigms (<strong>MapReduce, Scope, DryadLINQ<\/strong>), to commercial cloud data management platforms (<strong>Google BigTable, Microsoft Azure, Amazon S3 and Dynamo, Yahoo PNUTS<\/strong>) and open-source NoSQL databases (<strong>Cassandra, MongoDB, Neo4J<\/strong>).<br \/>\nThe world of cloud data management is currently very diverse and heterogeneous.  Therefore, our course will also report on efforts to classify, compare and benchmark the various approaches and systems.<br \/>\nStudents in this course will gain broad knowledge about the current state of the art in cloud data management and, through a course project, practical experience with a specific system.&#8221;<br \/>\n<strong>Lecture Notes | Intermediate\/Advanced | English |<\/strong> <strong><a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.odbms.org\/downloads.aspx#cloud_ln');\"  href=\"http:\/\/www.odbms.org\/downloads.aspx#cloud_ln\">DOWNLOAD ~280 slides (PDF)<\/a><\/strong><strong>| 2011-12|<\/strong><\/p>\n<p>##<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>&#8220;Those who claim they can give you both ACID transactions and linearly scalability at the same time are not telling the truth because it is theoretically proven impossible&#8221; &#8211;Asa Holmstrom. I heard about a start up called Starcounter. I wanted to know more. I have interviewed the CEO of the company Asa Holmstrom. RVZ Q1. [&hellip;]<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[6,47,223,276,516,549,554,616],"_links":{"self":[{"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/posts\/1869"}],"collection":[{"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/comments?post=1869"}],"version-history":[{"count":1,"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/posts\/1869\/revisions"}],"predecessor-version":[{"id":3322,"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/posts\/1869\/revisions\/3322"}],"wp:attachment":[{"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/media?parent=1869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/categories?post=1869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/tags?post=1869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}