Re: Message queue table - strange performance drop with changing limit size.

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: Message queue table - strange performance drop with changing limit size.
Дата
Msg-id m2hbr4y9qt.fsf@hi-media.com
обсуждение исходный текст
Ответ на Message queue table - strange performance drop with changing limit size.  (Jesper Krogh <jesper@krogh.cc>)
Список pgsql-performance
Jesper Krogh <jesper@krogh.cc> writes:
> I have a "message queue" table, that contains in the order of 1-10m
> "messages". It is implemented using TheSchwartz:
> http://search.cpan.org/~bradfitz/TheSchwartz-1.07/lib/TheSchwartz.pm

One way to approach queueing efficiently with PostgreSQL is to rely on
PGQ. New upcoming 3.0 version (alpha1 has been released) contains the
basics for having cooperative consumers, stable version (2.1.10) only
allows multiple consumers to all do the same work (think replication).

  http://wiki.postgresql.org/wiki/Skytools
  http://wiki.postgresql.org/wiki/PGQ_Tutorial

Regards,
--
dim

В списке pgsql-performance по дате отправления:

Предыдущее
От: Jesper Krogh
Дата:
Сообщение: Re: Message queue table - strange performance drop with changing limit size.
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Message queue table - strange performance drop with changing limit size.