1 / 0

First Look at "Project Velocity"

First Look at "Project Velocity". Siddharth Jagtiani Sr. Program Manager | MS India Development Center. Janakiram MSV Sr. Technology Strategist | MS India Development Center. Agena. The need for memory cache Key scenarios for using memory cache Introducing “Project Velocity”

ophira
Download Presentation

First Look at "Project Velocity"

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. First Look at "Project Velocity"

    Siddharth Jagtiani Sr. Program Manager | MS India Development Center Janakiram MSV Sr. Technology Strategist | MS India Development Center
  2. Agena The need for memory cache Key scenarios for using memory cache Introducing “Project Velocity” “Project Velocity” features How do I use “Project Velocity”?
  3. The Need For Memory Cache
  4. Key Scenaros for Memory Cache Reference Data Frequently accessed data Read-only Activity Data Data is generated from an activity Read-Write Will “retire” at the end of activity Resource Data Close to the data tier Concurrent Read-Write operations
  5. Caching Reference Data Scenario: Social Networking Clients Web Tier Distributed Cache Servers Local Cache (in Proc) Usernames, Name-> ID Mapping Data Tier Friend Lists Usernames
  6. Caching Activity-Oriented Data Clients Scenario: Enterprise LOB Application Web Tier Application Tier Integration Hub Distributed Cache Aggregated Vendor Catalogs Order, Invoice, Payment Data Tier Vendor services Pricing Vendor Sources
  7. Caching Resource-Oriented Data Scenario: Flight Inventory and Pricing Booking Service Application Tier Flight Itinerary Seat Inventory Distributed Cache Flight Segment Flight Price Airlines
  8. What is "Project Velocity"? An explicit, distributed, in-memory application cache for all kinds of data (CLR objects, rows, XML, Binary data etc.) Fuse "memory" across machines into a unified cache Clients can be spread across machines or processes Clients Access the Cache as if it was a large single cache Unified Cache View Cache Layer distributes data across the various cache nodes
  9. Where Does It Fit? Users Application / Web Tier … Application Application Velocity ClientLocal Cache Velocity ClientLocal Cache Application Velocity ClientLocal Cache Cache Tier Velocity Service Velocity Service Velocity Service Server 2 Server 1 Server 3 Server Side Callbacks Data Tier Database Cloud
  10. DEMO

    Installing Velocity

  11. "Velocity" Concepts Velocity Service Velocity Service Velocity Service Velocity Service Named Cache : Product Catalog Named Cache : Electronics Inventory Regions Key Payload Tags Region A 121 xxxx “Toy” “Child” 123 yyyy “Toy” “Chair”.. Machine -> Cache Host -> Named Caches -> Regions -> Cache Items -> Objects Host Physical processes hosting Velocity instance. Named Caches Can span across machines Defined in the configuration file Regions Physically co-located Container of Cache Items May be implicit or explicitly created Cache Item Key, Payload (Object ), Tags, TTL, Timestamps, Version
  12. Example Usage Of Velocity API // Create instance of cachefactory (reads appconfig) CacheFactoryfac = new CacheFactory(); // Get a named cache from the factory Cache catalog = fac.GetCache("catalogcache"); // Simple Get/Put catalog.Put("toy-101", new Toy("Puzzle", .,.)); // From the same or a different client Toy toyObj = (Toy)catalog.Get("toy-101"); // Region based Get/Put catalog.CreateRegion("toyRegion"); // Both toy and toyparts are put in the same region catalog.Put("toyRegion", "toy-101", new Toy( .,.)); Catalog.Put("toyRegion", "toypart-100", new ToyParts(…)); Toy toyObj = (Toy)catalog.Get("toyRegion", "toy-101");
  13. DEMO

    Velocity API

  14. "Velocity" for ASP.NET Developers Compliment the ASP.NET Cache object Delegate Caching to Velocity Move Session state from InProc to Velocity
  15. DEMO

    Real World Scenario – DVD Rental AppASP.NET Session in Velocity

  16. June 2008 (CTP1)(TechEd 2008) Schedule Oct 2008 (CTP2)(PDC 2008) CTP3 (Mix 2009) RTM Mid 2009
  17. Summary Velocity
  18. References Project Velocity on MSDN http://msdn.microsoft.com/data Team Blog http://blogs.msdn.com/velocity/
  19. Feedback / QnA Your Feedback is Important! Please take a few moments to fill out our online feedback form For detailed feedback, use the form at http://www.connectwithlife.co.in/vtd/helpdesk.aspx Or email us at vtd@microsoft.com Use the Question Manager on LiveMeeting to ask your questions now!
  20. આભાર ধন্যবাদ நன்றி धन्यवाद ధన్యవాదాలు ಧನ್ಯವಾದಗಳು ଧନ୍ୟବାଦ നിങ്ങള്‍‌ക്ക് നന്ദി ਧੰਨਵਾਦ
More Related