investigate virtualhost.defaultHostname
See original GitHub issueAs far as poking around can tell, SystemInfo.hostname() is invoked only to satisfy when http2 is in use and a client or server didn’t set the authority/hostname key. At the moment, this literally invokes a shell command, slowing server startup, by default.
Ex.
2019-10-21 20:48:57:164 [main] INFO SystemInfo - Hostname: macbook-pro-8.local (from 'hostname' command)
Somewhat similar to #2184, I wonder if this could be revisited, if it is pulling its weight, or if it could be safe to defer if it is.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Apache Default/Catch-All Virtual Host? - Server Fault
When using name-based virtual hosts, the first virtual host configuration loaded will be the default (Source: Apache ...
Read more >Apache default VirtualHost - Stack Overflow
I inherited a strange combination of IP address-based virtual hosts and * vhosts (not assigned/catch all IP addresses) based virtual hosts in this...
Read more >plone-documentation/manage.po at master - GitHub
"If you want to map Varnish backend directly to Plone-as-a-virtualhost (i.e. " ... "By default, host name is correctly delivered from Apache to...
Read more >15 Changing Oracle Fusion Middleware Network Configurations
Hosts in DHCP mode should not use the default host name ( localhost.localdomain ). ... If you put the localhost in admin.conf in...
Read more >CWWKT - IBM
Ensure that the configured defaultHostName value refers to an active network interface. CWWKT0024W: The default virtual host (default_host) can not be disabled.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

PS “1/3 (500-600ms) Armeria” isn’t to say it is spending too much time, almost all of our slim server is armeria. It is an interesting idea to see if zipkin slim could get to 1s, but in this case unless armeria can produce negative startup time, reducing here is not enough.
Nice finding! Let me close it then. 😆