Welcome!

Java IoT Authors: Yeshim Deniz, Carmen Gonzalez, Zakia Bouachraoui, Pat Romanski, Liz McMillan

Related Topics: Java IoT, Open Source Cloud

Java IoT: Article

Perst Embedded Database Boosts Performance & Stability In All-Java "Frost" Freenet Client

McObject Lending a Helping Hand

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.

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.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


IoT & Smart Cities Stories
The term "digital transformation" (DX) is being used by everyone for just about any company initiative that involves technology, the web, ecommerce, software, or even customer experience. While the term has certainly turned into a buzzword with a lot of hype, the transition to a more connected, digital world is real and comes with real challenges. In his opening keynote, Four Essentials To Become DX Hero Status Now, Jonathan Hoppe, Co-Founder and CTO of Total Uptime Technologies, shared that ...
Every organization is facing their own Digital Transformation as they attempt to stay ahead of the competition, or worse, just keep up. Each new opportunity, whether embracing machine learning, IoT, or a cloud migration, seems to bring new development, deployment, and management models. The results are more diverse and federated computing models than any time in our history.
At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...
At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...
Dion Hinchcliffe is an internationally recognized digital expert, bestselling book author, frequent keynote speaker, analyst, futurist, and transformation expert based in Washington, DC. He is currently Chief Strategy Officer at the industry-leading digital strategy and online community solutions firm, 7Summits.
Digital Transformation is much more than a buzzword. The radical shift to digital mechanisms for almost every process is evident across all industries and verticals. This is often especially true in financial services, where the legacy environment is many times unable to keep up with the rapidly shifting demands of the consumer. The constant pressure to provide complete, omnichannel delivery of customer-facing solutions to meet both regulatory and customer demands is putting enormous pressure on...
IoT is rapidly becoming mainstream as more and more investments are made into the platforms and technology. As this movement continues to expand and gain momentum it creates a massive wall of noise that can be difficult to sift through. Unfortunately, this inevitably makes IoT less approachable for people to get started with and can hamper efforts to integrate this key technology into your own portfolio. There are so many connected products already in place today with many hundreds more on the h...
The standardization of container runtimes and images has sparked the creation of an almost overwhelming number of new open source projects that build on and otherwise work with these specifications. Of course, there's Kubernetes, which orchestrates and manages collections of containers. It was one of the first and best-known examples of projects that make containers truly useful for production use. However, more recently, the container ecosystem has truly exploded. A service mesh like Istio addr...
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As automation and artificial intelligence (AI) power solution development and delivery, many businesses need to build backend cloud capabilities. Well-poised organizations, marketing smart devices with AI and BlockChain capabilities prepare to refine compliance and regulatory capabilities in 2018. Volumes of health, financial, technical and privacy data, along with tightening compliance requirements by...
Charles Araujo is an industry analyst, internationally recognized authority on the Digital Enterprise and author of The Quantum Age of IT: Why Everything You Know About IT is About to Change. As Principal Analyst with Intellyx, he writes, speaks and advises organizations on how to navigate through this time of disruption. He is also the founder of The Institute for Digital Transformation and a sought after keynote speaker. He has been a regular contributor to both InformationWeek and CIO Insight...