Skip to content
GigaSpaces Logo GigaSpaces Logo
  • Products
    • InsightEdge Portfolio
      • Smart Cache
      • Smart ODS
      • Smart Augmented Transactions
    • GigaSpaces Cloud
  • Roles
    • Architects
    • CXOs
    • Product Teams
  • Solutions
    • Industry Solutions
      • Financial Services
      • Insurance
      • Retail and eCommerce
      • Telecommunications
      • Transportations
    • Technical Solutions
      • Operational BI
      • Mainframe & AS/400 Modernization
      • In Memory Data Grid
      • Transactional and Analytical Processing (HTAP)
      • Hybrid Cloud Data Fabric
      • Multi-Tiered Storage
      • Kubernetes Deployment
      • Streaming Analytics for Stateful Apps
  • Customers
  • Company
    • About GigaSpaces
    • Customers
    • Partners
    • Support & Services
      • University
      • Services
      • Support
    • News
    • Contact Us
    • Careers
  • Resources
    • Webinars
    • Blog
    • Demos
    • Solution Briefs & Whitepapers
    • Case Studies
    • Benchmarks
    • ROI Calculators
    • Analyst Reports
    • eBooks
    • Technical Documentation
  • Contact Us
  • Try Free

Ultra fast local cache implementation for .NET

Subscribe to our blog!

Subscribe for Updates
Close
Back

Ultra fast local cache implementation for .NET

.Net Team December 7, 2008
2 minutes read

Native In-Memory Performance for .NET Clients

As you may know, since version 6.6 GigaSpaces XAP.NET has become a separate offering, with a native .NET look & feel, considerably better performance and improved ease of use. We are continuing to improve XAP.NET, and one feature that users have consistently been asking for is native .NET local cache support.   The local cache is actually a client side construct which caches the information read from the space and continuously updates it when it changes in the space. This enables client applications to achieve in memory performance for read operations and decrease the load off the central space.

Some Technical Details

This feature existed for a while now in both the Java and .NET versions, but now we’ve implemented it natively in .NET. The main concept of this cache is that it will wrap a space proxy and drastically boost the speed of id based read operations (Over than a million operations per second). The local cache API is identical to the remote ISpaceProxy API, with a few cache related add-ons. When your code executes an ID-based operation on the space, the cache will detect it, and it will first try to retrieve the requested object from the native local cache. It will go to the central space in case of a cache miss. A read operation is considered an id-based operation when the supplied template only contains actual value in its SpaceID property, and all the other properties have null values.

One of the most interesting parts of the local cache implementation is that due to the fact that it needs to be highly concurrent (incase many client threads access the local cache concurrently), we have implemented highly concurrent native .NET data structures to support it, such as general purpose concurrent dictionaries and more cache specific such as concurrent eviction strategies.

So stay tuned, more details to come when this baby is out 🙂

Eitan Yanovsky

CATEGORIES

  • .Net
  • Caching
  • GigaSpaces
.Net Team

All Posts (9)

YOU MAY ALSO LIKE

June 17, 2007

XAP RC1 – coming tuesday
1 minutes read

December 10, 2008

Scrum@GigaSpaces Slides
1 minutes read

October 15, 2010

NoCAP
8 minutes read
  • Copied to clipboard

PRODUCTS, SOLUTIONS & ROLES

  • Products
  • InsightEdge Portfolio
    • Smart Cache
    • Smart ODS
    • Smart Augmented Transactions
  • GigaSpaces Cloud
  • Roles
  • Architects
  • CXOs
  • Product Teams
  • Solutions
  • Industry
    • Financial Services
    • Insurance
    • Retail and eCommerce
    • Telecommunications
    • Transportation
  • Technical
    • Operational BI
    • Mainframe & AS/400 Modernization
    • In Memory Data Grid
    • HTAP
    • Hybrid Cloud Data Fabric
    • Multi-Tiered Storage
    • Kubernetes Deployment
    • Streaming Analytics for Stateful Apps

RESOURCES

  • Resource Hub
  • Webinars
  • Blogs
  • Demos
  • Solution Briefs & Whitepapers
  • Case Studies
  • Benchmarks
  • ROI Calculators
  • Analyst Reports
  • eBooks
  • Technical Documentation
  • Featured Case Studies
  • Mainframe Offload with Groupe PSA
  • Digital Transformation with Avanza Bank
  • High Peak Handling with PriceRunner
  • Optimizing Business Communications with Avaya

COMPANY

  • About
  • Customers
  • Management
  • Board Members
  • Investors
  • News
  • Events
  • Careers
  • Contact Us
  • Book A Demo
  • Try GigaSpaces For Free
  • Partners
  • OEM Partners
  • System Integrators
  • Value Added Resellers
  • Technology Partners
  • Support & Services
  • University
  • Services
  • Support
Copyright © GigaSpaces 2021 All rights reserved | Privacy Policy
LinkedInTwitterFacebookYouTube

Contact Us