if you're using Python, you can try multiprocessing.Pool to send concurrent requests to your Ollama, but don't forget to set the environment variables related to the concurrency config of your Ollama service in advance(OLLAMA_NUM_PARALLEL,OLLAMA_MAX_QUEUE).