Comments (4)
Kinda playing off that and whats going on in #20, might be nifty to pass the "identity" to the event and also emit an event (or have a plugin api) when a previously "identified" socket comes back online.
That would basically give us a durable socket implementation with out having to write one lol.
from axon.
haha yeah as long as we expose that info it should be pretty easy to hook up
from axon.
Have you thought about this much? I am running into a case for it, but not super sure the best implementation for it... My use case is leveraging HWM so I don't have to add a queue in the middle. I can imagine the event for meeting HWM is straight forward, but the offload process there after is not so straight forward...
socket.on('hwm', function(msg){
// write to db
});
socket.on('meh?!?!', function(){
// offload from db
});
from axon.
not much nope, so far our data is very transient but hmm yeah I guess we emit start emitting them when hwm is reached and emit another when things cool down, that what algo would be im not sure. If we were to emit that immediately it could enable thrashing so we might a backoff function for that as well
from axon.
Related Issues (20)
- Get a callback on the send method
- Allow disabling of the queue HOT 1
- push/pull where pullers pull upon demand
- Support for multiple peers needs improvement HOT 2
- Error on connect for sub socket HOT 4
- subscribers cannot send messages HOT 1
- Send command
- socket.connect blocking gulp task from completing HOT 3
- Binding to UNIX sockets results with RangeError HOT 3
- Is this maintained? HOT 2
- How would I go about tracing RPC(req-rep) calls?
- update package JSON engine values HOT 1
- How to catch this error: read ECONNRESET HOT 1
- Impossible to handle server errors like 'EADDRINUSE' without 'domain'
- Missing typing definition
- `fs.unlink()` is used as if it was synchronous when deleting a stale UNIX socket
- unix socket reconnect fails HOT 2
- tls certificates ? HOT 1
- Deprecated prototypical inheritance
- Is it still maintained ?
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 axon.