Google Groups

RE: Youporn.com is now a 100% Redis Site


Eric Pickup Feb 16, 2012 7:03 AM
Posted in group: Redis DB
Thanks for the pointer.  Someone introduced a logic bug that didn't show up right away.  It was creating an invalid offset for the ZRANGE as you suspected.

Fixed.

Eric Pickup
YouPorn Lead Developer
Manwin Canada
Office: +1.514.359.3555
Fax: +1.514.359.3556
Email: eric....@manwin.com


-----Original Message-----
From: redi...@googlegroups.com [mailto:redi...@googlegroups.com] On Behalf Of Salvatore Sanfilippo
Sent: February-16-12 4:08 AM
To: redi...@googlegroups.com
Subject: Re: Youporn.com is now a 100% Redis Site

Eric maybe I found a bug with the new implementation: apparently in the category page the first page is always empty, with just the four videos people are watching right now, but without the big listing.
From page 2 everything starts to look ok again.
Maybe related to the parameters passed to ZRANGE?

Cheers,
Salvatore

On Thu, Feb 16, 2012 at 2:57 AM, Eric Pickup <eric....@manwin.com> wrote:
> I just want to let the devs know that Youporn.com relaunched two weeks
> ago with Redis as our primary database.  With @100 million page views
> per day, our cluster of Redis slaves are handling over 300k queries
> per second.
>
> After the switchover we had to add some additional Redis nodes but not
> because Redis was overworked but because the network cards couldn't
> keep up with Redis.
>
> Everyone involved has been more than impressed with Redis'
> performance.
>
> All reads come from Redis;  we are maintaining MySQL just to allow us
> to build new sorted sets as our requirement change.
>
> I'm going to be doing the keynote a major Canadian tech conference
> (confoo.ca) about the youporn.com rewrite and one of the major topics
> will be Redis and how much it helped us.
>
> Do you guys have a logo that would look good on a white background?  I
> want to make you guys stand out.
>
> Thanks for the great software!
>
> ~Eric
>
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to redis-db+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/redis-db?hl=en.
>

--
Salvatore 'antirez' Sanfilippo
open source developer - VMware

http://invece.org
"We are what we repeatedly do. Excellence, therefore, is not an act, but a habit." -- Aristotele

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

This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately. Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser immédiatement, par retour de courrier électronique ou par un autre moyen.