Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iEm0j-0003no-1m for pgsql-general@arkaria.postgresql.org; Mon, 30 Sep 2019 03:06:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iEm0h-0006vT-Sl for pgsql-general@arkaria.postgresql.org; Mon, 30 Sep 2019 03:06:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iEm0h-0006v9-FO for pgsql-general@lists.postgresql.org; Mon, 30 Sep 2019 03:06:03 +0000 Received: from ook.raf.org ([139.99.156.21]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1iEm0e-0003Vw-L8 for pgsql-general@lists.postgresql.org; Mon, 30 Sep 2019 03:06:02 +0000 Received: from localhost (localhost [127.0.0.1]) by ook.raf.org (Postfix) with ESMTP id 10AC55DEB2 for ; Mon, 30 Sep 2019 13:05:56 +1000 (AEST) X-Virus-Scanned: Debian amavisd-new at ook.raf.org Received: from ook.raf.org ([127.0.0.1]) by localhost (ook.raf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zgwk4pTU1uCm for ; Mon, 30 Sep 2019 13:05:55 +1000 (AEST) Received: by ook.raf.org (Postfix, from userid 1001) id A074B5E36C; Mon, 30 Sep 2019 13:05:55 +1000 (AEST) Date: Mon, 30 Sep 2019 13:05:55 +1000 From: raf To: pgsql-general@lists.postgresql.org Subject: Re: Redis 16 times faster than Postgres? Message-ID: <20190930030555.souzqyifygxned44@raf.org> References: <20190929210952.754467a7@mydesk.domain.cxm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190929210952.754467a7@mydesk.domain.cxm> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Steve Litt wrote: > On Mon, 30 Sep 2019 07:46:14 +1000 > Nathan Woodrow 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). > > SteveT > > Steve Litt > Author: The Key to Everyday Excellence > http://www.troubleshooters.com/key > Twitter: http://www.twitter.com/stevelitt i don't know but voltdb, another in-memory database, replicates to other instances which can be in different geographical locations and so not prone to a single power failure. perhaps all in-memory databases are aware of the need for this. cheers, raf