Your SlideShare is downloading. ×
0
Storage caching for_developers
Storage caching for_developers
Storage caching for_developers
Storage caching for_developers
Storage caching for_developers
Storage caching for_developers
Storage caching for_developers
Storage caching for_developers
Storage caching for_developers
Storage caching for_developers
Storage caching for_developers
Storage caching for_developers
Storage caching for_developers
Storage caching for_developers
Storage caching for_developers
Storage caching for_developers
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Storage caching for_developers

203

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
203
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
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 <ul><li>Introduction (5minutes) </li></ul><ul><li>Architecture (15 minutes) </li></ul><ul><li>Caching Factory (10 minutes) </li></ul><ul><li>Caching HashMap (10 minutes) </li></ul><ul><li>Demo (15 minutes) </li></ul><ul><li>Q&amp;A (5 minutes) </li></ul>
    • 3. <ul><li>Data Caching: Defines the Key, Value </li></ul><ul><li>Context Caching: Caching the ServiceContext (FindById, Count, and Filter) </li></ul><ul><li>Caching Loader: Mechanism which injects to FutureCache </li></ul>SOC-1892 Cache for storage layer. INTRODUCTION
    • 4. CHALLENGES - REVIEWER
    • 5. ARCHITECTURE
    • 6. Architecture – Caching Data
    • 7. CACHING FACTORY METHOD <ul><li>Provide an Caching Factory creation of objects.(eXoCache, FutureETKCache) </li></ul>
    • 8. CACHING FACTORY METHOD(Cont) <ul><li>Using the CacheService to create the Caching region. </li></ul>Caching region Caching Map Caching Service management
    • 9. CACHING FACTORY METHOD(Cont) <ul><li>Using to create the FutureExoCaching. </li></ul><ul><li>new FutureETKCache&lt;K, V, ServiceContext&lt;V&gt;&gt;(new CacheLoaderVisitor&lt;K, V&gt;(), cache) </li></ul>CacheLoader FooFutureCaching CacheFooStorage ExoCache
    • 10. VISITOR <ul><li>Adds the decorator the CachingLoader to the FutureExoCache. </li></ul><ul><li>Invokes the ServiceContext.execute() method. </li></ul>
    • 11. VISITOR <ul><li>1. FooCache.get(context, fooKey) </li></ul><ul><li>2. Loader.accept(context, fooKey) </li></ul><ul><li>3. fooStorageImpl.findFooById(fooId) </li></ul><ul><li>FindFooById scenario </li></ul><ul><li>CachedFooStorage class </li></ul>
    • 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&amp;A

    ×