sharding on sockets with input data