Job Store 需要哪些核心数据表?每张表存什么信息、解决什么问题?
What core tables should the Job Store contain, and what does each table store and solve?
题目类型: 技术面试题
这是一道技术面试题,常见于澳洲IT公司面试中。
难度: hard
分类: system-design, database
标签: job-table, job-execution-table, schedules-table, worker-table, state-management
参考答案摘要
TL;DR Job Store 需要至少四张表: Job Table (job 元数据与状态)、 Job Execution Table (每次执行 attempt 的日志)、 Schedules Table (next_run_time/last_run_time)、 Worker Table (worker 健康、容量、负载、心跳)。 核心表设计 Job Table :job_id、user_...
本题提供 STAR 原则详细解答和技术解析,登录匠人学院学习中心即可查看完整答案。