[ https://issues.apache.org/jira/browse/AVRO-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795469#action_12795469 ]
Philip Zeyliger commented on AVRO-271: -------------------------------------- bq. A proxy should be thread safe, no? I agree. Thinking about this a bit more, I think the problem is that readBuffers() and writeBuffers() shouldn't be public. If they're public, there's no way to correlate two concurrent requests with the correct buffers. tranceive() works fine, because it's a single method, and the Transceiver might be doing the coordination inside. -- Philip > InProcessTranceiver: connect RPCs without going through any sockets > ------------------------------------------------------------------- > > Key: AVRO-271 > URL: https://issues.apache.org/jira/browse/AVRO-271 > Project: Avro > Issue Type: New Feature > Components: java > Reporter: Philip Zeyliger > Assignee: Philip Zeyliger > Attachments: AVRO-271.patch.txt > > > For testing (both Avro itself, and code that uses > Avro servers) it's sometimes handy to connect the RPCs without > even a socket. This implementation of a Transceiver does just that. > (This can, for users, both avoid the overhead of using sockets, and, > in debugging, let users see stack traces that have both client > and server code in one thread.) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.