| By Java News Desk | Article Rating: |
|
| March 20, 2008 02:30 PM EDT | Reads: |
5,685 |
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,685
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.
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- Kindle 2 vs Nook
- Why IBM’s Server Chief Got Busted
- The Difference Between Web Hosting and Cloud Computing
- Cloud Computing Journal Opens "Readers' Choice Awards" Nominations
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Industry Experts Discuss the State of Cloud Computing
- It's the Java vs. C++ Shootout Revisited!
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- The End of IT 1.0 As We Know It Has Begun
- An Introduction to Abbot
- Java Kicks Ruby on Rails in the Butt
- Interviewing Java Developers With Tears in My Eyes
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- 1st Annual Government IT Expo: Call for Papers Deadline July 15
- How to Diagnose Java Resource Starvation
- REA Is Where RIA Becomes the Norm
- Kindle 2 vs Nook
- Anatomy of a Java Finalizer
- Why IBM’s Server Chief Got Busted
- 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?































