Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: Socket Handle not sending data ?

by evilkamikaze (Initiate)
on Jul 09, 2009 at 19:04 UTC ( #778661=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Socket Handle not sending data ?
in thread Socket Handle not sending data ?

Hi, Could you please point some good design options? Also, will it work if I try to make it without threads using non-blocking socket call? so if I try to connect to a port and it is not up then instead of blocking I just skip to next port without any delay. Is this something that makes more sense than previous approach? Thanks


Comment on Re^4: Socket Handle not sending data ?
Re^5: Socket Handle not sending data ?
by ikegami (Pope) on Jul 09, 2009 at 19:19 UTC

    Could you please point some good design options?

    What are you trying yo do?

      I want to send millions of events across multiple servers. And I don't want to stop or block sending if one of the server goes down. I also don't want to skip any event. If the server, that's down, comes backup it should be included into my active servers list to which I am sending all my events. I can't even afford a delay of 0.5 seconds in sending of events. Thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://778661]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2014-10-25 07:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (142 votes), past polls