I am working on a django project using Postgresql. The use case is as follows:
A user needs to upload an excel (containing 2.5-4K rows) 2-3 times daily. There will be 100s of users (somewhere between 1100-1200).
Now, the issue is the app is taking 1.2-1.8 seconds to write the data in the db. During this time, anyone else viewing the webapp is seeing a "server busy" error.
How can I get around this issue, so that: 1. Write speed can improve 2. Other users can use the webapp and maybe in worst case, we can also have concurrent uploading of excel possible?