Code Monkey home page Code Monkey logo

pulse's Introduction

nanopack

Hub for nanopack resources and content

pulse's People

Contributors

glinton avatar lyondhill avatar sdomino avatar tolmark12 avatar tylerflint avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pulse's Issues

Pulse panics on start occasionally

There is no error reported from the influx client (empty message), nor are there any returned results. Maybe we should give time for some stats to be submitted before trying again.

Pulse server no longer client-aware

Since the heartbeat update, pulse server is no longer client-aware when there are more than a single client.

17:17:57 PollAll: 2 clients connected...
17:17:57 PollAll-ing: do.1...
17:17:57 PollAll-ing: do.1...
17:18:57 PollAll: 2 clients connected...
17:18:57 PollAll-ing: do.1...
17:18:57 PollAll-ing: do.1...
17:19:57 PollAll: 2 clients connected...
17:19:57 PollAll-ing: do.warehouse.data.hoarder.1...
17:19:57 PollAll-ing: do.warehouse.data.hoarder.1...
17:20:57 PollAll: 2 clients connected...
17:20:57 PollAll-ing: do.1...
17:20:57 PollAll-ing: do.1...
17:21:57 PollAll: 2 clients connected...
17:21:57 PollAll-ing: do.1...
17:21:57 PollAll-ing: do.1...
17:22:57 PollAll: 2 clients connected...
17:22:57 PollAll-ing: do.1...
17:22:57 PollAll-ing: do.1...
17:23:57 PollAll: 2 clients connected...
17:23:57 PollAll-ing: do.1...
17:23:57 PollAll-ing: do.1...
17:24:57 PollAll: 2 clients connected...
17:24:57 PollAll-ing: do.1...
17:24:57 PollAll-ing: do.1...
17:25:57 PollAll: 2 clients connected...
17:25:57 PollAll-ing: do.1...
17:25:57 PollAll-ing: do.1...
17:26:57 PollAll: 2 clients connected...
17:26:57 PollAll-ing: do.1...
17:26:57 PollAll-ing: do.1...
17:27:57 PollAll: 2 clients connected...
17:27:57 PollAll-ing: do.warehouse.data.hoarder.1...
17:27:57 PollAll-ing: do.warehouse.data.hoarder.1...
17:28:57 PollAll: 2 clients connected...
17:28:57 PollAll-ing: do.1...
17:28:57 PollAll-ing: do.1...
17:29:57 PollAll: 2 clients connected...
17:29:57 PollAll-ing: do.1...
17:29:57 PollAll-ing: do.1...

Need to implement a ping/pong method in the communication protocol

If using a virtual ip in front of pulse server, and it moves hosts, the tcp connection is still established, not allowing stats to be submitted until a full client reconnection is initiated. If there was a ping/pong method, the client could detect if the host was unreachable and re-initiate a connection.

Client starts multiple heartbeats

If pulse restarts, clients using relay create a new heartbeat every time they reconnect.

2017-02-08 19:04:03 TRACE [PULSE :: RELAY] PONG: [pong]
2017-02-08 19:04:10 TRACE [PULSE :: RELAY] PONG: [pong]
2017-02-08 19:04:10 TRACE [PULSE :: RELAY] PONG: [pong]
2017-02-08 19:04:11 TRACE [PULSE :: RELAY] PONG: [pong]
2017-02-08 19:04:33 TRACE [PULSE :: RELAY] PONG: [pong]
2017-02-08 19:04:36 TRACE [PULSE :: RELAY] PONG: [pong]
2017-02-08 19:04:38 TRACE [PULSE :: RELAY] PONG: [pong]
2017-02-08 19:04:41 TRACE [PULSE :: RELAY] PONG: [pong]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.