Single-copy-message vs events replicated

"Adam Rifkin" <[email protected]> Thu, 7 Aug 2003 17:35:12 -0700
Newsgroups gmane.comp.web.mod-pubsub.devel
Message-ID <[email protected]>
Strata wrote:
> Does the current codebase use the equivalent of single-copy-message,
> or are events replicated to go to all potential subscribers?
> Or is there nothing equivalent to a message queue?
> 
> I was thinking that there could be value to having individual
> listener sessions from a client, rather than one listener that
> accepts mutiple sub traffic.  Potential for scaling is theoretically
> better on both client and server if you can drop events down into
> hashed socket-address buckets for final delivery.

We do copy events for individual subscribers, but the strings inside them
(payload, etc.) are shared.



> There's a variable-width line between trying to keep grassroots
> momentum and injection-molding some custom astroturf.  Stay focused
> on the apps and the code, gang.  If there are maxims folks need to
> know to use mod_pubsub, that's great, pass 'em on.  Filling up
> space to get to 95 is cute, but ultimately too much.
> 
> If you just *gotta*, then use 9.5 theses instead, and make the .5-th
> one "we know that doing more with less is matter of precision".

Point well-taken.  We're pretty much dropping the theses.  (All of us
except Rohit, that is. :)

On the other hand, we've been talking about semipermeable blogging for
a little while, and Joyce's paper on the topic is available: 

   http://www.mod-pubsub.org/kn_docs/semipermeable.html 

It deals with the issues that we're designing towards, to make sure
we're all on the same page; there will be a design doc for a mod-pubsub
enabled weblog later. We'd love comments and suggestions.



> > > By the way, when the Python PubSub Server runs locally on Windows and
> > > the cxx_pubsub/LibKN library tries to publish to it, we see the error
> > > ERROR_INTERNET_CONNECTION_ABORTED
> > > from the local Windows Python server.  Any ideas on what might cause this?
> > Maybe the client is terminating a keep-alive connection?
> Zone Alarm or similar personal firewall on Windows?
> Windows-native "security" configurations?

Turns out Mike was right, the client was terminating keep-alive connections.
Tommy verified this and patched it...


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01