i tried to host the postgres 16 db in a windows 19 server that is in the same region of the backend server that is also a windows server , it only saves 10 rows per second even when having pool of open sessions with db ,
but on localhost it saves 100k in less than a sec , I don’t believe that two servers in same region will have this slow connection , because when sending via HTTP , I can receive them requests , but connecting backend to db directly is not able to surpass 10 insertions/sec .
note that I’m only trying to insert new rows , I’m not trying to execute complex queries .
if someone have a solution please help.
shocker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.