@figma60sec · Post #10768 · 27.03.2026 г., 11:05
Medusa UI — дизайн-система и набор компонентов для Figma. Figma Community • #system
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
Пребарај: #system
@figma60sec · Post #10768 · 27.03.2026 г., 11:05
Medusa UI — дизайн-система и набор компонентов для Figma. Figma Community • #system
Hashtags
@figma60sec · Post #10470 · 03.03.2026 г., 11:03
Custom Frame Presets — плагин с собственными размерами для фреймов. 🔗Figma Community ▫️#system
Hashtags
@figma60sec · Post #9573 · 18.12.2025 г., 11:04
Custom Frame Presets — плагин с собственными размерами для фреймов. 🔗Figma Community ▫️#system
Hashtags
@dps_build · Post #3 · 01.03.2023 г., 08:25
System Design Interview 作者 Alex Xu 的 newsletter https://blog.bytebytego.com/ #system
Hashtags
@ziyuanfxvip · Post #12951 · 20.09.2024 г., 10:32
📢 5个版本Windows 11 Version 22H2 官方VLSC正式版光盘系统 🏷️#System | Windows #Windows系统 👉🏻https://www.bccfxs.com/10799/
Hashtags
@interesting_planet_facts · Post #1371 · 12.04.2026 г., 12:11
🌎 Jupiter could fit all other planets inside it and still have space left over. This gas giant has a diameter of about 142,984 kilometers. Its Great Red Spot is a storm wider than Earth itself. ✨ #solar⚡#system⚡#astronomy⚡#planets 👉subscribe Interesting Planet 👉more Channels
Hashtags
@libreware · Post #1069 · 02.05.2022 г., 02:23
Anemo Local private storage for Android Anemo is a private local storage utility application for android. Instead of being a stand-alone file manager user interface, it hooks into various components of Android making it feel like a native part of the operative system. Moreover it provides ways for the user to export contents from other apps and save them as files. Features : - Create folders and organize files freely - All files in the private storage won't appear in the other apps - Access in the system Files application (the DocumentsProviderUI) - Lock access to the private storage >Quick tile >Auto lock after 15 minutes >Password for locking access to the files - Import content using the share Android functionality Download - https://github.com/2bllw8/anemo/releases https://github.com/2bllw8/anemo #New#system#utility @foss_Android
@eventplatform · Post #43 · 03.08.2017 г., 15:27
Не платите за интерактив! Просто откройте сайт votemagic.ru со своего смартфона #positive#voting#system#engineofemotions
@american_observer · Post #5291 · 05.03.2026 г., 17:02
#weapon#system#combat#search 📱American Оbserver - Stay up to date on all important events 🇺🇸
@venturevillagewall · Post #3344 · 18.12.2024 г., 12:06
Helpcare AI Secures $500K Funding Helpcare AI has successfully raised $500K in funding as of December 4, 2024. The company offers a complete operating system for HIPAA-compliant AI-driven automation in healthcare administration, enhancing efficiency in healthcare management. For more details, visit Helpcare AI. #HelpcareAI#Funding#Healthcare#AI#Automation#HIPAA#Technology#HealthcareManagement#Efficiency#Startup#Investment #2024 #Innovation#MedicalAI#Admin#System#Operations#Compliance#HealthTech