Select Page

To Err is Human – The Case for Buy Over Build in Hard Real-time Database Management Systems

 

Conventional wisdom on the internet averages there are anywhere from 7-50 errors in every 1000 lines of code. Given that hard real-time systems are safety- and mission-critical, the room for error goes down to zero.

A paper by Watts S. Humphrey, founder of the Software Engineering Institute and the Capability Maturity Model, examined the results of studies at IBM and TRW on the relative cost of correcting defects at various stages in the development cycle. Humphrey asserted that the time to find and correct each coding defect during the test stage ranges from 2 to 20 developer hours.

This cost of remediating defects illustrates the tremendous savings likely to accrue from using off-the-shelf database management software for any modestly complex and demanding function. Exactly where this tipping point lies depends on the variables in the cost and complexity equation (i.e., labor cost and volume of code that will need to be written to meet the functionality required). Generally speaking, it is probably best to stick to solving line-of-business problems, versus solving general computing problems that have already been solved, like operating systems, database systems, web servers, and the like.

Already-debugged off-the-shelf software should inject no new defects into the project. Some might argue that using the API of an off-the-shelf software package also means writing a bunch of lines of code to use that API, and that this will also introduce bugs. But this misses the point that, regardless of whether the data management code is roll-your-own or off-the-shelf, application code still has to be written to use that data management code. So, the argument is a non-starter: you’re going to write the application code, either way.

Several programmer-years went into the initial release of eXtremeDB in 2001, and tens of programmer-years since. Therefore, it’s impractical to think that equivalent functionality, or even a meaningful subset, can be created from scratch in the few programmer-months that would constitute a ‘lower cost’ even at the lowest possible developer compensation levels.

It’s also worth mentioning that it is not possible for de novo code to be as stable/reliable as code that has been in production and field-tested for 20+ years.

The prior point is a convenient segue to the observation that a database management system takes time to develop, and more time to test, whereas off-the-shelf software is usable immediately. In today’s fast-moving world, lost time equals lost opportunity.

We encourage you to try eXtremeDB/rt. Desktop evaluation packages of eXtremeDB/rt for Linux, MacOS, QNX and Microsoft Windows platforms are available for free no-hassle download. Learn more about the programming interface and various real-time and non-real-time features of eXtremeDB/rt. After you have tried the desktop version, we hope you’ll contact us for a free trial of eXtremeDB/rt tailored to the needs of your RTOS.

Related Resources

Documentation & Collateral

i

Review the eXtremeDB/rt data sheet

U

Learn more about eXtremeDB/rt in our on-line documentation

t

eXtremeDB/rt Q & A: what distinguishes a true real-time database?

In the News

McObject Announces Availability of eXtremeDB/rt for QNX Neutrino RTOSElectronic Engineering Journal, July 7, 2022

"Embedded Databases in Real-Time Systems" CircuitCellar.com, March 14, 2022

"Embedded Executive: Steve Graves, President and CEO, McObject" EmbeddedComputing.com, January, 2022 An interview reviewing key concepts in real-time computing.

"Databases in Hard Real Time" McObject Launches True Real-Time Deterministic Database for embOS Real-time Operating System Applications, Wilmott.com, October 15, 2021

"Keeping A Mission-Critical Deterministic DBMS On Time" by McObject CTO Andrei Gorine EmbeddedComputing.com, September 20, 2021

"Real time tasks need real time data" Read the Wind River blog, September 7, 2021

eXtremeDB/rt deterministic DBMS

Tailored to your needs


The nature of eXtremeDB/rt’s tight integration with the RTOS and target hardware requires that each evaluation package be assembled uniquely for your needs.  Please contact us so that we can gather information on your RTOS vendor, version, target hardware, tool chain, and so on.

View the ever-expanding list of supported real-time operating systems.

Send us an email

Give us a call

+1-425-888-8505

Desktop distributions

Free desktop evaluation packages of eXtremeDB/rt for Linux, MacOS, QNX and Windows platforms are available for immediate no-hassle download. Learn more about the programming interface and various real-time and non-real-time features of eXtremeDB/rt. After you have tried the desktop version, we hope you’ll contact us for a free trial of eXtremeDB/rt tailored to the needs of your RTOS.

You are also welcome to contact us, and we will send you a download of eXtremeDB/rt running in the FreeRTOS simulator.