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 >> Basic question regarding RPC


Copy link to this message
-
Basic question regarding RPC
I have, perhaps, quite a basic question to help improve my understanding
about RPC and maybe HttpServlets even. Hope someone on this list might be
able to answer.

How does one dispatch requests coming from multiple RPC clients (over HTTP
as transport), to different handlers. The challenge I am facing is that, in
my RPC server, I need to respond to a request from each RPC client based on
that clients properties (for ex. Content Type) as well as perform actions
on the messages received based on client-specific or client-defined data
(such as user ids, etc.) These client-specific data values are unique in
the clients own domain, but will not be unique across all clients.
Therefore I need to pick the correct object to handle a given client's
incoming requests, and  in that client's handler object - give
client-specific treatment and construct a response.

Thanks in advance for any suggestions.
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