chrisdrobison / signalr-activemq

Back plane implementation for ActiveMQ.
5 stars 0 forks source link

Status of the project #2

Open ghost opened 6 years ago

ghost commented 6 years ago

Hi,

We need to use ActiveMQ as backplane, but I'm not sure if this project is still active, or if you know of any issues with this solution.

One of our concerns is to make sure the connection is still active, and to react when the connection changes its status (via event or delegate). Do you recommend to use this version on production?

chrisdrobison commented 6 years ago

I don't recommend this solution. Signalr requires a distributed incrementing sequence number to know if a message has already been received or not. While this project will work as a backplane, you will most likely receive some messages multiple times since Activemq doesn't have a sequence number for its messages. On Thu, Mar 8, 2018 at 12:22 AM Juan Pablo Araya notifications@github.com wrote:

Hi,

We need to use ActiveMQ as backplane, but I'm not sure if this project is still active, or if you know of any issues with this solution.

One of our concerns is to make sure the connection is still active, and to react when the connection changes its status (via event or delegate). Do you recommend to use this version on production?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/chrisdrobison/signalr-activemq/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/ABu24cJEvoV-LnDPuK9GhievgxN-VMlQks5tcNxFgaJpZM4SiP5S .

ghost commented 6 years ago

Thanks Chris. Didn't know about that.

I saw you also contributed to SignalR.RabbitMQ. Currently we need a backplane for our MVC5 app which runs under a load balancer (4 servers), so we can use it with signalR, but unfortunately we have two restrictions:

  1. Our client don't want to use external services like Azure, for security reasons
  2. They are OK with anything related to MS technologies, or something that can run under Windows. There is a Redis for Windows from 2016, but we have duplication of messages. That bug does not happen with the latest version (tested under Linux), but unfortunately that's not an option for us.

Based on your experience, do you have any recommendation? looks like the official signalR message bus only support Redis (linux) and Service Bus (azure). That's why I found your project, as ActiveMQ runs under Java. What about Rabbit, or any other solution for MS servers?

Thanks in advance!

chrisdrobison commented 6 years ago

The Rabbit one works. That project includes a Rabbit plugin that injects a sequence number. We didn't want to have to install a Rabbit plugin so I created a project based on that, that still uses Rabbit, but uses MongoDB to manage the sequence number. That has worked well for us.

https://github.com/chrisdrobison/SignalR.MongoRabbit

Apparently the readme is wrong so here is the Nuget package:

https://www.nuget.org/packages/SignalR.MongoRabbit/

On Thu, Mar 8, 2018 at 4:46 PM Juan Pablo Araya notifications@github.com wrote:

Thanks Chris. Didn't know about that.

I saw you also contributed to SignalR.RabbitMQ. Currently we need a backplane for our MVC5 app which runs under a load balancer (4 servers), so we can use it with signalR, but unfortunately we have two restrictions:

  1. Our client don't want to use external services like Azure, for security reasons
  2. They are OK with anything related to MS technologies, or something that can run under Windows. There is a Redis for Windows from 2016, but we have duplication of messages. That bug does not happen with the latest version (tested under Linux), but unfortunately that's not an option for us.

Based on your experience, do you have any recommendation? looks like the official signalR message bus only support Redis (linux) and Service Bus (azure). That's why I found your project, as ActiveMQ runs under Java. What about Rabbit, or any other solution for MS servers?

Thanks in advance!

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/chrisdrobison/signalr-activemq/issues/2#issuecomment-371664526, or mute the thread https://github.com/notifications/unsubscribe-auth/ABu24Xzc9flx_VV4zd1_LQQ21LlVDqwjks5tccLUgaJpZM4SiP5S .

ghost commented 6 years ago

Thank very much for all your help Chris. You saved my life.

Thanks!!!!