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

Debugger client/server #7

Open
joamag opened this issue Oct 24, 2015 · 0 comments
Open

Debugger client/server #7

joamag opened this issue Oct 24, 2015 · 0 comments
Assignees
Labels
enhancement New feature or request p-high High priority issue

Comments

@joamag
Copy link
Contributor

joamag commented Oct 24, 2015

Description

The current netius infra-structure does not have any kind of runtime based debugging capabilities that are able to discover complex runtime CPU usage or RAM consuming.

The new infra-structure (netiusd) should be able to print/debug diagnostics information on the netius infra-structure on demand and using a command line based (interactive) approach.

The impact (performance) on the host server should be minimal to zero.

The debugger should be able to stop the loop and then resume it (operations).

Solution

On the host/server side a flag should be set so that the proper Appier HTTP service is loaded and is able to provide a client with diagnostics information. The service should include a conditional constant stream of information (http chunked) that refreshes on each tick of the main service loop.

On the client side a simple interactive console application should be created using the Appier HTTP client infra-structure.

The configuration values that are related with the diagnostics service (default values) are:

DIAG=0
DIAG_PORT=5050
DIAG_HOST=127.0.0.1

In case the diagnostics service is requested (DIAG=1) and it fails to load an INFO message should be printed but the system should keep running (failing gracefully).

Estimation

2 days

@joamag joamag added enhancement New feature or request p-high High priority issue labels Oct 24, 2015
@joamag joamag self-assigned this Oct 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p-high High priority issue
Projects
None yet
Development

No branches or pull requests

1 participant