Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 ?
Replies are listed 'Best First'.
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 surveying the Monastery: (15)
As of 2015-07-31 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (278 votes), past polls