Lazy Connect

Lazy connect in dubbo

Lazy connect can reduce the number of keep-alive connections. When a call is initiated, create a keep-alive connection.1

<dubbo:protocol name="dubbo" lazy="true" />

  1. Note: This configuration takes effect only for dubbo protocols that use keep-alive connections. ↩︎

Last modified November 25, 2020: fix sample code issue for (#659) (0576d68)