Skip to content

Cache hostname at launch#68

Merged
fractalwrench merged 2 commits intomasterfrom
kattrali/avoid-waiting-on-hostname-resolution
Nov 30, 2017
Merged

Cache hostname at launch#68
fractalwrench merged 2 commits intomasterfrom
kattrali/avoid-waiting-on-hostname-resolution

Conversation

@kattrali
Copy link
Copy Markdown
Contributor

Caches device metadata during initialization to avoid spawning hella threads.

To reproduce:

  • Launch example spring app
  • curl http://localhost:8080/send-unhandled-exception maybe 300 times :D
  • Observe the number of threads (in a profiler or otherwise)

@fractalwrench fractalwrench merged commit 093a451 into master Nov 30, 2017
@fractalwrench fractalwrench deleted the kattrali/avoid-waiting-on-hostname-resolution branch November 30, 2017 10:06
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

Successfully merging this pull request may close these issues.

2 participants