3. @DevOpsGuysblog.devopsguys.com
The Providers
# Provider Version / NuGet Package / Project Url
1 ASP.NET In-Proc Native .NET 4.5
2 ASP.NET Session State Native .NET 4.5
3 ASP.NET Sql Server Native .NET 4.5
4 CouchBase CouchbaseAspNet v1.1
https://github.com/couchbaselabs/couchbase-aspnet
5 MongoDb MongoDB-ASP.NET-Session-State-Store v 1.1.0
https://github.com/AdaTheDev/MongoDB-ASP.NET-Session-State-Store
6 RavenDb Raven.AspNet.SessionState v1.7.980
https://github.com/mjrichardson/RavenDbSessionStateStoreProvider
7 Redis Harbour.RedisSessionStateStore v1.1.0.0
https://github.com/TheCloudlessSky/Harbour.RedisSessionStateStore
4. @DevOpsGuysblog.devopsguys.com
The Application
• ASP.NET MVC 4.5 Web Application with 2 web
views; simple and complex.
• Simple Session State – strings, integers,
doubles, datetimes, timespans and Guids.
• Complex Session State – generic lists, array
lists, datasets and custom objects
6. @DevOpsGuysblog.devopsguys.com
The Load
• 1000 concurrent users over 60 minutes for
each test.
• Each test ran both simple and complex pages
(views) to test each session state type.
• Origin: EU West (Ireland)
8. @DevOpsGuysblog.devopsguys.com
The Servers
Server Role OS RAM
Web 1 IIS / ASP.NET Windows 2012 8GB
Web 2 IIS / ASP.NET Windows 2012 8GB
State Server • State Server Windows 2012 4GB
SQL Server • SQL Server 2012
Standard
Windows 2012 4GB
NoSQLDb-Win • MongoDb
• RavenDB
Windows 2012 4GB
NoSQLDb-Unix • Couchbase
• Redis
Ubuntu 4GB
12. @DevOpsGuysblog.devopsguys.com
Best Performers
# Provider Remarks
1 Redis Overall the strongest performer winning 4 of 6 tests.
2 In-Proc Good performer, but not suitable for web farms.
3 Session State Service Very solid performer.
4 Couchbase Another solid performer.
5 SQL Server Best memory manager, but still a sledge hammer.
6 MongoDb Poor performance under high load, possible memory issues.
7 RavenDb The provider has a memory leak.