Communication between worker processes #14
Labels
No labels
backend
beginner-friendly
bug
build
db
endpoint
federation
http
low-priority
tests
waiting for zig 0.11
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#7 ActivityPub federation
heartles/fediglam
#13 Internal Job Queue
heartles/fediglam
Reference: heartles/fediglam#14
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Need communication between processes for horizontal scaling
Communication needed for various tasks
How to? ZeroMQ? RabbitMQ? Redis?
So here's my thought right:
With that in mind, I've got the following ideas:
If this ends up having issues we can look into alternative job queues later.
Decide on IPC strategyto Communication between worker processesAfter working on this for a while, I'm running into compiler bugs. Most of them are a result of the stage1 compiler sucking, but it's also partly caused by the self-hosted compiler not supporting async/await.
https://github.com/ziglang/zig/issues/6025
Going to push back this feature to another release