FanDuel interview question

Handle concurrency in Java for an API