5 Reasons to Upgrade Ehcache to BigMemory Go


Published on

We all love Ehcache. But the rise of real-time Big Data means you want to keep larger amounts of data in memory with low, predictable latency. In this webinar,
we explain how BigMemory Go can turbocharge your Ehcache deployment.

Published in: Technology, Business
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

5 Reasons to Upgrade Ehcache to BigMemory Go

  1. 1. FEATURED SPEAKERS Orion Letizi Co-Founder Terracotta Eric Mizell Director of Field Engineering Terracotta TERRACOTTA WEBCAST SERIES
  2. 2. REASON 1 Real-time Big Data applications are finally possible. 2
  3. 3. Plummeting RAM prices and exploding volumes of valuable data make real-time Big Data possible In-Memory Maximize inexpensive memory Steep drop in price of RAM Big Data Unlock the value in your data Explosion in volume of business data 3
  4. 4. “Memory is the new disk. The obvious thing to do is to exploit that technology.” — The New York Times, Sep. 9, 2012 4
  5. 5. Terracotta BigMemory Go makes ALL of your data instantly available =  Stores “big” amounts of data in machine memory for ultra-fast access  Snaps into enterprise applications  Easily scales up on a single server 5
  6. 6. REASON 2 BigMemory Go includes Ehcache and eliminates garbage collection pauses and tuning. 6
  7. 7. With Ehcache, you’re limited to a few GBs in RAM. With BigMemory Go, use all your RAM. 7
  8. 8. REASON 3 BigMemory Go uses the same technology as BigMemory Max. 8
  9. 9. Includes:  Terracotta Management Console: advanced in-memory monitoring/control  Fast search: powerful API for searching inmemory stores  Automatic Resource Control: tiered stores that keep data where it’s needed  Ehcache interface: Java’s de facto API  Fault-tolerant, fast restartable store Keep ALL your data instantly available in distributed RAM Scale up Make your app’s data instantly available in your server’s RAM Scale up BigMemory Go does almost everything BigMemory Max does, but on standalone JVMs Scale out Everything in BigMemory Go PLUS:    Distributed scale: manages in-memory data across server Data consistency: keeps data in synch across your array Full fault-tolerance and fast restart: mirrors data for 99.999% availability 9
  10. 10. REASON 4 BigMemory Go gives you predictably low latency at scale. 10
  11. 11. With 1TB in memory, BigMemory Go achieves over 900,000 reads per second 11
  12. 12. …with consistently low latency (100 microseconds) 12
  13. 13. REASON 5 BigMemory Go has the same get/put API as Ehcache (plus you get search). 13
  14. 14. Reading and writing happens the same way as with Ehcache CacheManager manager = CacheManager.create(managerConfiguration); Cache bigMemory = manager.getCache("bm-crud"); // create final Person tim = new Person("Tim Doe", 35, Person.Gender.MALE, "eck street", "San Mateo", "CA"); bigMemory.put(new Element("1", tim)); // read final Element element = bigMemory.get("1"); System.out.println(”Element value: " + element.getObjectValue()); // update final Person pamelaJones = new Person("Pamela Jones", 23, Person.Gender.FEMALE, "berry st", "Parsippany", "LA"); bigMemory.put(new Element("1", pamelaJones)); // delete bigMemory.remove("1"); 14
  15. 15. Plus, you can easily define searchable attributes and execute queries // Find the number of people who live in New Jersey. Attribute<String> state = bigMemory.getSearchAttribute("state"); Query newJerseyCountQuery = bigMemory.createQuery().addCriteria(state.eq("NJ")); // Execute query and print results. System.out.println("Count of people from NJ: " + newJerseyCountQuery.execute().all().iterator().next() .getAggregatorResults()); 15
  16. 16. BONUS REASON The Terracotta Management Console (TMC) in BigMemory Go gives you visibility and control of in-memory data. 16
  17. 17. The TMC in BigMemory Go is a web-based control and viewing platform for in-memory stores 17
  18. 18. See how much data is in your local Java heap and local off-heap 18
  19. 19. Create virtual data stores, controlling exactly how much memory each will use 19
  20. 20. DOUBLE BONUS REASON You can add BigMemory Go to your Ehcache deployment with as few as two lines of config. 20
  21. 21. All there is to it: <ehcache … name="crud-config"> <cache name="crud" maxBytesLocalHeap="64M" maxBytesLocalOffHeap=“32G"> </cache> </ehcache> 21
  22. 22. TRIPLE BONUS REASON BigMemory Go gives you 32GB of inmemory capacity … FREE Download: http://terracotta.org/products/bigmemorygo 22
  23. 23. What could you do with instant access to all of your data? 23
  24. 24. BigMemory powers real-time Big Data apps across many industries  Fraud detection slashed from 45 minutes to mere seconds  Media streamed in real time to millions of devices  Customer service transactions throughput increased by 10x  Flight reservation load on mainframes reduced 80%  Automobile traffic updates delivered to millions of global customers in real time Terracotta Enterprise Customers
  25. 25. Q&A Questions? Type them in the “Question” panel or in the chat window Download (32GB free) + Learn More: http://terracotta.org/products/bigmemorygo 25
  26. 26. #bigmemory Download (32GB free) + Learn More: http://terracotta.org/products/bigmemorygo 26