| By Java News Desk | Article Rating: |
|
| March 20, 2008 02:30 PM EDT | Reads: |
5,948 |
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,948
Copyright © 2008 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By 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.
- An Exclusive Interview with Oracle, Cloud Expo 2010 Diamond Sponsor
- Whatever the Apple iPad Is, It Apparently Leaks Like a Sieve
- Whatever Happened to JAAS?
- What’s Next for Oracle-Sun?
- Cloud Expo New York Call for Papers to Expire January 15, 2010
- Six Enterprise Megatrends to Watch in 2010
- Oracle Maps Its Cloud Computing Strategy During Cloud Expo Keynote
- Oracle’s Next Sun Hurdle
- Oracle Claims Victory Over EC; Says Sun Will Sell Clouds
- Now Russia Threatens to Hold Up Oracle-Sun Deal
- Free Virtual Appliance for Cloud Computing
- Why Cops and Java Developers Have Low Salaries?
- Kindle 2 vs Nook
- Cloud Expo New York Call for Papers Now Open
- Is Cloud Computing Like Teenage Sex?
- An Exclusive Interview with Oracle, Cloud Expo 2010 Diamond Sponsor
- Performance Tuning Essentials for Java
- Whatever the Apple iPad Is, It Apparently Leaks Like a Sieve
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- Whatever Happened to JAAS?
- Cloud Computing Can Revitalize Your Career as Software Developer
- What’s Next for Oracle-Sun?
- Cloud Expo New York Call for Papers to Expire January 15, 2010
- The End of IT 1.0 As We Know It Has Begun
- 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
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- What's New in Eclipse?
- Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
- i-Technology Predictions for 2007: Where's It All Headed?
























