| От | Tom Lane |
|---|---|
| Тема | Re: Setting up a database for 10000 concurrent users |
| Дата | |
| Msg-id | 13232.1125969288@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Setting up a database for 10000 concurrent users ("Sergey E. Koposov" <math@sai.msu.ru>) |
| Список | pgsql-general |
"Sergey E. Koposov" <math@sai.msu.ru> writes:
> But I really doubt that it it possible/reasonable to have 10000
> simultaneous connections.
You're going to need a heck of a beefy machine to do it, anyway.
I would expect that after fixing the semaphore configuration problem,
the next thing that'll be an issue is the size of the kernel's open
files table. Do you have the kernel configured to support several
hundred thousand open files?
Also, as already noted, you need to figure at least a megabyte or two
of working storage per connection, so even if it runs it'll probably
swap like mad.
Put a connection pooler in front, instead...
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера