Engineering project
A user-facing task platform that isolates a customer worker through a database contract while providing task, quota, payment, and admin workflows.

Outcome
Business value
Built a testable user-facing task platform while keeping the customer worker integration behind a database contract.
Engineering depth
Covers layered FastAPI services, async SQLAlchemy, PostgreSQL triggers, LISTEN/NOTIFY, SSE, quota ledgers, payment callbacks, React feature modules, and automated regression.
Role
独立开发者
Full stack
Core technologies
Challenge & solution
Challenge异步任务跨系统执行,状态同步、终态契约、结果链接安全和额度扣减都需要由平台侧兜住,否则容易出现进度不可见、终态回退或重复扣费。
pg_notify + asyncpg LISTEN 唤醒 SSE,前端保留轮询兜底。SELECT ... FOR UPDATE、唯一额度事件和测试覆盖处理并发。Context
用户需要提交论文检索任务并跟踪结果,但真正执行检索的 Worker 由甲方维护,只通过共享数据库表与平台对接。
Delivery result
交付测试验收版论文检索任务平台,覆盖用户认证、任务提交、进度同步、结果下载、额度流水、支付宝升级和管理后台。
Evidence