Wednesday, 15 March 2017

node js and postgresql query locks?

I am planning on building an application using Node JS that stores and retrieves its data from a postgresql database. My concern is that as the application scales will I run into query contention on the database? If I have perhaps a dozen or more Node JS instances talking to the database at once updating different tables and fields eventually something somewhere will collide. How can I prevent this from happening or what is the best way to mitigate it ?



via neatoh80

No comments:

Post a Comment