ngrok / ngrok-java

Embed ngrok secure ingress into your Java apps with a single line of code.
Other
21 stars 6 forks source link

Profile and assess memory usage #11

Closed CarlAmko closed 11 months ago

CarlAmko commented 12 months ago

We should ensure that we aren't accidentally leaking memory anywhere. We should profile some sample sessions using various features of the SDK to determine what our memory footprint looks like.

CarlAmko commented 11 months ago

Methodology

Tests

Test 1: Simple TCP Tunnel

Goal

Timeline

Observations

Test 2: Repeatedly open and close TCP Tunnel

Goal

Timeline

Observations

Test 3: Spam traffic to backend-less HTTP Tunnel wrapped in TunnelServerSocket

Goal

Timeline

Observations

Analyses Files

profiles.zip

CarlAmko commented 11 months ago

Closing this as complete. If there are any objections, please feel free to re-open/comment on this issue.