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

Feature request: burst-mode network requests #19

Open
eostermueller opened this issue Jan 10, 2012 · 2 comments
Open

Feature request: burst-mode network requests #19

eostermueller opened this issue Jan 10, 2012 · 2 comments

Comments

@eostermueller
Copy link
Contributor

If InTrace is monitoring a remote application, it seems that a separate
network request is made for every trace event. Is that right? -- I haven't
looked closely enough at the code to see. If that is the case, I don't
think that kind of model will scale when medium-to-large amounts of load is applied.
Perhaps we could consider some kind of burst mode where trace events
collect in a queue and are sent to the GUI every X seconds?
CA Introscope, for instance, has a 15 second delay. I'd be happy with 5, but it should be configurable.

We should do some load testing to measure InTrace overhead.

  1. Deploy Java PetStore application
  2. Use "http://grinder.sourceforge.net/" to apply some load.
  3. Measure
  • CPU/RAM consumption on PetStore server.
  • Get from "The Grinder" Response time and throughput metrics

Compare results from the above test with and without InTrace with instrumentation.
We should have multiple Load tests with InTrace.

  1. instrumenting 50 classes
  2. instrumenting 100 classes
  3. instrumenting 200 classes
  4. instrumenting 400 classes
@mchr3k
Copy link
Owner

mchr3k commented Jan 10, 2012

InTrace Agent supports two types of connection - Control and Trace. Each client makes a Control connection and can then request to open a Trace connection.

InTrace Agent maintains a single dedicated Trace TCP connection to each InTrace UI which has requested it. Trace events are dispatched locally to a dedicated thread which handles sending trace events down the trace TCP connection.

@eostermueller
Copy link
Contributor Author

I just created a pull request to address this issue.
#40
Please close this issue if you apply the code.

eostermueller added a commit to eostermueller/org.intrace that referenced this issue May 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants