Your SlideShare is downloading. ×
  • Like
Storage caching for_developers
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

Storage caching for_developers

  • 187 views
Published

 

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

Views

Total Views
187
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
2
Comments
0
Likes
0

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
  • Kind of model what you need? Lacetti: 1.6 EX, 1.8. GENTRA: SX. Spark: VAN, LT, LTA. Vivant: SX, CDX AT.
  • Kind of model what you need? Lacetti: 1.6 EX, 1.8. GENTRA: SX. Spark: VAN, LT, LTA. Vivant: SX, CDX AT.
  • Kind of model what you need? Lacetti: 1.6 EX, 1.8. GENTRA: SX. Spark: VAN, LT, LTA. Vivant: SX, CDX AT.

Transcript

  • 1. Storage Caching Cracking Presenter: VU CONG THANH Duration: 1h
  • 2. Agenda
    • Introduction (5minutes)
    • Architecture (15 minutes)
    • Caching Factory (10 minutes)
    • Caching HashMap (10 minutes)
    • Demo (15 minutes)
    • Q&A (5 minutes)
  • 3.
    • Data Caching: Defines the Key, Value
    • Context Caching: Caching the ServiceContext (FindById, Count, and Filter)
    • Caching Loader: Mechanism which injects to FutureCache
    SOC-1892 Cache for storage layer. INTRODUCTION
  • 4. CHALLENGES - REVIEWER
  • 5. ARCHITECTURE
  • 6. Architecture – Caching Data
  • 7. CACHING FACTORY METHOD
    • Provide an Caching Factory creation of objects.(eXoCache, FutureETKCache)
  • 8. CACHING FACTORY METHOD(Cont)
    • Using the CacheService to create the Caching region.
    Caching region Caching Map Caching Service management
  • 9. CACHING FACTORY METHOD(Cont)
    • Using to create the FutureExoCaching.
    • new FutureETKCache<K, V, ServiceContext<V>>(new CacheLoaderVisitor<K, V>(), cache)
    CacheLoader FooFutureCaching CacheFooStorage ExoCache
  • 10. VISITOR
    • Adds the decorator the CachingLoader to the FutureExoCache.
    • Invokes the ServiceContext.execute() method.
  • 11. VISITOR
    • 1. FooCache.get(context, fooKey)
    • 2. Loader.accept(context, fooKey)
    • 3. fooStorageImpl.findFooById(fooId)
    • FindFooById scenario
    • CachedFooStorage class
  • 12. CACHING HASHMAP Define Key.Value pair in eXoCache - CacheKey : Define the key in ExoCache - CacheData: Define the data in ExoCahe
  • 13. CASE STYDY: FindFooById
  • 14. CACHING HASHMAP Define Key.Value pair in eXoCache - CacheKey : Define the key in ExoCache - CacheData: Define the data in ExoCahe
  • 15. DEMO CACHING STORAGE
  • 16. Q&A