Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a messaging ping to the hub #268

Open
mollyling opened this issue May 7, 2015 · 2 comments
Open

Add a messaging ping to the hub #268

mollyling opened this issue May 7, 2015 · 2 comments

Comments

@mollyling
Copy link
Contributor

Have the hub (upon api invocation) send a ping to all modules, including the time sent. Each module responds with both the incoming timestamp and the time it received the ping. The data will let us estimate queue-length and load related latency factors.

Yeah, let's talk about this when it's convenient.

@willscott
Copy link
Member

This seems reasonable to implement as a command implemented by the manager
class.

What interface do you imagining using to expose that functionality, or
would it be reasonable for it to run periodically and print out to the logs?
On May 7, 2015 3:40 PM, "Molly Ling" [email protected] wrote:

Have the hub (upon api invocation) send a ping to all modules, including
the time sent. Each module responds with both the incoming timestamp and
the time it received the ping. The data will let us estimate queue-length
and load related latency factors.

Yeah, let's talk about this when it's convenient.


Reply to this email directly or view it on GitHub
#268.

@mollyling
Copy link
Contributor Author

A promise that fires at the specified rate. It's parameters are the list of ping times - one entry in the list corresponds to reach module, containing the three times of the ping - hub transmit, module reply, and hub receive.

E.g. a list of objects, where NNN represents the value from Performance.Now() at each point:
[{pingSent: NNN, pongSent: NNN, pongRecieved: NNN, module: "logger"}, {....}]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants