@bulgar_conf · Post #575 · 08.02.2026 г., 16:35
Комикс #BulCoin #3
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #425 · 20 апр.
Недавно делал быстрый прототип асинхронного приложения в котором требовалось вызывать много синхронного кода. Да, я знаю, что это не лучший дизайн, но нужно было быстрое решение на один процесс и без очередей. Поэтому я выполнял код в потоках. Выглядело это примерно так: from fastapi.concurrency import run_in_threadpool async def execute(data: DataRequest) -> DataResponse: try: result = await run_in_threadpool(sync_function, data) return DataResponse(data=result) except Exception as e: return DataResponse( error=str(e), success=False, ) В общем работает нормально. Для всех вызовов под капотом используется общий тредпул, всё работает предсказуемо. Но потребовалось изменить количество запускаемых в пуле потоков (по умолчанию создается 40 воркеров). Так как дело происходит с FastAPI, делается это через lifespan используя настройки anyio: import anyio @asynccontextmanager async def lifespan(app: FastAPI): limiter = anyio.to_thread.current_default_thread_limiter() limiter.total_tokens = 100 yield # если вдруг нужно вернуть обратно limiter.total_tokens = 40 Зачем менять количество воркеров? - уменьшить, если оперативки мало (один тред занимает ~8мб) - увеличить чтобы выдержать нагрузку Если есть предложения получше при тех же вводных - предлагайте😉 #async
Hashtags
Пребарај: #bulcoin
@bulgar_conf · Post #575 · 08.02.2026 г., 16:35
Комикс #BulCoin #3
Hashtags
@bulgar_conf · Post #573 · 06.02.2026 г., 17:35
Комикс #BulCoin #2 <<1
Hashtags
@bulgar_conf · Post #570 · 04.02.2026 г., 08:15
Комикс #BulCoin #1
Hashtags
@bulcoin_blc · Post #258 · 23.02.2026 г., 17:00
If you're just considering BulCoin — here's what you can do right now: 1️⃣ Create a TON-wallet 2️⃣ Add BLC manually 3️⃣ Check trading pairs 4️⃣Find out what you can buy with BulCoin 5️⃣ Keep up with DAO decisions on our channel This is the system entry. BulCoin is being built as an infrastructure. And infrastructure requires participation. Those who enter earlier - understand the mechanics better. #BulCoin FAQ | BUY
Hashtags
@bulcoin_blc · Post #250 · 17.02.2026 г., 09:30
🟡 Why is BulCoin (BLC) needed at all BulCoin is not just a token. It's a part of infrastructure. Infrastructure where transactions are made without intermediaries. Without blockages. Without "permissions". We are creating an environment where: • value is transferred directly • calculations are made in digital form • participants interact without third parties Mini-app is the first step in using BLC. More to come. A free market is impossible without its own infrastructure. BulCoin is an element of such a system. #BulCoin FAQ | BUY
Hashtags
@bulcoin_blc · Post #261 · 25.02.2026 г., 11:00
🔥 We are opening the first round of BulCoin participants! 20 random participants will be selected. Each will receive 200 000 BLC. Additionally, a team of 50 early testers of the mini-app will be formed. Participation conditions: — subscription to the channel — comment under this post specifying your TON-address Results will be in 7 days. Results announcement date: 2026-03-04 at 20:00. This is the first stage of forming an active core of BulCoin. #giveaway#BulCoin FAQ | BUY
@askar4308 · Post #15265 · 25.02.2026 г., 17:07
🔥 We are opening the first round of BulCoin participants! 20 random participants will be selected. Each will receive 200 000 BLC. Additionally, a team of 50 early testers of the mini-app will be formed. Participation conditions: — subscription to the channel — comment under this post specifying your TON-address Results will be in 7 days. Results announcement date: 2026-03-04 at 20:00. This is the first stage of forming an active core of BulCoin. #giveaway#BulCoin FAQ | BUY
@bulgar_conf · Post #658 · 06.04.2026 г., 07:45
Курс BulCoin-BLC сохраняет положительную динамику и постепенно растет За последний месяц рост составил 36% #rate#BulCoin FAQ | Купить
@bulgar_conf · Post #612 · 25.02.2026 г., 12:39
🔥 Мы открываем первый круг участников BulCoin! Будет выбрано 20 случайных участников. Каждый получит 200 000 BLC. Дополнительно формируется команда из 50 ранних тестеров mini-app. Условия участия: — подписка на канал — комментарий под этим постом указав свой TON-адрес Итоги — через 7 дней. Дата подведения итогов: 2026-03-04 в 20:00. Это первый этап формирования активного ядра BulCoin. #giveaway#BulCoin FAQ | Купить
@bulcoin_blc · Post #327 · 06.04.2026 г., 06:30
The BulCoin-BLC rate maintains positive dynamics and gradually increases The growth over the last month was 36% #rate#BulCoin FAQ | BUY
@bulcoin_blc · Post #242 · 14.02.2026 г., 19:30
Why do you need BulCoin (BLC)? BulCoin is not just a token. It's an early stage of an ecosystem that is being built around: • a mini-game app • digital economy • early participant community The project is currently in the formation phase. It's at this stage that: — the core of the community is being formed — the first holders appear — history is being laid BulCoin (BLC) is a TON network token. In the coming months, a mini-app will be launched, where BLC will become the gaming currency. But the main thing is that early participants get more opportunities. We don't make loud promises. We are building the system step by step. If you have already created a wallet - you are prepared. It's going to be more interesting from here. #BulCoin#TON#DAO FAQ | BUY
@bulcoin_blc · Post #314 · 27.03.2026 г., 17:25
We continue to show what the BLC Market will look like. Currently, the basic logic of interaction within the app is under development: — user profile — task structure — navigation within the interface This is the first layer on which the entire system will be built. Next, we will show how exactly users will interact with each other. #freelance#community#BulCoin#BLC#TON FAQ | BUY