Demand is as follows
- The processing of data wants as far as possible efficient, handling capacity wants as far as possible big
- The user uploads data, but it is exclusive that need assures this data, need is discriminated come out and answer an user to inform immediately already repeated
- This has the data that restrains exclusively, data bulk is greater
Cite a case
The second reduces an activityBegin, the sheet below the user buys goods, found order order to be sent next trade in the system, but order bugle call is not made by the system, however byHim user is inputted(although this demand is very strange, but assume he must so do) , the meeting after the sheet below the success has record issueing sheet, soNeed to be answered immediatelyInform its to whether issue only success to the user
Demand 1+3, go to directly lose inside Redis, abiding change lose let him write Db slowly into alignment, without giving thought to exclusive, shuttle is breathed out! But behavior alignment program is later period reentry travel is abiding change, cannot discriminate data so exclusive this strange demand
Demand 2+3, lose inside past Db directly was over, shuttle is breathed out! But this setting is to be able to appear tall concurrent circumstance, the processing capability of Db cannot satisfy demand 1.
Demand 2+1, what I think of is to use the cache such as Redis to serve, go in the order number stuff that all trading, judge data with respect to can efficient implementation so exclusive. But memory is costlier, order year in year out left data bulk tremendous, may satisfy demand 3?
Want to be consulted have a solution, be Redis machine pile comes is shuttle breathed out?