Re: Sending notifications from the master to the standby

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Sending notifications from the master to the standby
Дата
Msg-id CAEYLb_XQnZFuZqDTeuzohqMj8PyUnxy59bOqN+fCmL7Bw+sSnA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Sending notifications from the master to the standby  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On 11 January 2012 23:51, Josh Berkus <josh@agliodbs.com> wrote:
>
>> Yeah, upthread Simon pointed out that propagating notifies would be
>> useful for flushing caches in applications that watch the database in a
>> read-only fashion.  I grant that such a use-case is technically possible
>> within the limitations of a slave server; I'm just dubious that it's a
>> sufficiently attractive use-case to justify the complexity and future
>> maintenance costs of the sort of designs we are talking about.  Or in
>> other words: so far, cache invalidation is not the "first" use-case,
>> it's the ONLY POSSIBLE use-case.  That's not useful enough.
>
> Well, cache invalidation is a pretty common task; probably more than 50%
> of all database applications need to do it.

I agree that it would be nice to support this type of cache
invalidation - without commenting on the implementation, I think that
the concept is very useful, and of immediate benefit to a significant
number of people.

--
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Sending notifications from the master to the standby
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [WIP] Double-write with Fast Checksums