From: Salvatore Sanfilippo <anti...@gmail.com>
Date: Fri, 22 Jul 2011 16:12:03 +0200
Local: Fri, Jul 22 2011 10:12 am
Subject: Re: Should I use publish/subscribe?
On Mon, Jul 18, 2011 at 8:31 AM, tianyuan <iamtiany...@gmail.com> wrote: Hello, > I got about 100 web severs, and I want all of these logs get together. > so I am thinking about using publish/subscribe in Redis. > Every web server publishs to to the same channel, it sounds like a good idea. You are not going to store the logs into An alternative is to push instead into a list with LPUSH, and the > When the subscriber get the log, is the log still in memory or Completely disappeared. This is why you may want to use lists instead. > completely disappeared ? But depends on your use case. However Pub/Sub or queues are a good way to communicate between many Cheers, > -- Salvatore 'antirez' Sanfilippo open source developer - VMware http://invece.org 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.
| ||||||||||||||