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.

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 1Real-time Big Data applications arefinally possible. 2
  3. 3. Plummeting RAM prices and exploding volumes ofvaluable data make real-time Big Data possible In-Memory Big Data Maximize inexpensive memory Unlock the value in your data Explosion in Steep drop in volume of price of RAM business data 3
  4. 4. “Memory is the new disk. The obviousthing to do is to exploit that technology.” — The New York Times, Sep. 9, 2012 4
  5. 5. Terracotta BigMemory Go makes ALL of yourdata 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 2BigMemory Go includes Ehcache andeliminates garbage collection pausesand tuning. 6
  7. 7. With Ehcache, you’re limited to a few GBs inRAM. With BigMemory Go, use all your RAM. 7
  8. 8. REASON 3BigMemory Go uses the sametechnology as BigMemory Max. 8
  9. 9. BigMemory Go does almost everything BigMemory Max does, but on standalone JVMs Make your Keep Scale up app’s data ALL your instantly data Scale up available in instantly your server’s available in Scale out RAM distributed RAMIncludes: Everything in BigMemory Go PLUS: Terracotta Management Console: advanced in-memory monitoring/control  Distributed scale: manages in-memory data across server Fast search: powerful API for searching in-  Data consistency: keeps data in synch across your array memory stores  Full fault-tolerance and fast restart: mirrors data for Automatic Resource Control: tiered stores that keep data where it’s needed 99.999% availability Ehcache interface: Java’s de facto API Fault-tolerant, fast restartable store 9
  10. 10. REASON 4BigMemory Go gives you predictablylow latency at scale. 10
  11. 11. With 1TB in memory, BigMemory Go achievesover 900,000 reads per second 11
  12. 12. …with consistently low latency(100 microseconds) 12
  13. 13. REASON 5BigMemory Go has the same get/putAPI as Ehcache (plus you get search). 13
  14. 14. Reading and writing happens the same way aswith 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 searchableattributes 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 REASONThe Terracotta Management Console(TMC) in BigMemory Go gives youvisibility and control of in-memory data. 16
  17. 17. The TMC in BigMemory Go is a web-basedcontrol and viewing platform for in-memorystores 17
  18. 18. See how much data is in your local Java heapand local off-heap 18
  19. 19. Create virtual data stores, controlling exactlyhow much memory each will use 19
  20. 20. DOUBLE BONUS REASONYou can add BigMemory Goto your Ehcache deploymentwith 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 REASONBigMemory Go gives you 32GB of in-memory capacity … FREEDownload:http://terracotta.org/products/bigmemorygo 22
  23. 23. What could you do with instantaccess to all of your data? 23
  24. 24. BigMemory powers real-time Big Data apps across many industries Fraud detection slashed from Terracotta 45 minutes to mere seconds Enterprise Customers 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
  25. 25. Q&AQuestions?Type them in the “Question” panel or inthe 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