Feeds

Terracotta claims cure for web app bottleneck

Take one giant JVM cluster and call me in the morning

5 things you didn’t know about cloud backup

Startup Java infrastructure software maker Terracotta has taken the wraps off version 2.7 of its eponymous Java application scaling and acceleration program.

With Terracotta 2.7, the company is adding support for a bunch of new web application servers and application frameworks, but more importantly, it's trying to get the message out that there is a way to scale Java-based web applications that does not involve upgrading database servers.

Ari Zilka, who founded Terracotta in 2003, was once the lead architect for retail giant Wal-Mart's online store, and prior to that, he was a consultant working for the online sites for Gap, Nike, Harrod's, Intel, Barnes and Noble, Compaq, and Intel - just to drop a few names. And in all of those Web site experiences, Zilka saw the same bottleneck again and again in Web applications: Scaling web apps is not as simple as adding web servers because the databases behind applications had scaling issues too.

More times than not, database makers and server makers were more than happy to convince IT shops that they needed to do a costly upgrade on back-end systems as well as add application servers to boost performance. In many cases, companies created custom scripts to offload and cache data in their databases closer to the app servers to boost performance.

Nearly two years ago, after years of development that was made possible by venture funding from Accel Partners, Benchmark Capital, DAG Ventures, and Goldman Sachs, Terracotta released its product, which is also distributed as an open source program. What Terracotta does - to simplify it greatly - is cluster many JVMs sitting inside app servers spread across a network of hardware and present them as one giant, highly available JVM to all Java applications on the network.

The software stores the transient data in memory for the Web transactions going on inside the Web application servers and collects it all together. That allows one JVM to fail over for another, data to be given to multiple JVMs at once (with locking), scaling up of Web apps by adding servers on the fly as needed, and reduced database accesses because the Terracotta server and its in-memory database (which is based on the open source Sleepycat database) stores data and only goes back to the database when an app server asks for something it doesn't have.

The in-memory data the JVMs are using is also backed up to disk to preserve it. Multiple Terracotta servers can be clustered together in active-active or active-passive configurations, helping to further scale Java applications and to provide disaster recovery.

With Terracotta 2.7, the company is adding support for the Spring 2.0.8 and Spring 2.5.2 application frameworks and Sun Microsystems' open source Glassfish V2.1 application server. Terracotta is already certified to work with Red Hat's JBoss, IBM's WebSphere, and Oracle's WebLogic app servers. It also works with the open source Tomcat, Jetty, and Geronimo servers.

Interestingly, says Amit Pandey, Terracotta's chief executive officer, Jetty is taking off among its customers. Terracotta has 60 customers and 150 installations to date. About 80 per cent of these customers are deploying the software to scale their Java applications, while the remaining 20 per cent are using it to provide high availability for their app servers, which is possible since the state of one JVM can be moved instantly to another JVM using the Terracotta server.

The scaling issue is important for economic reasons. "One customer who came to us said they were told they needed to do a $2 million software upgrade for Oracle databases so they could scale," says Pandey. "We came in and gave them the scale for $200,000."

New in Terracotta 2.7: Hot patching for production systems, which means Java applications don't have to be taken down as elements of the software stack are updated. The software also has a one-click backup button for all data in the Terracotta setup, and it includes a panel to show cluster-wide runtime stats in real-time, including CPU utilization, heap utilization, and transaction rates.

Terracotta 2.7 costs from $5,000 to $15,000 per server node, depending on features, with the typical customer paying $7,000 per node. A single Terracotta server can handle up to 150 nodes, but on heavy Java applications, such as those used in online reservation systems, that gets reduced to somewhere between 15 to 20 nodes per Terracotta server. ®

Build a business case: developing custom apps

More from The Register

next story
Microsoft: Azure isn't ready for biz-critical apps … yet
Microsoft will move its own IT to the cloud to avoid $200m server bill
Shoot-em-up: Sony Online Entertainment hit by 'large scale DDoS attack'
Games disrupted as firm struggles to control network
Silicon Valley jolted by magnitude 6.1 quake – its biggest in 25 years
Did the earth move for you at VMworld – oh, OK. It just did. A lot
VMware's high-wire balancing act: EVO might drag us ALL down
Get it right, EMC, or there'll be STORAGE CIVIL WAR. Mark my words
Forrester says it's time to give up on physical storage arrays
The physical/virtual storage tipping point may just have arrived
Better be Nimble, tech giants, or mutant upstarts will make off with your sales
Usual suspects struggling to create competing products
VMware vaporises vCHS hybrid cloud service
AnD yEt mOre cRazy cAps to dEal wIth
prev story

Whitepapers

A new approach to endpoint data protection
What is the best way to ensure comprehensive visibility, management, and control of information on both company-owned and employee-owned devices?
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Maximize storage efficiency across the enterprise
The HP StoreOnce backup solution offers highly flexible, centrally managed, and highly efficient data protection for any enterprise.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Next gen security for virtualised datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.