#javaNetHttpClient

Ænðr E. Feldstrawaeveltstra
2020-08-25

The other day I learned that the should be cached and reused. It doesn't really matter if you have 1 or 2 calls. It does matter if you have thousands.

This client became available with .

The problem is lingering opened sockets, waiting for a response from the communication partner. They cost memory and system resources. Reusing the allows it to streamline itself.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst