Producer and consumer with random size of producing/consuming chunk of resource.