惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
Google DeepMind News
Google DeepMind News
云风的 BLOG
云风的 BLOG
WordPress大学
WordPress大学
Vercel News
Vercel News
Apple Machine Learning Research
Apple Machine Learning Research
T
Tailwind CSS Blog
I
InfoQ
小众软件
小众软件
Recent Announcements
Recent Announcements
博客园 - 【当耐特】
The GitHub Blog
The GitHub Blog
大猫的无限游戏
大猫的无限游戏
美团技术团队
T
The Blog of Author Tim Ferriss
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
酷 壳 – CoolShell
酷 壳 – CoolShell
MongoDB | Blog
MongoDB | Blog
V
V2EX
J
Java Code Geeks
有赞技术团队
有赞技术团队
博客园 - 聂微东
B
Blog RSS Feed
博客园 - 司徒正美

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I Built a Threading Engine - I Need Results (Feedback)
Joseph Boone · 2026-04-23 · via DEV Community

Joseph Boone

I've been building TokenGate - an experimental Python concurrency engine that uses a token-based model to manage threaded tasks. No manual thread management, no futures, no ThreadPoolExecutor. Just a 3 line coordinator and single line decorators to manage all threading.

It runs on Python 3.12 with the GIL effectively "gone".

On my machine (Ryzen 7800 / RTX 4070 Super) I'm seeing 7.25x concurrency across 8 tasks of mixed work and 6.01x on sustained high variety workloads - but that's just one setup. I want to know what it does on yours.

What I'm asking

Try the demos (or make an app!), paste your results, that's it.

The whole demo suite takes about 5 minutes to set up and the results
tell me a lot about how the engine scales across different hardware.

How to get started

Option 1 - Direct download (fastest):

Grab the beta zip from tavari.online

Option 2 - Clone the repo:

git clone https://github.com/TavariAgent/Py-TokenGate
cd Py-TokenGate
pip install -r requirements.txt

Enter fullscreen mode Exit fullscreen mode

Then check BETA.md
for the quick start.

What TokenGate actually does

  • Decorates synchronous functions with @task_token_guard - one line, done
  • Routes tasks through a token-managed thread pool automatically
  • Built-in DoS protection to prevent the system from overwhelming itself
  • Live telemetry via WebSocket GUI at localhost:5000
  • Works standalone or with the WebSocket dashboard

What I want to hear back

  • Your hardware (CPU model, core count)
  • Your experience (how did it work for you?)

Drop results here, open an Issue on GitHub or leave me feedback on tavari.online.

This is an active beta - rough edges are expected.
I'm self-taught, this is the work my learning experience produced.
If it's useful or interesting to you, I appreciate the feedback.

GitHub Repo