My favorites | Sign in
Project Logo
                
Search
for
Updated Dec 01, 2008 by Daniel.Pupek
Labels: Featured, Phase-Deploy
MemcachedForMonorail  
The MemcachedForMonorail library adds some monorail extensions for using memcached.

Introduction

Memcached for Monorail (MfM) is my attempt at a simple, memcached/enyim based, session and caching facility for Monorail. MfM offers a lightweight, fast, low friction, facility for balancing Monorail sessionstate and object caches accross multiple servers.

Memcached offers an excellent solution for applications that need to balance object caches across multiple servers. It does so without the overhead of a database or even the use of the hard disk.

Since the Monorail sessions exist independent of the ASP.Net session the ASP.Net session can be used to persist values locally...this gives a noticeable read performance.

Use Scenarios

Details

Caching Strategy

This library is READ optimized. As long as memcached stays un-flushed your app should never read from the database. Write speeds depend on the speed of your db server. You have 3 options for persisting to the database;(1)No db persistence, (2)Active record persistence (3) raw persistence.

WRITING

READING

Dependencies

Here are a few dependencies you will need to get going:

OK, It's late at night and this is an eleventh hour post. I promise more information in the next few days!

Current Features

Planned Features

Limitations

Memcached does not replicate cached objects across all servers. It simply load balances them. That said, until I add the DB persistence your application will be vulnerable to losing some session values if one or more memcached server goes down.


Sign in to add a comment
Hosted by Google Code