Re: dynamic background workers
От | Alvaro Herrera |
---|---|
Тема | Re: dynamic background workers |
Дата | |
Msg-id | 20130703151544.GB3592@eldon.alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: dynamic background workers (Andres Freund <andres@2ndquadrant.com>) |
Ответы |
Re: dynamic background workers
|
Список | pgsql-hackers |
Andres Freund escribió: > Just as a datapoint, if you benchmark the numbers of forks that can be > performed by a single process (i.e. postmaster) the number is easily in > the 10s of thousands. Now forking that much has some scalability > implications inside the kernel, but still. > I'd be surprised if the actual fork is more than 5-10% of the current > cost of starting a new backend. I played at having some thousands of registered bgworkers on my laptop, and there wasn't even that much load. So yeah, you can have lots of forks. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: