Received: by 10.59.1.102 with SMTP id bf6mr4055864ved.21.1349048612386; Sun, 30 Sep 2012 16:43:32 -0700 (PDT) X-BeenThere: redis-db@googlegroups.com Received: by 10.220.141.4 with SMTP id k4ls4482441vcu.8.gmail; Sun, 30 Sep 2012 16:43:29 -0700 (PDT) Received: by 10.58.92.9 with SMTP id ci9mr4046678veb.40.1349048609487; Sun, 30 Sep 2012 16:43:29 -0700 (PDT) Received: by 10.58.92.9 with SMTP id ci9mr4046677veb.40.1349048609473; Sun, 30 Sep 2012 16:43:29 -0700 (PDT) Return-Path: Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by gmr-mx.google.com with ESMTPS id s13si802407vde.2.2012.09.30.16.43.29 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 30 Sep 2012 16:43:29 -0700 (PDT) Received-SPF: pass (google.com: domain of hvar...@gmail.com designates 209.85.220.177 as permitted sender) client-ip=209.85.220.177; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of hvar...@gmail.com designates 209.85.220.177 as permitted sender) smtp.mail=hvar...@gmail.com; dkim=pass header...@gmail.com Received: by vcqp16 with SMTP id p16so6632762vcq.22 for ; Sun, 30 Sep 2012 16:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=hJN6cYGrqpoOC7NIv2rdRzbT5nC1seapuDlLzLbEUts=; b=tZU8ym891OCx+Q4oLqK7mRUg1IogI9Yq1uE7l2q/qlor47AIiGz7C8/YJJrCZrYk8U RZVPVao1YQ2OTA4XEsGrUinaRoNk9HacbIbrB8ydbjGOvMQGM4ytn4fxaJ+kCMj/IJZE MT2YqnegNivzfoJcvGCePxVqbkA9jSrnBE2cOjW5cQnO7zqqBsaT/7lcEC3s8VBEgxuh y1BBefBio5qWT5SrvdVZphWBf6lOLKgYHzCzL3WvNI4PGSYS6ctWQHLTsdmkqIVjh3Zc 5826L1+8tzvCzehrd0CHJGznHpGyKYMEvl0zrctC41HIRmPf+4Jq7qwOAAYY/xeKSIUO jZeg== MIME-Version: 1.0 Received: by 10.52.27.2 with SMTP id p2mr6030296vdg.85.1349048609360; Sun, 30 Sep 2012 16:43:29 -0700 (PDT) Received: by 10.58.114.168 with HTTP; Sun, 30 Sep 2012 16:43:29 -0700 (PDT) In-Reply-To: <20120930233856.GF1...@hezmatt.org> References: <98db5a4f-3d93-419a-bf46-e41b493be016@googlegroups.com> <007d01cd9f1a$6c435310$44c9f9...@gmail.com> <016601cd9f58$ff9389d0$feba9d...@gmail.com> <20120930233856.GF1...@hezmatt.org> Date: Sun, 30 Sep 2012 16:43:29 -0700 Message-ID: Subject: Re: How to reduce redis io usage From: Greg Andrews To: redis-db@googlegroups.com Content-Type: multipart/alternative; boundary=20cf307d0074254c4404caf3db0a --20cf307d0074254c4404caf3db0a Content-Type: text/plain; charset=ISO-8859-1 Wow, the copy to disk on the slave side is a new one to me. Maybe that's how recent versions prevent the slave from blocking all querys during the SYNC. -Greg On Sun, Sep 30, 2012 at 4:38 PM, Matthew Palmer wrote: > On Sun, Sep 30, 2012 at 04:29:50PM -0700, Greg Andrews wrote: > > Dvir, I haven't kept up-to-date on this particular behavior with versions > > after 2.2.x. Does a Redis instance with persistence disabled still > perform > > a AOF creation and write when a slave is attached and sends the SYNC > > command? > > It's an RDB, but yes, connecting a slave triggers an RDB creation on the > master, and that RDB will be copied to disk on the slave before being > loaded into memory. > > http://redis.io/topics/replication > > - Matt > > -- > You received this message because you are subscribed to the Google Groups > "Redis DB" group. > To post to this group, send email to redis-db@googlegroups.com. > To unsubscribe from this group, send email to > redis-db+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/redis-db?hl=en. > > --20cf307d0074254c4404caf3db0a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Wow, the copy to disk on the slave side is a new one to me.=A0 Maybe that&#= 39;s how recent versions prevent the slave from blocking all querys during = the SYNC.

=A0 -Greg

On Sun, Sep 30= , 2012 at 4:38 PM, Matthew Palmer <mpal...@hezmatt.org> wr= ote:
On Sun, Sep 30, 2012 at 04= :29:50PM -0700, Greg Andrews wrote:
> Dvir, I haven't kept up-to-date on this particular behavior with v= ersions
> after 2.2.x. =A0Does a Redis instance with persistence disabled still = perform
> a AOF creation and write when a slave is attached and sends the SYNC > command?

It's an RDB, but yes, connecting a slave triggers an RDB creation= on the
master, and that RDB will be copied to disk on the slave before being
loaded into memory.

http://red= is.io/topics/replication

- Matt

--
You received this message because you are subscribed to the Google Groups &= quot;Redis DB" group.
To post to this group, send email to redis-db@googlegroups.com.
To unsubscribe from this group, send email to redis-db+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/red= is-db?hl=3Den.


--20cf307d0074254c4404caf3db0a--