| By Java News Desk | Article Rating: |
|
| March 20, 2008 02:30 PM EDT | Reads: |
5,370 |
The all-Java Perst open source, object-oriented embedded database system
from McObject has improved performance, stability and development ease in the
open-source Frost client software for the Freenet global peer-to-peer network.
The new Frost client has already been downloaded by thousands of Freenet users
who are enjoying a “much better” application experience due to Perst, according
to a Frost project leader.
Frost is a newsgroup reader-like client application used to share encrypted
messages, files and other information over Freenet without fear of censorship.
Frost previously used an open source database based on the SQL application
programming interface (API). In late 2007, a newly released Frost version
adopted Perst as a replacement for the embedded SQL database. Within this
version, Perst stores messages as well as message and file-sharing meta-data,
including a list of all shared files in the network, according to Karsten
Graul, administrator of the global Frost development project.
“The Frost experience became much better since we started using Perst, due
to shorter response times,” Graul said. He attributed the performance increase
to eliminating SQL processing overhead, and to developers’ enhanced ability
with Perst to optimize database access for different data types and layouts.
In contrast to SQL databases, Perst stores data directly in Java objects,
eliminating the need for expensive (in performance terms) run-time conversions
between the database representation of the data and the Java representation.
Perst's API is tightly integrated with Java, resulting in exceptional “transparent
persistence” and ease in working with objects.
Improvements cited in the Perst-based Frost client software include:
Reliability. The previously used SQL database often left files in an
inconsistent state when Frost ended unexpectedly, Graul said. This resulted in
corrupted data. In contrast, Perst’s transaction mechanism protects the
integrity of its data files, and the database can recover quickly, he said.
Development ease. Perst’s object-oriented approach simplifies
changing or extending storage code. For example, when a new field is added to a
persistent class, Perst can automatically add this field to existing persistent
data records.
Footprint. Without SQL processing overhead, Frost consumes less
memory. Disk space is conserved by Perst’s ability to store text encoded in
UTF-8 characters.
Performance. The SQL database in Frost became slower when table size
grew, and developers could do little to improve performance. “In a SQL system,
you formulate a query in SQL and the SQL system transforms the query into an
access strategy. You have no direct way to influence the strategy that is used
to access the data,” Graul said. In contrast, Frost’s developers are able to
optimize Perst for accessing specific types of data, and control data access
strategies, resulting in better performance, Graul said.
Published March 20, 2008 Reads 5,370
Copyright © 2008 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
About Java News Desk
JDJ News Desk monitors the world of Java to present IT professionals with updates on technology advances, business trends, new products and standards in the Java and i-technology space.
- Performance of Java Compilers: An Empirical Study
- Java Kicks Ruby on Rails in the Butt
- Ulitzer’s Amazing First 30 Days in Public Beta
- 1st Annual Government IT Expo: Call for Papers Deadline July 15
- REA Is Where RIA Becomes the Norm
- Why an Application Grid?
- Will Ulitzer Dominate News Content on The Web? -Gartner
- Clear Toolkit 4: The Road Map
- Profiling Netbeans within Amazon EC2
- Java Persistence on the Grid: Approaches to Integration
- Performance of Java Compilers: An Empirical Study
- Java Kicks Ruby on Rails in the Butt
- Developing Rich Client Applications Using Swing - II
- The Right Time for Real Time Java
- Xpress Suite Adds Automatic Java to iPhone Conversion
- Initial Thoughts on IBM Acquisition of Sun Microsystems
- Ulitzer’s Amazing First 30 Days in Public Beta
- 1st Annual Government IT Expo: Call for Papers Deadline July 15
- Maximizing Java Performance with Bespoke Programming
- Pet Store with JavaFX 1.0.- Part I
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- The i-Technology Right Stuff
- JavaServer Faces (JSF) vs Struts
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- What's New in Eclipse?
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate





































