Skip to content

Instantly share code, notes, and snippets.

View tyyrok's full-sized avatar

Pavel Zubko tyyrok

View GitHub Profile
@tyyrok
tyyrok / uvicorn_concurrency.md
Last active December 6, 2025 11:53
Uvicorn limit-concurrency small testing

I tried to test two Uvicorn concurrency limits (400 vs 900), and here’s what I learned

I noticed that in one of our projects we run Uvicorn workers with --limit-concurrency 900.

That sounds a little crazy, right? Let’s find out. It looked too high, so I decided to test it.

Test endpoint

import asyncio

from fastapi import FastAPI
@tyyrok
tyyrok / tonconnect-manifest.json
Created October 10, 2025 07:12
tonconnect-manifest.json
{
"url": "https://t.me/claimMyGiftBot",
"name": "Bot to Claim NFT Gifts",
"iconUrl": "https://gist.github.com/user-attachments/assets/4f38ae72-f777-47a3-8342-8bb6e0816205"
}
{
"name": "My Test Collection",
"description": "A collection of test NFTs on TON testnet.",
"image": "https://example.com/collection_image.png",
"cover_image": "https://example.com/collection_cover.png",
"social_links": ["https://t.me/zubkopa"]
}