Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Avro >> mail # user >> AVRO and SSL/TLS RPC calls


+
Dr. Pala 2013-09-25, 13:45
Copy link to this message
-
Re: AVRO and SSL/TLS RPC calls
Hi Max,

I did something similar recently to handle RPC calls from Node.js to our Scala services.

We use a WebSocket connection over SSL/TLS.  This reduces the overhead associated with handling a bunch of HTTP headers for every request.  Each connection begins with the client-server handshake as described in the spec.

To allow responses to flow back to each client in the order they complete, the client writes a sequence number in the metadata for each request.  The server writes this same sequence number into the metadata for the corresponding response.  This requires both endpoints to keep a little more state around.

--
Connor

> On Sep 25, 2013, at 8:45, "Dr. Pala" <[EMAIL PROTECTED]> wrote:
>
> Dear Avrers (Avro Users),
>
> I am a newbie in using Avro, and I am trying to figure out how to use avro to perform RPC calls in Java (and, unfortunately, PHP) by using stateful TLS connections.
>
> Going through the documentation I could not find references on how to do it, so I was wondering if any of you could point me in the right direction.
>
> Do you have pointers for documentation, examples, and/or suggestions ?
>
> Thanks,
> Max
>
> --
> Best Regards,
> Dr. Massimiliano Pala
> Senior Security Research Scientist
> DataFASCIA
>
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB