http://www.couchbase.com/couchbase-server/overview
http://www.couchbase.com/docs/couchbase-sdk-net-1.0/getting-started.html
Couchbase 是基于nosql 的文档型数据库。(博客园现在也是用这个membercache + couchbase)
由于灵活的json模型,很容易去修改应用程序中的数据。高可用性的读写性能会让你实际应用起来更加的顺手和方便。Couchbase Sever 很容易扩展的拓扑的,让系统几乎没有down机的可能性。
.NET C# Resources
Community
A video webcast about .NET is on YouTube.
Console.WriteLine("Hello Couchbase!");
var newBeer
=
new Beer
{ Name
=
"Atlantic Amber"
}
;
client . StoreJson (StoreMode . Add, "beer_Atlantic_Amber", newBeer ) ;
var view = client . GetView <Beer > ( "beers", "by_name" )
foreach (var beer in view . Key ( "Atlantic Amber" ) . Limit ( 1 ) )
{
Console . WriteLine (beer . Name ) ;
}
client . StoreJson (StoreMode . Add, "beer_Atlantic_Amber", newBeer ) ;
var view = client . GetView <Beer > ( "beers", "by_name" )
foreach (var beer in view . Key ( "Atlantic Amber" ) . Limit ( 1 ) )
{
Console . WriteLine (beer . Name ) ;
}