@ethereumglobalnews · Post #938 · 13.10.2025 г., 05:58
🤣以太區塊鏈新聞 #恐懼貪婪指數 🚨【 #FearandGreed 回升:市場情緒略有修復】🌚加密貨幣恐懼與貪婪指數自昨日的 24(極度恐懼) 回升至 38(恐懼)情緒出現初步修復跡象 #FearnGreed#市場情緒#CryptoIndex
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
Пребарај: #cryptoindex
@ethereumglobalnews · Post #938 · 13.10.2025 г., 05:58
🤣以太區塊鏈新聞 #恐懼貪婪指數 🚨【 #FearandGreed 回升:市場情緒略有修復】🌚加密貨幣恐懼與貪婪指數自昨日的 24(極度恐懼) 回升至 38(恐懼)情緒出現初步修復跡象 #FearnGreed#市場情緒#CryptoIndex
@CryptoM · Post #65098 · 11.04.2026 г., 00:52
🚀 Altcoin Season Index Remains Steady at 35 CoinMarketCap's Altcoin Season Index has maintained its position at 35, unchanged from the previous day. According to NS3.AI, this index measures the performance of leading cryptocurrencies compared to Bitcoin over the past 90 days. #Altcoin#Crypto#Bitcoin#CoinMarketCap#Cryptocurrency#AltcoinSeason#NS3AI#CryptoIndex#CryptoNews#BTC
@CryptoM · Post #64469 · 09.04.2026 г., 01:45
🚀 Altcoin Season Index Remains Steady at 34 CoinMarketCap's Altcoin Season Index has remained at 34, showing no change from the previous day. According to NS3.AI, this index evaluates the 90-day performance of the top 100 cryptocurrencies, excluding stablecoins and wrapped tokens, in comparison to Bitcoin. #AltcoinSeason#Cryptocurrency#CryptoMarket#Bitcoin#Altcoins#CoinMarketCap#CryptoIndex#NS3AI#BTC
@CryptoM · Post #65000 · 10.04.2026 г., 13:19
🚀 CoinDesk 20 Experiences Slight Decline Amid Mixed Asset Performance The CoinDesk 20 index recorded a minor decrease, trading at 2,007.93, reflecting a 0.2% drop or a decline of 3.4 points from the previous day's close. According to NS3.AI, individual asset performances varied, with HBAR experiencing a 1.9% decline and ADA falling by 1.3%. In contrast, AVAX saw a rise of 0.6%, while BTC increased by 0.3%. #CoinDesk20#CryptoMarket#HBAR#ADA#AVAX#BTC#CryptoIndex#AssetPerformance
@CryptoM · Post #64668 · 09.04.2026 г., 13:18
🚀 CoinDesk 20 Experiences Slight Decline as ICP Leads Gains The CoinDesk 20 index recorded a slight decrease, trading at 1,982.06, marking a 0.6% drop since 4 p.m. ET on Wednesday. According to NS3.AI, Bitcoin remained stable during this period. Internet Computer Protocol (ICP) emerged as the leading gainer with a 1.5% increase, while AAVE and Stellar (XLM) were among the assets experiencing declines. #CoinDesk20#ICP#Bitcoin#AAVE#Stellar#Cryptocurrency#MarketDecline#CryptoIndex#BTC