Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion The Most Efficiency Method Inter-Process-Communication
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Aikar  
View profile  
 More options Apr 27 2011, 10:42 pm
From: Aikar <xdr...@gmail.com>
Date: Wed, 27 Apr 2011 19:42:12 -0700 (PDT)
Local: Wed, Apr 27 2011 10:42 pm
Subject: Re: The Most Efficiency Method Inter-Process-Communication
Just throwing in my recent findings,
V8 has apparently done a massive performance boost on JSON.

msgpack is now alot slower than JSON

see: https://github.com/aikar/wormhole/issues/3

I had a good streaming msgpack parser implemented doing 50k messages/
sec, and switching to json tripled the speed.

On Apr 27, 9:30 pm, billywhizz <apjohn...@gmail.com> wrote:

> Thanks Matt. had a google but there doesn't seem to be much definitive
> info out there. i'd wager for large message sizes a unix socket should
> be quite a bit faster but if sending lots of small messages, you
> probably won't see a whole lot of difference.

> Justin, the best way to answer a question like this is to do the
> testing yourself based on the system/environment you are optimizing
> for. There's no way to give a definitive general answer to your
> question.

> anyway, i'll see what kind of benchmark i can throw together - i'm
> more interested in the cost of serialization differences myself.

> On Apr 28, 1:44 am, Matt <hel...@gmail.com> wrote:

> > On Wed, Apr 27, 2011 at 8:19 PM, billywhizz <apjohn...@gmail.com> wrote:
> > > does TCP over loopback on linux really not hit the network stack?
> > > doesn't it do packet framing, checksums and protocol handshakes etc? i
> > > can't find any reference to this, so if you have one, please let me
> > > know.

> > AFAIK it's optimised to not go through the network driver layer (so it still
> > goes through parts of the stack, but is optimised so that it doesn't have to
> > talk to hardware). But this is just a memory from when I used to read the
> > Kernel change logs years and years ago.  I can't find any reference to it
> > online now.

> > Matt.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.