Answer the question
In order to leave comments, you need to log in
What is the best way to design or what do you use?
How to handle large amount of dynamic data.
For example, let's take a store that has the opportunity to postpone the goods (book).
This store consists of: (2-3 stores + warehouse) maybe more "not the point"
Таблица:count
(id| shop1| shop2| shop3| sklad| reserve| well)
( 1| 3| 0| 11| 1| 5| 10)
Answer the question
In order to leave comments, you need to log in
Table: countBuilt incorrectly. Will you change the structure when adding/removing a new store? Needs to be redone.
Now the most difficult thing is to somehow collect and process all this, the difficulty arises when a crowd of users book 2-3 goods.When a user adds a product to the cart, the product must be blocked for a certain period of time. If during this time the user has not bought it, then this unit of goods can again be considered free.
you need to freeze the value of the cell being changedNo need. It is necessary to use transactions, blocking the goods for the user.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question