We have Java and reactJs based application with SQL database. We have requirement to periodically reload ( truncate and load) tables from external system while application is running.
Thinking of cases where reload is in progress and application is reading from the sql table at the same time. How to best handle this ?
Trying to simulate the scenario but not able to reproduce.