How to turbocharge your Web site by dumping your database
Possible? Not quite yet, but Terracotta takes a step in that direction
Computerworld - Databases are getting faster every day. But they're still a significant bottleneck for many Web applications or Web sites.
Why? Mechanical hard drives, impeded by the laws of physics, bog down the relational databases that read and write to them.
What are the solutions? Speeding up I/O by reading and writing to a faster solid-state disk rather than a spinning one can help. So can using an in-memory database to cache heavily accessed data in RAM.
Another solution combines a little of both, its backers say, allowing Java-based Web apps and sites to scale their performance while avoiding expensive and possibly less effective database upgrades.
Terracotta Inc.'s namesake software is an open-source Java clustering solution.
According to CEO Amit Pandey, the software ties multiple Java virtual machines (JVM) underpinning Java-based Web applications into one big cluster. That allows users to add more app servers to scale out at the application level. It caches all of the transactions going through the Java app while writing them to disk separate from the database.
This way, data generated during a transaction can be quickly stored and, if an app server fails, just as quickly recalled, without having to write each intermediate result to the database itself.
That's perfect for data that is vital during a transaction -- say, the items in your shopping cart -- but that does not necessarily need to be written to disk until the transaction (i.e. the purchase) is finished.
The largest group of those customers is using Terracotta with Oracle databases. According to Pandey, one company that does online testing was able to double the number of students it served from 10,000 to 20,000 by using Terracotta and adding 10 free open-source application servers. The company spent about $300,000 on Terracotta and the servers, he said, in contrast to the $2.1 million price tag the firm was quoted if it added more Oracle databases instead.
Yes, said Pandey, though he claimed that using TimesTen is "a little bit more disruptive. It doesn't give you the same [data] persistence as we would, since we are writing to disk in parallel." Also, Terracotta works in Java, meaning that there is no performance loss in translating data from Java objects to relational data formats, he said.
- Silicon Valley's 19 Coolest Places to Work
- Is Windows 8 Development Worth the Trouble?
- 8 Books Every IT Leader Should Read This Year
- 10 Hot Hadoop Startups to Watch
- Slideshow: 7 security mistakes people make with their mobile device
- iOS vs. Android: Which is more secure?
- 11 sure signs you've been hacked
- Logicalis eBook: SAP HANA: The Need for Speed Without timely business insights, organizations today can suffer logistical, manufacturing, and even financial disaster in a matter of minutes
- Patient Portals: A Platform for Connecting Communities of Care Connecting patient health data across the care continuum is essential to achieve improved care, increased access to personal health records and lowered costs.
- Aberdeen Group: Marketing Analytics for Manufacturing: Forging Customer Insights There are no recalls for poor marketing. Manufacturers need to get their customer intelligence and messaging right the first time. Learn how.
- Neustar 2014 DDoS Attacks and Impact Report For the third consecutive year, Neustar surveyed hundreds of companies on distributed denial of service (DDoS) attacks. The survey reveals evidence that the...
- Top 4 Digital Signage Fails Join RMG Networks for a look at four of the most common reasons digital signage fails in corporate businesses. Learn about strategies to...
- Building Tomorrow's Infrastructure Listen to this podcast to discover how Crider Foods worked with PC Connection to update their IT infrastructure, while maintaining compliance and control. All Databases White Papers | Webcasts