| От | Rob Sargent |
|---|---|
| Тема | Re: using postgresql for session |
| Дата | |
| Msg-id | 561560A0.8070507@gmail.com обсуждение исходный текст |
| Ответ на | Re: using postgresql for session (Bill Moran <wmoran@potentialtech.com>) |
| Список | pgsql-general |
Previous job gave up on mongo and switched to postgres since it was faster, more reliable.On Wed, 7 Oct 2015 09:58:04 -0600 "john.tiger" <john.tigernassau@gmail.com> wrote:has anyone used postgres jsonb for holding session ? Since server side session is really just a piece of data, why bother with special "session" plugins and just use postgres to hold the data and retrieve it with psycopg2 ? Maybe use some trigger if session changes? We are using python Bottle with psycopg2 (super simple, powerful combo) - are we missing something magical about session plugins ?Nothing that I'm aware of. I've worked on large projects that keep the session data in a Postgres table with great success.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера