We are a MySQL shop basically and we are familiar with MySQL's thread concurrency level, it uses an internal queue so that even when more number of connections/queries come in,the I/O is throttled and controlled.
The same cannot apply for Postgres since it is multi-process application.Now the questions,
If there are more number of connections,say 2000 connections come in, will all the queries be run parallel i.e 2000 processes will be spawned and be executed simultaneously ? If yes then what are its implications when a rogue query comes in and blocks the other queries, how is it handled internally?
Does postgres have some internal tunable parameter which is similar to MySQL ?
I would appreciate if people point me in the right direction.