Skip to content

Introduce UOW endpoint #5

@yentsun

Description

@yentsun

Details:

Probably needs a Redis-based throttle storage. Worker posts UOW, storage creates a TTL record wich locks the worker until it expires.

  • get workers ID, perform lookup
  • create throttle record based on worker's capacity
  • issue an event on UOW reducing appropriate jobs completion time
  • return next possible UOW time in response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions