Skill / SKILL.md

Asyncopenai Concurrency Httpx Pool

kennethkhoocy/applied-micro-skills

Raise real concurrency in asyncio LLM batch scorers built on the OpenAI SDK (AsyncOpenAI, including OpenAI-compatible providers like DeepSeek). Use when: (1) raising an asyncio.Semaphore above ~100 produces no throughput gain, (2) a batch pipeline saturates near 100 in-flight requests despite a larger semaphore, (3) planning a high-concurrency campaign against a provider with no hard rate limit (DeepSeek v4-flash tolerates 2000+ in flight). Root cause: AsyncOpenAI's default httpx pool caps max_connections at 100, silently bottlenecking any larger semaphore — you must pass a custom http_client with httpx.Limits sized to the semaphore.
2 views 18 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Raise real concurrency in asyncio LLM batch scorers built on the OpenAI SDK (AsyncOpenAI, including OpenAI-compatible providers like DeepSeek). Use when: (1) raising an asyncio.Semaphore above ~100 produces no throughput gain, (2) a batch pipeline saturates near 100 in-flight requests despite a larger semaphore, (3) planning a high-concurrency campaign against a provider with no hard rate limit (DeepSeek v4-flash tolerates 2000+ in flight). Root cause: AsyncOpenAI's default httpx pool caps max_connections at 100, silently bottlenecking any larger semaphore — you must pass a custom http_client with httpx.Limits sized to the semaphore.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/kennethkhoocy/applied-micro-skills' skill-source

Use the complete skill-source/plugins/applied-micro/skills/asyncopenai-concurrency-httpx-pool directory with your client’s skill installer.

  • plugins/applied-micro/skills/asyncopenai-concurrency-httpx-pool

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugins/applied-micro/skills/asyncopenai-concurrency-httpx-pool

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
7be3a40b7669a75b70e288eaf71912cfe5801460e08ad49023e2510f395397b8
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills