Giter VIP home page Giter VIP logo

Comments (13)

d-exclaimation avatar d-exclaimation commented on May 28, 2024

What type of AWS services are you using?

I am not too familiar with AWS and all of their types of services but I'll look into it

from pioneer.

cshadek avatar cshadek commented on May 28, 2024

AWS ECS. It's a container service and I'm using Docker. I think it has 2 EC2 instances running, so my explanation might make sense.

from pioneer.

cshadek avatar cshadek commented on May 28, 2024

I'll work on creating a RedisPubSub package that implements the Pioneer PubSub and hopefully that will fix it.

from pioneer.

d-exclaimation avatar d-exclaimation commented on May 28, 2024

Right, it's likely the case here.

Do keep me updated if the issue still exist even with a Redis backed PubSub.

from pioneer.

d-exclaimation avatar d-exclaimation commented on May 28, 2024

I'll work on creating a RedisPubSub package that implements the Pioneer PubSub and hopefully that will fix it.

Also, you can use the example I put out in the documentation as a starting point in building the Redis backed PubSub.

from pioneer.

cshadek avatar cshadek commented on May 28, 2024

Oh wow lol. That's pretty much exactly what I needed. You should really just put that in a new repo called PioneerRedisPubSub. I was going to do it, but you've already done all the work. You might as well get the credit.

from pioneer.

d-exclaimation avatar d-exclaimation commented on May 28, 2024

Oh wow lol. That's pretty much exactly what I needed. You should really just put that in a new repo called PioneerRedisPubSub. I was going to do it, but you've already done all the work. You might as well get the credit.

I will probably put it in a new repo, but I have only tested it in an example application once so I will be making sure that it fully working and clean of major issues beforehand.

from pioneer.

d-exclaimation avatar d-exclaimation commented on May 28, 2024

I couldn't find anything on AsyncPubSub behaving differently running on a docker container locally and hosted on a VM machine (setting the environment to production and development change nothing as well). All published events are received properly. So unless AWS ECS handles Docker containers differently, I think it was running on 2 or more instances in your case.

from pioneer.

d-exclaimation avatar d-exclaimation commented on May 28, 2024

I have made the repo named PioneerRedisPubSub. Although, I have to admit I spend an embarrassingly long time creating a working RedisClient with proper configurations that work and behave properly during testing, and I am still not sure whether that client is even correctly set up.

from pioneer.

cshadek avatar cshadek commented on May 28, 2024

Haha that was fast! I think it looks really good. The redis configuration specifics really shouldn't matter that much for the package right? It's basically an abstraction on top of Redis PubSub that lets the developer use it like AsyncPubSub.

from pioneer.

d-exclaimation avatar d-exclaimation commented on May 28, 2024

Yeah, hopefully

from pioneer.

d-exclaimation avatar d-exclaimation commented on May 28, 2024

A bit of update here, I managed to get proper working unit tests for the PioneerRedisPubSub library. It should be behaving more consistently now.

from pioneer.

d-exclaimation avatar d-exclaimation commented on May 28, 2024

This issue has been open for a while. I have not seen any updates and I am assuming that the issue is resolved for now.

Feel free to open this issue again if the issue still exist

from pioneer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.