How does the Synchronize function of a shopping cart like Taobao come true?

shop on the PC, then add the goods to the shopping cart,
;
then the question is: how does this function work?
my negative answer:
(1) should not directly operate the database, after all, Taobao data is too large, direct operation of the database, it is estimated that the database will fail;
(2) put in the cache, what is the basis for the cache to update the database? Or not update the database? I"m not sure.
Mar.04,2021

how to say, you should be underestimate Ali . If this data operation database had all failed, Ali would have closed down long ago.

I don't know much about Ali's technology, but if you want to know about it, you can go to Ali's technical manual


"Ali Technology reference album" (R & D)

Menu