Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Help me understand/fix buffering issue for tcp?

by andreas1234567 (Vicar)
on Nov 21, 2011 at 14:31 UTC ( #939208=note: print w/ replies, xml ) Need Help??


in reply to Help me understand/fix buffering issue for tcp?

Isn't lightning fast socket-like communication what ZeroMQ supposedly is designed for? Some even writes:

Performance matches and often exceeds that of raw sockets.
YMMV.

--
No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]


Comment on Re: Help me understand/fix buffering issue for tcp?
Re^2: Help me understand/fix buffering issue for tcp?
by suaveant (Parson) on Nov 21, 2011 at 20:29 UTC
    Hrm, I've never seen that and am definitely going to have to look at it closer, but I don't know that it can fully solve my problem (if it solves it at all). Mainly because in the case that started me on this other people connect to the system and I assumed they'd all have to switch, too.

    I have a feeling the sockets are plenty fast enough, I think its buffering at some level that is causing the issue. Or something. What's really strange is the fact that when I print the line in two pieces it takes longer than if I send it all out as one, which is exactly what buffering is supposed to help with. I guess the buffering overhead could be just that high in which case maybe sensing a local connection and turning off buffering would do the trick (if you can even fully turn it off).

                    - Ant
                    - Some of my best work - (1 2 3)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2014-07-12 09:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (239 votes), past polls