• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
soft-shake.ch - Data grids and Data Caching
 

soft-shake.ch - Data grids and Data Caching

on

  • 1,025 views

Galder ZAMARREÑO

Galder ZAMARREÑO

Statistics

Views

Total Views
1,025
Views on SlideShare
1,025
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 soft-shake.ch - Data grids and Data Caching Presentation Transcript

    • 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
    • Tuesday, October 11, 11
    • Tuesday, October 11, 11
    • Data Grids and Data Caching Galder Zamarreño Senior Software Engineer Red Hat, Inc 3rd October 2011, Soft ShakeTuesday, October 11, 11
    • 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
    • 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
    • IntroducingTuesday, October 11, 11
    • What is Infinispan? An in-memory, highly available, elastic, and open source (LGPL) data grid platformTuesday, October 11, 11
    • Infinispan can be used as...Tuesday, October 11, 11
    • Local in-memory cache Boost performance caching data which is hard to calculate or expensive to retrieveTuesday, October 11, 11
    • ConcurrentHashMap ? Infinispan provides greater concurrency with MVCC, has built-in eviction...etcTuesday, October 11, 11
    • Local cache exampleTuesday, October 11, 11
    • A local cache might not be enough...Tuesday, October 11, 11
    • Clustered caches Scale up your application and maintain cache consistencyTuesday, October 11, 11
    • Consistency in a clustered cache...Tuesday, October 11, 11
    • InvalidationTuesday, October 11, 11
    • InvalidationTuesday, October 11, 11
    • InvalidationTuesday, October 11, 11
    • Cache-oriented operations...Tuesday, October 11, 11
    • 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
    • Accessing Infinispan cachesTuesday, October 11, 11
    • Embedded AccessTuesday, October 11, 11
    • Infinispan is not just a cache!Tuesday, October 11, 11
    • In-memory data grid It’s a Fast, Available, Distributed, Elastic data store, not just a cache!Tuesday, October 11, 11
    • Invalidation won’t work for data grids!Tuesday, October 11, 11
    • Data distributionTuesday, October 11, 11
    • ReplicationTuesday, October 11, 11
    • Distribution • With number of copies = 2Tuesday, October 11, 11
    • How is data distributed??Tuesday, October 11, 11
    • Consistent HashingTuesday, October 11, 11
    • Solving unequal distributionTuesday, October 11, 11
    • Virtual NodesTuesday, October 11, 11
    • Accessing Infinispan data gridTuesday, October 11, 11
    • Remote Access • Via protocols : • REST • Hot RodTuesday, October 11, 11
    • Hot Rod clientsTuesday, October 11, 11
    • Infinispan as cloud data storeTuesday, October 11, 11
    • Traditional 3-tier AppTuesday, October 11, 11
    • Typical IaaS AppTuesday, October 11, 11
    • Traditional PaaS AppTuesday, October 11, 11
    • Where’s your data stored??Tuesday, October 11, 11
    • Clouds are ephemeral!!Tuesday, October 11, 11
    • StateTuesday, October 11, 11
    • Virtualizing Data Some public services exist (i.e. Amazon RDS), but not all cloud deployments are public!Tuesday, October 11, 11
    • Build your own Data-as-a-Service!Tuesday, October 11, 11
    • Characteristics of DaaS Elastic, scalable and highly available!Tuesday, October 11, 11
    • DaaS with InfinispanTuesday, October 11, 11
    • Architecture Manage and MonitorTuesday, October 11, 11
    • Who uses Infinispan?Tuesday, October 11, 11
    • As a cache... Hibernate 2nd level cache, Torquebox Rails cache...Tuesday, October 11, 11
    • As a temporary store... Http session cache & EJB SFSB cache, in JBoss AS7Tuesday, October 11, 11
    • As data grid... Real-time trading app of a well known stock exchangeTuesday, October 11, 11
    • What’s next?Tuesday, October 11, 11
    • Towards EDG Solidifying Infinispan towards integration with Red Hat’s Enterprise Data GridTuesday, October 11, 11
    • Plus more data grid... Enhancing Hot Rod protocol, Hibernate Object/Grid Mapper ...etcTuesday, October 11, 11
    • Summary Infinispan as fast powerful local cache that can be clustered!Tuesday, October 11, 11
    • Summary But also a F.A.D.E. data grid, accessible in embedded or remote fashionTuesday, October 11, 11
    • Summary Build your own Infinispan based Data-as-a-Service in your private cloud!Tuesday, October 11, 11
    • Questions infinispan.org - @infinispan speakerrate.com/galder More on data grids at 5pm!Tuesday, October 11, 11