Comments (5)
I would give Azure Event Grid a try. Pricing seems low-cost for this purpose.
Disclaimer: I did not use it before, but this is what I'd use for myself. :-)
from al-objid.
The problem is not pushing events from my Azure Functions back end - that's the easy part. The problem is consuming events from nodejs. There is nothing that Azure Event Grid can push events to that can be consumed with a ready-made nodejs client library, at least from what I could find so far.
But thanks for the hint, when I focus on this feature, I'll investigate deeper.
from al-objid.
Perhaps Service Bus could work, that has a connection string that you can connect to from clients. Although, based on the examples, it's still like an endless loop to get updates, not specifically event-based. A tiny step away from a timer :D
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-nodejs-how-to-use-queues
from al-objid.
From the example it seems that this is actual tunnel/socket thing, not a polling thing. The example at that page gives 2s delay to stop processing just because it's a demo, but if I'd connect to the bus from a Disposable
and then disconnect from its dispose
it could easily work.
The only problem is that queue is first-come-first served. If I have fifteen clients to notify, only the first to fetch the message from the queue would actually get notified...
So... back to square one, really. I'll investigate deeper about Event Grid, there must be something I can use from there.
from al-objid.
I am closing this. There won't be anything but polling for the foreseeable future. All other options are going to cost more as far as I can tell from checking the pricing options available. Also, third-party options are going to cost a lot more. Unfortunately, for a free service, I have to keep costs down. So that's it.
At some future point I may do a peer-to-peer notification system, that would make sense, even though it would require some local configuration.
So, for now, that's it. Case closed.
from al-objid.
Related Issues (20)
- "Finding objects" in appPool never finish HOT 3
- ObjectNinja proposing wrong object ID for tableextension with app pool HOT 3
- Inconsistent behavior of both explorers HOT 14
- Confusing Actions/Commands - Reclaim Object Id / Store ID assignment HOT 1
- Problems reported in VSC do not follow standard HOT 2
- Idea: Warning if field id is not assigned by AL Ninja
- Ninja for one app is working, but for another app not HOT 3
- Offline Working without Notifcation for X hours - Offline Computer vs. unavailable BackEnd
- Cannot communicate with the back-end API. Make sure your API key is valid.
- AL Parser Error parsing PageExtensions
- Repository with multiple apps HOT 2
- Feature: Field ID reservation for Transferfield-Tables
- Multipule diffrent AppSource using same IP Rang
- Feature Request : Report consumption for workspace
- Organization-wide ranges HOT 1
- "Finding object IDs in repo..." stuck indefinitely. HOT 2
- Assignment Explorer: Lost object listed in wrong app
- Compatibility for newer Node and Azure Functions versions
- Make command "Authorize AL App" available with no al-file / only app.json
- Expanding a scope of Ninja (idea)
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 al-objid.