API concurrency optimization