Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How to reduce redis io usage
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Josiah Carlson  
View profile  
 More options Sep 30 2012, 9:20 pm
From: Josiah Carlson <josiah.carl...@gmail.com>
Date: Sun, 30 Sep 2012 18:20:23 -0700
Local: Sun, Sep 30 2012 9:20 pm
Subject: Re: How to reduce redis io usage
Redis has been able to not block on requests during sync for quite a
while (maybe since 2.0). Somewhere around version 2.0 is also when
Redis got the option to serve stale data when sync had been lost (the
default in pre-2.0 versions), or to return an error (the new default).

And I am pretty sure that writing the incoming rdb to disk and being
able to serve requests prior to complete startup are independent and
unrelated. Redis should have always been writing incoming dumps to
disk, it's just that returning something during load was something
that would be useful to know (instead of blocking on startup).

Regards,
 - Josiah

On Sun, Sep 30, 2012 at 4:43 PM, Greg Andrews <hvar...@gmail.com> wrote:
> 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 <mpal...@hezmatt.org> 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.

> --
> 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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.