You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TPC-C spec allows us to have. maximum of 10 terminals per warehouse. Currently for every terminal created we create a separate thread. This is fine with smaller number of warehouses but even with 1000 warehoues we create about 10k threads. Increasing the warehouses beyond that with one client is unreasonable.
Change the threading model such that:
We have as many threads as the number of DB connections used.
Each terminal is just a state that runs on the threads when they are ready to be executed.
The text was updated successfully, but these errors were encountered:
TPC-C spec allows us to have. maximum of 10 terminals per warehouse. Currently for every terminal created we create a separate thread. This is fine with smaller number of warehouses but even with 1000 warehoues we create about 10k threads. Increasing the warehouses beyond that with one client is unreasonable.
Change the threading model such that:
The text was updated successfully, but these errors were encountered: