Implementing an RPC system with apache pulsar - apache-pulsar

I would like to implement an RPC system with NodeJS and Java client using Apache Pulsar. Unless there is already one, would you have any advice to implement this?

Related

connect node js with apache ignite thick client

I am trying to connect my nodeJS with Apache ignite regular(thick)client, but i am unable to find any proper documentation or example of that.Can anyone suggest what are the steps for that.
As far as know thick Ignite client hasn't been implemented yet. Anyway you should be able to use thin Node.js client.

Does anyone used rpc framework inside libevent?

I have a multiserver multiclient application and I would like to keep some common data managed by a single daemon (to avoid a nightmare f concurrency), so the servers can just ask it when they need to manipulate the shared data.
I am already using libevent in the servers so I would like to stick to it and use it's RPC framework but I could not find an example of it used in real world.
Google Protobuf provides a RPC framework. And it is also used inside Google for RPC and many other things.
Protobuf is a library for data exchanging.
It handles data serialization, deserialization, compression, and so on.
It is created and opensourced by Google.
However, they didn't opensource the part of RPC implementation.
It only provides a framework.
You can integrate Protobuf with your existing libevent program.
I have personally implemented a RPC with Protobuf and libev(which is a similar project to libevent). And they work fine.

Erlang SASL AUTH PROTOCOL implementation

Many Systems are beginning to use this SASLAuthProtocol (see RFC4422) for authenticating Clients in RESTFUL interactions. Examples are: Couchbase Server 2.0, Memcached e.t.c. I wonder if there is an erlang complete implementation of this authentication protocol. A Java implementation is a good example of what i am looking for. This Python Code seems to be the python implementation of this protocol. Is there an Erlang library i can quickly use to have SASLAuth support in my Application ?
I've not tried this, but it looks like it implements SASL for Erlang:
https://github.com/mikma/esasl
When searching for this kind of thing, take care to avoid the SASL in Erlang, which is System Architecture Support Libraries - "these are not the SASL you're looking for"...

Thrift publish subscribe

I'm evaluating thrift as an rpc framework. I want to be able to do publish/subscribe logic with thrift and was wondering how to do this.
A few different answers may help:
Is there a canonical way to do publish/subscribe with thrift?
Is there a way to stream results of a call (similar to zerorpc streaming)?
How do you solve this problem?
I've done my own research and it looks like that with thrift, you should serialize and do pub sub over some type of message queue like zeromq or redis.
Have you taken a look at DDS? Data Distribution Service is a full standard for doing publish / subscribe communications via topics.

RPC and MessageQueues in node.js

What are the good use cases for using RPC over MQ ? If a node process wants to talk to a java program, can we use RabbitMQ ? What are the other alternatives ?
what nowjs or dNode does that can not be done with socket.io ?
There are many modules in node.js on either RPC or MQ.. Do they all cater to some specific need ?
EDIT:
What I am looking for ?
How do you do a RPC style of full duplex communication between browser/client and server? I think the answer would be socket.io or nowjs or dNode.. Please add if there are more.
How does your node process talk to other processes in a heterogeneous system ? This might be necessary if you want to offload some of your CPU bound task to other processes... For example between node.js process and a Java process. There can be 3 different ways of doing that. Which one is suitable for what ?
i. publish-subscribe
ii. request-response
iii. push-pull
When would you use xmpp and not rabbitMQ ?
Yes, NowJS or dnode are good choices.
redis pub sub might work for you, as would using rabbit. Depends on your use-case.
I don't think xmpp and rabbit are comparable? rabbit is for messaging, xmpp is a chat protocol (like what google chat uses, I think).
/fyi #node.js IRC welcomes you: http://bit.ly/nodeIRC

Resources