I have created a custom web API for submitting data to a MYSQL server for my Java application. Within my Java application I need to add/update 200 rows, and I already have it making these requests one at a time.
- This can be pretty time consuming, so can I create threads for all of these different connections?
- Should I limit the number of maximum connections made at a time? Maybe like 10 at a time?
- Will this cause any issues with mysql possibly adding rows at exactly the same time? (No 2 rows would ever be needed to be changed at a single point in time)