Your SlideShare is downloading. ×
  • Like
  • Save
Data Grids vs Databases
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Data Grids vs Databases

  • 4,590 views
Published

 

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
4,590
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
9

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Thursday, November 3, 11
  • 2. Thursday, November 3, 11
  • 3. Data Grids vs Databases Galder Zamarreño Senior Software Engineer Red Hat, Inc 3rd October 2011, Soft ShakeThursday, November 3, 11
  • 4. Galder Zamarreño • R&D Engineer, Red Hat Inc. • Infinispan developer • 5+ years exp. with distributed data systems • Twitter: @galderz • Blog: zamarreno.comThursday, November 3, 11
  • 5. Agenda • Why do we need Data Grids? • What are exactly In-memory Data Grids? • Data Grids + Databases • Data Grids without a Database • Can Data Grids replace Databases?Thursday, November 3, 11
  • 6. Traditionally... Store everything in a DB!Thursday, November 3, 11
  • 7. Modern requirements DBs not particularly good at horizontal scaling...Thursday, November 3, 11
  • 8. One size doesn’t fill all! DBs are not bad, but they’re not the solution to every problem eitherThursday, November 3, 11
  • 9. Data GridsThursday, November 3, 11
  • 10. Data Grids are not new Mainstream traction only recent: vertical scaling needs, cheaper memory... and cloud!Thursday, November 3, 11
  • 11. Who’s offering Data Grids?Thursday, November 3, 11
  • 12. The Players • Open Source: • Infinispan, EhCache, Hazelcast... • Commercial: • Oracle Coherence, Gigaspaces, Gemfire, IBM eXtreme ScaleThursday, November 3, 11
  • 13. But, what are In-memory DGs?Thursday, November 3, 11
  • 14. Definition In-memory data structures that offer extremely fast access to dataThursday, November 3, 11
  • 15. Maps are popular! Normally come with a Map-like API, but often come with alternativesThursday, November 3, 11
  • 16. Data distribution Store data in a subset of the grid to provide failover while being able to scale up!Thursday, November 3, 11
  • 17. With failure in mind Suitable for commodity hardware because they can handle failureThursday, November 3, 11
  • 18. Elastic Remain available during topology changesThursday, November 3, 11
  • 19. Durability More durability achieved flushing to a persistent storeThursday, November 3, 11
  • 20. Access patterns Embedded (client and DG in same VM) or Remote (just like DBs)Thursday, November 3, 11
  • 21. ACID or BASE Transactions or Eventual Consistency?Thursday, November 3, 11
  • 22. DGs + DBs?Thursday, November 3, 11
  • 23. Caching! Use Data Grids as caches to enhance Database access performance!Thursday, November 3, 11
  • 24. Can a Data Grid replace a DB?Thursday, November 3, 11
  • 25. Reiterating benefits Speed, scalability, cloud- friendliness...etcThursday, November 3, 11
  • 26. What are the Data Grid challenges?Thursday, November 3, 11
  • 27. Access patterns Migrating from SQL to Map or alternative APIs not easyThursday, November 3, 11
  • 28. Skill set Different skill set: OO programmer vs SQLThursday, November 3, 11
  • 29. Application data layer Data layer to take data collocation into account and do more validation (less strict schema)Thursday, November 3, 11
  • 30. E.g. with a DB...Thursday, November 3, 11
  • 31. Same with InfinispanThursday, November 3, 11
  • 32. Map/Reduce in detailThursday, November 3, 11
  • 33. Technology to bridge gap?Thursday, November 3, 11
  • 34. What about JPA? Hibernate OGM (Object/Grid Mapper) uses JPA to store in DGs as opposed to DBsThursday, November 3, 11
  • 35. Most frequent use cases for DGs?Thursday, November 3, 11
  • 36. Use cases • Analytic systems, i.e. financial/trading apps • XTP • Event driven apps, i.e. CEP • Clustering toolkitThursday, November 3, 11
  • 37. Do I see DGs as DB replacements?Thursday, November 3, 11
  • 38. DBs are here to stay! No. DBs are proven, mature, well understood plus, there are millions of systems out there!Thursday, November 3, 11
  • 39. One size doesn’t fill all! DBs are not a universal data storage system any moreThursday, November 3, 11
  • 40. Consider Data Grids For their speed, capabilities as data store, and cloud friendlinessThursday, November 3, 11
  • 41. Still some way to go More deployments and standardization (JSR-107, JSR-347)Thursday, November 3, 11
  • 42. Questions infinispan.org - @infinispan speakerrate.com/galderThursday, November 3, 11