• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Data Grids and Data Caching
 

Data Grids and Data Caching

on

  • 2,628 views

 

Statistics

Views

Total Views
2,628
Views on SlideShare
2,628
Embed Views
0

Actions

Likes
7
Downloads
75
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

    Data Grids and Data Caching Data Grids and Data Caching Presentation Transcript

    • Thursday, November 3, 11
    • Thursday, November 3, 11
    • Data Grids and Data Caching Galder Zamarreño Senior Software Engineer Red Hat, Inc 3rd October 2011, Soft ShakeThursday, November 3, 11
    • 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
    • Agenda • What is Infinispan? • Infinispan as in-memory cache • Infinispan as in-memory data grid • Data-as-a-Service with Infinispan • Who uses Infinispan?Thursday, November 3, 11
    • IntroducingThursday, November 3, 11
    • What is Infinispan? An in-memory, highly available, elastic, and open source (LGPL) data grid platformThursday, November 3, 11
    • Infinispan can be used as...Thursday, November 3, 11
    • Local in-memory cache Boost performance caching data which is hard to calculate or expensive to retrieveThursday, November 3, 11
    • ConcurrentHashMap ? Infinispan provides greater concurrency with MVCC, has built-in eviction...etcThursday, November 3, 11
    • Local cache exampleThursday, November 3, 11
    • A local cache might not be enough...Thursday, November 3, 11
    • Clustered caches Scale up your application and maintain cache consistencyThursday, November 3, 11
    • Consistency in a clustered cache...Thursday, November 3, 11
    • InvalidationThursday, November 3, 11
    • InvalidationThursday, November 3, 11
    • InvalidationThursday, November 3, 11
    • Cache-oriented operations...Thursday, November 3, 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 transactionsThursday, November 3, 11
    • Accessing Infinispan cachesThursday, November 3, 11
    • Embedded AccessThursday, November 3, 11
    • Infinispan is not just a cache!Thursday, November 3, 11
    • In-memory data grid It’s a Fast, Available, Distributed, Elastic data store, not just a cache!Thursday, November 3, 11
    • Invalidation won’t work for data grids!Thursday, November 3, 11
    • Data distributionThursday, November 3, 11
    • ReplicationThursday, November 3, 11
    • Distribution • With number of copies = 2Thursday, November 3, 11
    • How is data distributed??Thursday, November 3, 11
    • Consistent HashingThursday, November 3, 11
    • Solving unequal distributionThursday, November 3, 11
    • Virtual NodesThursday, November 3, 11
    • Accessing Infinispan data gridThursday, November 3, 11
    • Remote Access • Via protocols : • REST • Hot RodThursday, November 3, 11
    • Hot Rod clientsThursday, November 3, 11
    • Infinispan as cloud data storeThursday, November 3, 11
    • Traditional 3-tier AppThursday, November 3, 11
    • Typical IaaS AppThursday, November 3, 11
    • Traditional PaaS AppThursday, November 3, 11
    • Where’s your data stored??Thursday, November 3, 11
    • Clouds are ephemeral!!Thursday, November 3, 11
    • StateThursday, November 3, 11
    • Virtualizing Data Some public services exist (i.e. Amazon RDS), but not all cloud deployments are public!Thursday, November 3, 11
    • Build your own Data-as-a-Service!Thursday, November 3, 11
    • Characteristics of DaaS Elastic, scalable and highly available!Thursday, November 3, 11
    • DaaS with InfinispanThursday, November 3, 11
    • Architecture Manage and MonitorThursday, November 3, 11
    • Who uses Infinispan?Thursday, November 3, 11
    • As a cache... Hibernate 2nd level cache, Torquebox Rails cache...Thursday, November 3, 11
    • As a temporary store... Http session cache & EJB SFSB cache, in JBoss AS7Thursday, November 3, 11
    • As data grid... Real-time trading app of a well known stock exchangeThursday, November 3, 11
    • What’s next?Thursday, November 3, 11
    • Towards EDG Solidifying Infinispan towards integration with Red Hat’s Enterprise Data GridThursday, November 3, 11
    • Plus more data grid... Enhancing Hot Rod protocol, Hibernate Object/Grid Mapper ...etcThursday, November 3, 11
    • Summary Infinispan as fast powerful local cache that can be clustered!Thursday, November 3, 11
    • Summary But also a F.A.D.E. data grid, accessible in embedded or remote fashionThursday, November 3, 11
    • Summary Build your own Infinispan based Data-as-a-Service in your private cloud!Thursday, November 3, 11
    • Questions infinispan.org - @infinispan speakerrate.com/galder More on data grids at 5pm!Thursday, November 3, 11