Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

A .NET caching solution that uses memory mapping.

Notifications You must be signed in to change notification settings

privjacinta/MemMapCache

Open more actions menu
 
 

Repository files navigation

I needed a cache that could support over 1 MB of data chunks, so Memcache didn't cut it. It only needed to be on the local machine of my software, so I figured that Memory Mapping would be the easiest solution. MemMapCache was born.


It's licensed under the Apache license.

It's very simple to use.
1) Make sure that MemMapCache.exe is running.
2) Include MemMapCacheLib in your project.
3) Usage:


	var cache = new MemMapCache();
	cache.Connect();

	var col = new Dictionary<string, int>();
	col.Add("hello", 5);
	col.Add("hi", 2);

	cache.Set<Dictionary<string,int>>("myKey", col);

	var newCol = cache.Get<Dictionary<string,int>>("myKey");


You can follow me on Twitter: http://twitter.com/jprichardson
Read my blog on entrepreneurship: http://techneur.com

About

A .NET caching solution that uses memory mapping.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.