[ 
https://issues.apache.org/jira/browse/THRIFT-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600331#action_12600331
 ] 

Bryan Duxbury commented on THRIFT-22:
-------------------------------------

A quick, modestly scientific test on my local machine shows that the average 
time for a tcp loopback request that writes and reads a total of 20 bytes takes 
0.074ms. The same thing against Unix sockets takes 0.039ms. That's a fair 
improvement, almost double. (This is in a Ruby script, btw.)

> TUnixSocket
> -----------
>
>                 Key: THRIFT-22
>                 URL: https://issues.apache.org/jira/browse/THRIFT-22
>             Project: Thrift
>          Issue Type: New Feature
>          Components: Library (Ruby)
>            Reporter: Bryan Duxbury
>            Priority: Minor
>
> We should make a TUnixSocket (and TUnixServer) transport. This should be 
> pretty easy in Ruby since there's already a UnixSocket and UnixServer class. 
> It'd provide a nice speed boost when you're operating on the local machine.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to