soft-shake.ch - Data grids and Data Caching
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

soft-shake.ch - Data grids and Data Caching

on

  • 1,133 views

Galder ZAMARREÑO

Galder ZAMARREÑO

Statistics

Views

Total Views
1,133
Views on SlideShare
1,133
Embed Views
0

Actions

Likes
0
Downloads
9
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

soft-shake.ch - Data grids and Data Caching Presentation Transcript

  • 1. cocktail d’expérience informatiques Genève 3 & 4 octobre 2011 Seconde édition soft-shake.chAuteur Galder ZAMARREÑO Track JavaSession Data Grids and Data Caching
  • 2. Tuesday, October 11, 11
  • 3. Tuesday, October 11, 11
  • 4. Data Grids and Data Caching Galder Zamarreño Senior Software Engineer Red Hat, Inc 3rd October 2011, Soft ShakeTuesday, October 11, 11
  • 5. Galder Zamarreño • R&D Engineer, Red Hat Inc. • Infinispan developer • 5+ years exp. with distributed data systems • Twitter: @galderz • Blog: zamarreno.comTuesday, October 11, 11
  • 6. Agenda • What is Infinispan? • Infinispan as in-memory cache • Infinispan as in-memory data grid • Data-as-a-Service with Infinispan • Who uses Infinispan?Tuesday, October 11, 11
  • 7. IntroducingTuesday, October 11, 11
  • 8. What is Infinispan? An in-memory, highly available, elastic, and open source (LGPL) data grid platformTuesday, October 11, 11
  • 9. Infinispan can be used as...Tuesday, October 11, 11
  • 10. Local in-memory cache Boost performance caching data which is hard to calculate or expensive to retrieveTuesday, October 11, 11
  • 11. ConcurrentHashMap ? Infinispan provides greater concurrency with MVCC, has built-in eviction...etcTuesday, October 11, 11
  • 12. Local cache exampleTuesday, October 11, 11
  • 13. A local cache might not be enough...Tuesday, October 11, 11
  • 14. Clustered caches Scale up your application and maintain cache consistencyTuesday, October 11, 11
  • 15. Consistency in a clustered cache...Tuesday, October 11, 11
  • 16. InvalidationTuesday, October 11, 11
  • 17. InvalidationTuesday, October 11, 11
  • 18. InvalidationTuesday, October 11, 11
  • 19. Cache-oriented operations...Tuesday, October 11, 11
  • 20. putForExternalRead() put() putForExternalRead() Use for updating state Use to cache state read from external source Regular lock acquisition timeout Fail-fast Could throw an exception Fails quietly Could cause existing transaction to Will never affect existing fail transactionsTuesday, October 11, 11
  • 21. Accessing Infinispan cachesTuesday, October 11, 11
  • 22. Embedded AccessTuesday, October 11, 11
  • 23. Infinispan is not just a cache!Tuesday, October 11, 11
  • 24. In-memory data grid It’s a Fast, Available, Distributed, Elastic data store, not just a cache!Tuesday, October 11, 11
  • 25. Invalidation won’t work for data grids!Tuesday, October 11, 11
  • 26. Data distributionTuesday, October 11, 11
  • 27. ReplicationTuesday, October 11, 11
  • 28. Distribution • With number of copies = 2Tuesday, October 11, 11
  • 29. How is data distributed??Tuesday, October 11, 11
  • 30. Consistent HashingTuesday, October 11, 11
  • 31. Solving unequal distributionTuesday, October 11, 11
  • 32. Virtual NodesTuesday, October 11, 11
  • 33. Accessing Infinispan data gridTuesday, October 11, 11
  • 34. Remote Access • Via protocols : • REST • Hot RodTuesday, October 11, 11
  • 35. Hot Rod clientsTuesday, October 11, 11
  • 36. Infinispan as cloud data storeTuesday, October 11, 11
  • 37. Traditional 3-tier AppTuesday, October 11, 11
  • 38. Typical IaaS AppTuesday, October 11, 11
  • 39. Traditional PaaS AppTuesday, October 11, 11
  • 40. Where’s your data stored??Tuesday, October 11, 11
  • 41. Clouds are ephemeral!!Tuesday, October 11, 11
  • 42. StateTuesday, October 11, 11
  • 43. Virtualizing Data Some public services exist (i.e. Amazon RDS), but not all cloud deployments are public!Tuesday, October 11, 11
  • 44. Build your own Data-as-a-Service!Tuesday, October 11, 11
  • 45. Characteristics of DaaS Elastic, scalable and highly available!Tuesday, October 11, 11
  • 46. DaaS with InfinispanTuesday, October 11, 11
  • 47. Architecture Manage and MonitorTuesday, October 11, 11
  • 48. Who uses Infinispan?Tuesday, October 11, 11
  • 49. As a cache... Hibernate 2nd level cache, Torquebox Rails cache...Tuesday, October 11, 11
  • 50. As a temporary store... Http session cache & EJB SFSB cache, in JBoss AS7Tuesday, October 11, 11
  • 51. As data grid... Real-time trading app of a well known stock exchangeTuesday, October 11, 11
  • 52. What’s next?Tuesday, October 11, 11
  • 53. Towards EDG Solidifying Infinispan towards integration with Red Hat’s Enterprise Data GridTuesday, October 11, 11
  • 54. Plus more data grid... Enhancing Hot Rod protocol, Hibernate Object/Grid Mapper ...etcTuesday, October 11, 11
  • 55. Summary Infinispan as fast powerful local cache that can be clustered!Tuesday, October 11, 11
  • 56. Summary But also a F.A.D.E. data grid, accessible in embedded or remote fashionTuesday, October 11, 11
  • 57. Summary Build your own Infinispan based Data-as-a-Service in your private cloud!Tuesday, October 11, 11
  • 58. Questions infinispan.org - @infinispan speakerrate.com/galder More on data grids at 5pm!Tuesday, October 11, 11