Comments (1)
Revisiting the Apollo documentation, it recommends to use subscription (websocket), for low-latency requirement.
BTW, the current requirement will get notification, after commit is made successfully. And, it is better to use long-poll.
Therefore, I make use of Redis, to store the event arrival information, with redis keys to starting with "noti::"
The UI-control, will use periodically poll to obtain this notification information from Redis.
Also, the first time, the client fetch the notification information in Redis, it will make "READ".
The backend websocket remains live, for future use. For example, B2B integration, which requires low-latency communication.
from fabric-es.
Related Issues (20)
- upgrade to Redisearch v2, and deprecate Find function
- upgrade eslint to work with ts 4.1.x
- Did data registry
- update README
- Logger timestamp support timezone setting HOT 3
- add alternative implementation of auth0 HOT 1
- add ReadTheDocs
- chore: Add changelog to Release notes HOT 1
- fix: Private data created before it's public counterpart HOT 1
- RedisSearch full text "DESC" order fails to perform
- feat : add https support in createGateway HOT 1
- feat : disable userService in createAdminService HOT 3
- getById should use commandGetById HOT 1
- Add an enrollOnly function in operator HOT 2
- unexpected error found HOT 1
- when submitting tx, DefaultEventHandlerOptions timeout HOT 1
- debug followup Issue226
- hardcode path
- Redis connection exceed retry limit and caused microservice malfunction HOT 1
- function name typo HOT 1
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 fabric-es.