SingleStore interview question

Design a Connection Pool with concurrency and pseudo code for it.