• Stefy Lanza (nextime / spora )'s avatar
    cut RunPod GraphQL traffic: reads go to REST, boots poll REST + TCP (v0.4.56) · 71ec814e
    Stefy Lanza (nextime / spora ) authored
    Observed through the 3.3 h ban: REST reads kept working, but every REST write
    (create, and a body-less DELETE) failed with 500 "unexpected end of JSON
    input". REST writes appear to go through RunPod's GraphQL backend and share
    its rate limit, so REST cannot rent around a ban. The fix is not to earn one.
    
    - wait_ready polled GraphQL get_pod every 5 s per booting pod, which is
      hundreds of calls a minute in a 64-pod scale-up. Direct-TCP pods (the
      default) now poll REST and open a TCP connect to the mapped port. RunPod
      refuses that connect until the server inside listens, which is a stronger
      signal than GraphQL listing the port at container start. GraphQL stays the
      fallback outside a ban.
    - list_pods (the reaper and the survivor sweep, every minute) is REST-first,
      with includeMachine=true. Card name and VRAM come from the catalogue.
    - GraphQL calls are counted by operation and the rate is logged every 10 min,
      so the volume is visible before RunPod bans the key.
    - A REST write that fails this way during a ban says why.
    Co-Authored-By: 's avatarClaude Opus 5.5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01KnfkxBpcZ1v6ypRFFyhrVM
    71ec814e
Name
Last commit
Last update
codai Loading commit data...
docs Loading commit data...
packaging Loading commit data...
samples Loading commit data...
tests Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
AI.PROMPT Loading commit data...
CODERAI_API_DOCUMENTATION.md Loading commit data...
CoderAI.gif Loading commit data...
DISTRIBUTION.md Loading commit data...
LICENSE.md Loading commit data...
MULTIMODAL_CAPABILITIES.md Loading commit data...
MULTIMODAL_UI_EXAMPLES.md Loading commit data...
README.md Loading commit data...
REQUEST-geoclip-embeddings.md Loading commit data...
REQUEST-vpr-embeddings.md Loading commit data...
amdgpu-coredump-05000.bin Loading commit data...
build-oci.sh Loading commit data...
build.ps1 Loading commit data...
build.sh Loading commit data...
coderai Loading commit data...
coderai-broker-implementation-reference.md Loading commit data...
coderai-integration.md Loading commit data...
commands Loading commit data...
osxbuild.sh Loading commit data...
package-oci.sh Loading commit data...
package-tarball.sh Loading commit data...
requirements-crisperwhisper.txt Loading commit data...
requirements-h3.txt Loading commit data...
requirements-longcat-train.txt Loading commit data...
requirements-longcat.txt Loading commit data...
requirements-melotts.txt Loading commit data...
requirements-nemo.txt Loading commit data...
requirements-nvidia.txt Loading commit data...
requirements-ocr-paddle.txt Loading commit data...
requirements-ocr.txt Loading commit data...
requirements-pyannote.txt Loading commit data...
requirements-surya.txt Loading commit data...
requirements-vllm.txt Loading commit data...
requirements-vulkan.txt Loading commit data...
requirements.txt Loading commit data...
run-oci.sh Loading commit data...
smoke-test-oci.sh Loading commit data...
todo.md Loading commit data...