Software:Starcounter

From HandWiki
Starcounter
Developer(s)Starcounter AB
Initial release2006
Stable release
2.3.2.930 / April 14, 2018; 5 years ago (2018-04-14)
Written inC, C++, C#
Operating systemWindows
Available inEnglish
TypeIn-memory application platform
LicenseProprietary
Websitestarcounter.com

Starcounter is an in-memory application platform built by Starcounter AB. The platform is based on a combined in-memory database engine and application server.

Technology

Starcounter architecture

A combined in-memory database engine and application server keeps data in one place. This technology is called "virtual machine database management system", or VMDBMS. The patent related to the technology explains it this way:

In such a system, the environment is configured to maintain a database of objects in a database memory within the environment memory. An application executes in an application memory within the environment memory, and upon instantiation of a database object, the application environment allocates memory in the database for the database object, the database providing master storage for the database object.[1]

Tables and classes are the same as a consequence of the VMDBMS which lets the application and database be in the same virtual memory space. The implication of this is that there is no object-relational mapper (ORM). Instead, the database is directly accessed using SQL-like queries called NewSQL from the application code.[2]

A major drawback with in-memory databases is that main memory is volatile and does therefore not ensure durability. The solution to this, which Starcounter utilizes, is to write transaction logs to a disk the same way it's done in traditional SQL databases.[3] If data needs to be recovered, it's possible to do so by going back in the transaction logs.[4]

The database maintains ACID compliance by using transactional scope and transactional memory which allows for long-running transactions, nested transactions, and parallel transactions.[2]

Starcounter uses a Model–View–ViewModel (MVVM) pattern where the view model is hosted on the server. The server-side code is written using C# since the platform is making use of the .NET framework.[5][6] The communication between the client and the server is done using a thin client library that sends JSON-patches. The recommended way to build the view in Starcounter applications is to use HTML, CSS, Polymer, and Web Components, with as little logic as possible on the client side.

Similar Software

Starcounter can be likened by Oracle's TimesTen in-memory database and SAP HANA. What these have in common is that they are all based on in-memory technology and are often targeted towards customers that use real-time applications. The main difference is the way the database management system is integrated. SAP HANA makes use of a column-oriented database management system. TimesTen, on the other hand, uses a relational database management system (RDBMS). Starcounter is unique in that it uses an object-oriented approach that is integrated with the application (VMDBMS) with an underlying RDMBS .[4]

History

Starcounter AB was established and started its development of Starcounter in 2006. It received $1.8 million in funding from a VC round led by Industrifonden in 2015 to continue the development.[7]

The Starcounter 2.0 beta version, which bundles a web application framework with the database, was released in August 2013.[8]

Starcounter AB was named a "Cool Vendor" in In-Memory Computing Technologies for 2015 by Gartner.[9]

In September 2017, Starcounter AB took in 35 million SEK in funding from existing investors and an anonymous investor.[10]

Also in September 2017, Starcounter AB won a 2.2 million Euro prize in the competition "SME Instrument - Open Disruptive Innovation Scheme" organized by Horizon 2020.[11]

Adoption

Starcounter is used for enterprise installations such as the supply chain management application used by the Swedish superstore Gekås Ullared.[12]

References

  1. Wester, Joachim; SE; Ohlsson, Erik; SE; Samuelsson, Per; SE; Idestam-Almquist, Peter; SE (October 7, 2014), United States Patent: 8856092 - Systems and methods for managing databases, http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&p=1&u=/netahtml/PTO/search-bool.html&r=1&f=G&l=50&co1=AND&d=PTXT&s1=%22SYSTEMS+METHODS+MANAGING+DATABASES%22.TI.&OS=TTL/, retrieved 2016-11-15 
  2. 2.0 2.1 Brankov, Bojan. "Starcounter - NoSQL (NewSQL)". https://www.geekstone.org/en/home/discussion/blogs/2015/starcounter-nosql-newsql/. 
  3. "The Transaction Log (SQL Server)". https://msdn.microsoft.com/en-us/library/ms190925.aspx. 
  4. 4.0 4.1 Crowther, Paul (2013). Concise Guide to Databases: A Practical Introduction. Springer International Publishing. pp. 192, 195. ISBN 978-1-4471-5601-7. "Common misconceptions of slow population of in-memory databases and the only being available for single user systems were discussed and dismissed. However there is no one standard approach to their implementation which ranged from Oracles’ TimesTen which was an in memory relational system, SAP HANA which used column based storage through to new players exemplified by Starcounter which used an object oriented approach effectively integrating an application with the database management system." 
  5. "Starcounter Announces 'Fastest Consistent Database'". https://adtmag.com/articles/2012/05/18/fastest-consistent-database.aspx. 
  6. "'Fastest Consistent Database' Claims MVVM Affinity". https://visualstudiomagazine.com/blogs/data-driver/2012/05/fastest-consistent-database-claims-mvvm-affinity.aspx. 
  7. "Fast In-Memory Application Platform Starcounter Scores New Funding". Business Wire. http://www.businesswire.com/news/home/20150127005112/en/Fast-In-Memory-Application-Platform-Starcounter-Scores-Funding. 
  8. Chris Preimesberger (21 August 2013). "Newcomer Starcounter Updates High-Performance Database". eWeek. http://www.eweek.com/database/newcomer-starcounter-updates-high-performance-database. 
  9. "Gartner Names Starcounter a "Cool Vendor" in In-Memory Computing Technologies for 2015". Business Wire. http://www.businesswire.com/news/home/20150429005181/en/Gartner-Names-Starcounter-%E2%80%9CCool-Vendor%E2%80%9D-In-Memory-Computing. 
  10. "De vill bygga världens snabbaste databas – tar in 35 miljoner". https://digital.di.se/artikel/de-bygger-varldens-snabbaste-databas-tar-in-35-miljoner. 
  11. "Svensk AI-startup vinner 20 miljoner i EU-tävling" (in sv). Breakit. https://www.breakit.se/artikel/8906/svenska-starcounter-far-20-miljoner-kronor-av-eu-fond. 
  12. "Starcounter’s In-Memory Database Powers Supply Chain Management Application for Superstore Retailer". Business Wire. http://www.businesswire.com/news/home/20130515005295/en/Starcounter%E2%80%99s-In-Memory-Database-Powers-Supply-Chain-Management.