Oracle eases Coherence use

Oracle has streamlined garbage collection and added flash support for its Coherence data grid software

Faced with an increasingly competitive market for large-scale distributed data caches, Oracle has endeavored to make its own Coherence data grid software sprightlier and simpler to use.

"One of the things we didn't do so well early on was make the technology easily usable," admitted Cameron Purdy, Oracle vice president of development. "So we've made some pretty significant investments in making things easy to use."

Version 3.7 of Coherence, to be released Monday, includes more than 500 changes since the 3.6 version, which debuted last July.

Among the changes are support for flash drives, which should ease the process of sizing caches, and streamlining garbage collection to reduce latency.

Coherence is Oracle's in-memory data grid software, which allows a single application or database to be spread across multiple Java application servers.

Using Coherence, an organization can reduce the amount of times data needs to be written back to or read back from storage, a process that can slow an application. It is also used by organizations as a fail-over mechanism, assuring that if one server, or even an entire data center, goes offline, the application and associated data stays operational on other nodes.

Coherence itself was written in Java and tuned for that language, but it also offers connectivity with C++ and .NET-based applications.

Coherence is one of a growing number of products and open-source applications designed for building multi-server caches. Peers include the open-source Memcache, VMware's GemStone and Terracotta's Ehcache.

In addition, at least two separate working groups are endeavoring to build caching directly into the Java Enterprise Edition 7 specifications, namely the JSR-107 working group and a Red Hat submission of its Infinispan data grid technology.

Oracle has also tried to do away with the size limitations of Coherence caches. Today's larger deployments of Coherence tend to be about a quarter-terabyte in size, Purdy explained. This limitation has largely been due to the amount of working memory that can be placed on each server.

The new release allows administrators to incorporate solid-state flash memory into a configuration, in effect eliminating the upper limit of the amount of memory that can be devoted to each cache. A server can be outfitted with essentially an unlimited amount of solid-state flash memory, which then can be appropriated by Coherence.

"We've extend[ed] our capacity for storing data beyond the RAM and onto the flash device," he said, noting that the use of flash does not incur a performance penalty. "This is pushing Java into a new strata."

Also thanks to flash support, this is also the first version of the software that doesn't require that the administrator set the size of the data grid beforehand. Instead, the administrator can set aside some solid-state flash memory on one of the servers to act as an overflow buffer.

Purdy said he did not know of an upper limit to a size of a data grid using this technique. "That would depend on the application itself," he said.

"We're now pretty comfortable in telling our customers that a couple terabytes of memory is easily achievable," he said. "You no longer have to tell the system how big each cache should be."

Oracle has also tackled the performance problem that came with Java garbage collection, or the built-in process within Java to periodically free up memory no longer in use. Because the JVM (Java Virtual Machine) executes this operation automatically, all other operations go on hold, introducing latency into the program's operation.

With this release, Oracle re-engineered the architecture of Coherence so it reduces the severity of this interruption. In a nutshell, Oracle minimized the number of objects that an application within Coherence creates. With fewer objects, less time is needed for garbage collection, Purdy said.

"We've reduced the number of objects by about 80 percent, which is a dramatic improvement," he said. "We can stuff a lot more data into the same chunk of memory, without having a lot more objects."

Coherence also comes with a number of other improvements intended to make deployment easier overall.

The software has been integrated with Oracle's GlassFish application server, which should lower the time it takes to deploy the software on a GlassFish cluster.

For this release, Oracle also worked with the vendor F5, which offers a load balancing appliance, called Big IP, that now can be easily paired with Coherence.

"Big IP can work with Coherence to do dynamic load balancing," Purdy said. "If you have Big IP in your infrastructure, you can offload the load balancing," he said.

Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson. Joab's e-mail address is

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection

Tags OraclesoftwaremiddlewareApplication servers

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Joab Jackson

IDG News Service
Show Comments



Sansai 6-Outlet Power Board + 4-Port USB Charging Station

Learn more >

Victorinox Werks Professional Executive 17 Laptop Case

Learn more >



Back To Business Guide

Click for more ›

Brand Post

Most Popular Reviews

Latest Articles


PCW Evaluation Team

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Walid Mikhael

Brother QL-820NWB Professional Label Printer

It’s easy to set up, it’s compact and quiet when printing and to top if off, the print quality is excellent. This is hands down the best printer I’ve used for printing labels.

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?