Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: Socket Handle not sending data ?

by evilkamikaze (Initiate)
on Jul 09, 2009 at 19:04 UTC ( [id://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

Replies are listed 'Best First'.
Re^5: Socket Handle not sending data ?
by ikegami (Patriarch) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://778661]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-03-28 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found