» Backdoor.Naninf.D
  » W32.Loxbot.F
  » Trojan.Colecto
  more..
» W32.Mytob.AR@mm
more..
Free Software Downloads
Browse Categories
Antivirus n Spyware
Audio n Video
Business
Design n Photo
Desktop Enhancements
Developer Tools
Drivers
Home n Education
Internet
IS / IT
Mobile
Utilities
High-Performance Data Management in Java
Submit Date :
7/28/2005
Views: 
3100
Category: 
Articles
By: Dr. Dobb's Journal July, 2005

Figuring out how to manage data efficiently is a critical business requirement in addition to being a technological imperative. There is a wide range of classical and modern approaches to solving the variety of data-management problems that developers face today. In this article, I show how bringing together a modern storage approach along with a couple of updated classics of memory management yields a potent synergy of high-performance data management. The three facets that I address are:

  • On-disk persistent storage via a log-based filesystem.
  • In-memory data storage via a concurrent B+tree.
  • The cache management magic that bridges them.

The context in which I explore these facets is Sleepycat Software's Berkeley DB Java Edition (JE), an open-source, pure-Java, object-based database engine (http://www.sleepycat.com/products/je.shtml).

The first performance tradeoff made by the architects at Sleepycat was to not support SQL/JDBC and instead use a schema-neutral, fully programmatic Java library interface that stores data in the application's native format. This makes JE a good fit for many high-performance, embedded database situations where the complexity and overhead of SQL is unnecessary. In exchange for the increased performance, the application forgoes the ability to do ad hoc querying and must limit itself to using exact, range, and set intersection queries. Examples include user profile data management in web applications and managing network device configurations. Listing One is an example of how to do simple data insertions and retrievals.


Exclusive Articles and Tutorials
»High-Performance Data Management in Javad
Figuring out how to manage data efficiently is a critical business requirement in addition to being a technological imperative.
»JMX Reduxd
Java Management Extensions (JMX) is the management standard both in J2EE and J2SE. Because JMX greatly simplifies the instrumentation of resources and remote access to them, it is becoming the de facto standard for Java application and services management.
»Cascading Style Sheets & JavaServer Facesd
JavaServer Faces (JSF) technology is a Java standard web technology that makes it easy to create web applications. Cascading Style Sheets (CSS) is a W3C technology that has been around for some time, but has recently gained momentum because modern browsers now support it.
»The Eclipse Modeling Framework d
The idea of building applications by first modeling them, then transforming these models into implementation code has been around for many years.
»Performance Diagnosis & .NET Applicationsd
Performance analysis for any application must be managed at every stage of the software-development lifecycle. Each of...
»Moving to .NET 2.0d
Visual Studio 2005, .NET 2.0, and C# 2.0 include a host of new features. But since your .NET 1.1 app probably runs as-is on .NET 2.0, is there any rush to load it into Visual Studio 2005 and start exploiting new .NET and C# functionality?
More
Search Software

Copyrights 2005 - all rights reserved - getNload.com