Zun

Listen to docker events for container status change

Registered by hongbin

Currently, we relies on periodic task to sync container's status between docker and DB. The periodic task run every 60 seconds which means the container's status in Zun might be outdated.

It is better to use an event-driven approach to do container status change. Zun-compute can listen to docker events [1] to capture status change of each container and do the sync accordingly.

[1] https://docs.docker.com/engine/reference/commandline/events/

Blueprint information

Status:
Not started
Approver:
hongbin
Priority:
Low
Drafter:
hongbin
Direction:
Approved
Assignee:
None
Definition:
New
Series goal:
Accepted for victoria
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.