Comments (13)
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.
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.
I'll work on creating a RedisPubSub package that implements the Pioneer PubSub and hopefully that will fix it.
from pioneer.
Right, it's likely the case here.
Do keep me updated if the issue still exist even with a Redis backed PubSub.
from pioneer.
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.
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.
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.
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.
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.
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.
Yeah, hopefully
from pioneer.
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.
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)
- Public structs have no public initialisers
- After pausing the websocket connection from Apollo iOS, it can't reconnect. HOT 12
- Documentation search is pointing to incorrect path HOT 2
- Better typing for payload HOT 1
- Improvement to Test HOT 1
- Improvement to optional spec-compliant HOT 4
- Field Resolve Middleware HOT 1
- VaporMiddleware responding incorrectly to all paths HOT 7
- Plugins
- Error: 'ConcurrentResolve' is only available in macOS 12 or newer HOT 4
- TestConsumer Improvement
- Agnostic Server Library HOT 1
- Use operation specific Response to return an GraphQL Result when formatting thrown error by resolver
- AbortError headers are ignored HOT 2
- Ambiguous use of async `init` on `Field` and `SubscriptionField`
- GraphQL over WebSocket validation and timeout on init
- JSON Incorrectly Encoded HOT 7
- Custom Directives HOT 2
- Contributing Guide
- `websocketOnInit` has not been implemented
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pioneer.