Skip to content
gqlxj1987's Blog
Go back

Fiber Intro

Edit page

原文链接

image-20200706114300532

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之间的交互?

image-20200706120233540

master节点部分存在task queue和result queue,分发到cluster node进行task,获得result放入result queue中

在cluster node中,有多个ring node,

image-20200706140153511

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.

如何实现基于不同机器,不同进程之间的通信?

repo地址


Edit page
Share this post on:

Previous Post
Bytable Intro
Next Post
Sql where in clause multiple columns