- 错误处理的缺失
- 高性能
- 框架性的支撑
api layer , backend layer, cluster layer
The API layer provides basic building blocks for Fiber like processes, queues, pools and managers.
job-backend processes
The code that runs inside the container is self-contained.
cluster node同fiber master之间的交互?
master节点部分存在task queue和result queue,分发到cluster node进行task,获得result放入result queue中
在cluster node中,有多个ring node,
The entry associated with that task is then removed from the pending table. 通过pending table进行中转
当发现有错误的时候,Then the parent pool puts the pending task from the pending table back into the task queue if the previously failed process has a pending task.
如何实现基于不同机器,不同进程之间的通信?