[Spread-users] Spread scaling

Christopher Browne cbbrowne at ca.afilias.info
Mon Mar 8 11:24:05 EST 2010


Richard Maxwell wrote:
>
> Hello,
>
>  
>
> I have written an application that uses Spread to process transactions 
> generated from a call from a MySQL stored procedure in another 
> application.  The stored procedure places the message on a queue via 
> the message_api-1.0beta5 libmessage.so shared library.
>
>  
>
> The application works fine with one exception.  Right around 1000 
> messages being sent by spread the receiving application (scala) 
> receives an exception message that spread disconnected.  This causes 
> no more messages to be received.
>
>  
>
> I have read on the internet other people have written applications 
> that receive hundreds of thousands of messages without any problems.  
> I haven’t done any configuration changes to spread.  I just use the 
> defaults that come with it.
>
>  
>
> I am hoping there are some simple changes that can be done to 
> eliminate this problem.
>
>  
>
> Any help is appreciated.
>
>
> Richard
>

The message was... "Connection closed while reading data"???

If so, then I asked much the same question on the list back in 2008, and 
got the following response:
http://marc.info/?l=spread-users&m=120234452625467&w=2

Basically, you need to have something listening on the queue, otherwise 
the queue will fill up, and the spread server will start refusing new 
messages because it can't buffer any more.




More information about the Spread-users mailing list