Why sharded indexing fixes slow package installs
Package installs crawl because the client parses one giant metadata file before it does anything useful. Sharded indexing (CEP-16) splits that file per package, and there is a PHP example here for internal plugin repositories.