Home > database >  One of the problems with mysql middleware
One of the problems with mysql middleware

Time:10-06

Now there are a number of mysql middleware, is mainly used to make decision from the separation of master-slave switching, load balance, etc., I have some questions hope god can help solve,
1, if I want to write directly to read, like all the select is away from the library, but I wrote from the main library, this time I just insert ID how to receive? If I want to take just inserted after a certain characteristics of how data is now, due to a slight delay from library, lead to out of the library query data is problematic,
2, how to guarantee? I into the library is successful, then I read from the library of a certain data, find the information read have abnormal, roll back, how to roll back?

CodePudding user response:

Is best not to delay from the library to read such a plan,,,
  • Related