Back to Catalog
It's been happening before.
The older uncle introduced the article on Redis, with caches, queues, distributed pub/sub, data set caches, and the implementation of warehousing Redis, and so on, and today in LIND.DDD's persistence component, Redis certainly has a place as the most red Key/value storage mechanism in the world today. , it plays a irreplaceable role in the NoSQL camp!
Here is a list of Redis article series, you can refer to the table of contents
Redis Learning Note ~redis installation in a Windows environment
Redis Learning note ~redis application in. Net
Five data structures provided by Redis Learning Note ~redis
Redis Learning Notes ~ Test of five Big data results
Redis Learning Notes ~ Enabling Message Queuing to be more convenient than MSMQ
Redis Learning Note-placing Redis on the data layer as a data source, I think more reasonable and more consistent with my object-oriented principle
Redis Learning Notes ~ It's time to implement a warehousing for Redis, redisrepository.
Redis Learning note ~redis implements multiple cache servers, read/write separation
Redis Learning note ~redis Transaction mechanism and implementation of LIND.DDD.REPOSITORIES.REDIS transaction mechanism
Redis Learning Note ~redis concurrency lock mechanism
Storage module in LIND.DDD, MongoDB has a place
Uncle's REDIS storage structure
Uncle in the Redis storage design, using the Redis transaction mechanism to maintain data consistency, this transaction requires that they belong to the same Redis connection object, so, in the Setdatacontext method implemented this business logic
Public voidSetdatacontext (Objectdb) { Try { //manual Redis database objects, enabling on Redis transactionsRedisdb =(iredisclient) DB; Redistypedclient= redisdb.gettypedclient<tentity>(); Table= redistypedclient.lists[typeof(TEntity). Name]; } Catch(Exception) {Throw NewArgumentException ("Redis. Setdatacontext Required db for iredisclient type"); } }
Let the code to change our lives, change our world!
Back to Catalog
Lind.DDD.Repositories.Redis Layer Introduction