Re: Redis 16 times faster than Postgres?

Поиск
Список
Период
Сортировка
От Ben Chobot
Тема Re: Redis 16 times faster than Postgres?
Дата
Msg-id 53446CE1-5E1D-4A1A-A56C-FBBAB0B250F5@silentmedia.com
обсуждение исходный текст
Ответ на Re: Redis 16 times faster than Postgres?  (Ron <ronljohnsonjr@gmail.com>)
Список pgsql-general
On Sep 29, 2019, at 8:44 PM, Ron <ronljohnsonjr@gmail.com> wrote:
>
> On 9/29/19 8:09 PM, Steve Litt wrote:
>> On Mon, 30 Sep 2019 07:46:14 +1000
>> Nathan Woodrow <madmanwoo@gmail.com> wrote:
>>
>>> Redis is a in memory database so I would except it to be always much
>>> faster..
>> Is there a way to have Redis periodically update an on-disk backup?
>> That would be great, but otherwise you're at the mercy of your power
>> company (here in Central Florida it's routine for power to go down and
>> stay down for five hours).
>
> It would be criminal for it not to have an async writer process flushing modified pages to disk.  And to not have a
UPSthat you've tested. 

It's perfectly reasonable to use Redis as a caching layer without any persistence at all. In such cases, flushing state
todisk is a waste of resources.  

(For other use cases, yes, Redis allows you to flush state to disk.)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Redis 16 times faster than Postgres?
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: Possible bug: SQL function parameter in window frame definition