Home > Net >  Can't use database based on cache cases, how to manage the cache
Can't use database based on cache cases, how to manage the cache

Time:10-06

Environment is sqlserver200r2, because ali cloud database for image libraries also to give the administrator permissions, rely on, so we can not use database management, if it is necessary in writing found key generation could not solve, will key in the cache after the search, delete, modify it by logic judge whether delete and modify data in the cache list, if there is a need to delete the cache update,
For example

CodePudding user response:

Redis distributed cache, or ActiveMq cache to queue messages directly, and then judge manipulation, is not solve the problem of you? Won't Java has.net version

CodePudding user response:

reference 1st floor tangyanzhi1111 response:
Redis distributed cache, or ActiveMq cache to queue messages directly, then judge manipulation, is not solve the problem of you? Won't Java has.net version


I am now very confused, how to ensure the accuracy of the data in the cache list.
Of course only commonly used to store inside, but at the time of modifying, and deleting may batch processing, pushed to the SQL database rows, executed only know unless I have in front of the batch modify and delete query?

Redis is not contact, I'm not sure on the field, the name of the table, are changing conditions under the premise of Redis how to deal with the key to create and search.
Another ali cloud Redis need to pay another.

About ActiveMq, I don't know if I understand correctly, is there a polling mechanism of database determine the form of the field has changed, then the notification message is sent, and then corresponding judgment in do? If so how do I go to the change of access database, have thought of before using the window in front of the queue but not essentially change.


CodePudding user response:

Redis is less expensive, is essentially to severe thousands of yuan a month

CodePudding user response:

In addition there is no it

CodePudding user response:

In addition there is no it

CodePudding user response:

In addition there is no it
  • Related