List Info

Thread: Re: EM based clustering proxy for web apps




Re: EM based clustering proxy for web apps
user name
2007-02-27 16:34:35
On 2/27/07, Kirk Haines < wyhainesgmail.com">wyhainesgmail.com> wrote:
Oh, by the way, as a companion to the clustering proxy I'm also
putting together a simple asynchronous logging service using EM.
Setting it up to so that logging messages can be dumped to it very
quickly, and it'll take care of getting the messages written to their
log file(s), clustering writes as necessary if messages are coming in
quickly.

The intention is that this should allow a collection of cluster
processes all running the same thing to have their messages written to
a single log, without incurring any IO locking bottlenecks from having
multiple processes all trying to send data to the same file.


How are you planning to do the comms to the logging engine? Unix-domain socket? Localhost TCP? I agree that UDP is a sub-ideal choice when you really need to be sure. Another thing I've done is have a logging-facility automatically write into a ferret index. Gives full-text searchable log files.

Re: EM based clustering proxy for web apps
user name
2007-02-27 20:10:36
On 2/27/07, Francis Cianfrocca <garbagecat10gmail.com> wrote:

> How are you planning to do the comms to the logging
engine? Unix-domain
> socket? Localhost TCP? I agree that UDP is a sub-ideal
choice when you
> really need to be sure. Another thing I've done is have
a logging-facility
> automatically write into a ferret index. Gives
full-text searchable log
> files.

A configurable TCP port.  It's not really a whole lot
different than
the clustering proxy code along with the backend protocol
that keeps
the connection alive.


Kirk
_______________________________________________
Eventmachine-talk mailing list
Eventmachine-talkrubyforge.org
http://rubyforge.org/mailman/listinfo/eventmachine-talk

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )