Skip to content

Add readyz capability for actor's container #316

Closed

Description

Resume from DATA_SCOPE returned too early.

As part of the #295 a resume from durable storage has been introduced.

The problem is restore application returned too early, since container's bootstrap is not completed yet. Atlet needs to wait for container to be ready.

Golden snapshot

Golden snapshot hardcoded waits 20sec after actor is created before suspending. With readyz capability the cycle detection can be much faster.

Activity

  1. BenTheElder commented on Jun 26, 2026

    @BenTheElder
    Collaborator

    I think we should not block on this but maybe for a follow-up ... k8s probes offer a couple options, aside from /readyz http, and they seem pretty useful. exec / tcp / http / grpc. I suggest at least http to start and exec as a follow-up?

    https://kubernetes.io/docs/concepts/workloads/pods/probes/#check-mechanisms

  2. BenTheElder commented on Jun 26, 2026

    @BenTheElder
    Collaborator

    I think this will be really useful for e.g. spinning up some init process in the golden state (e.g. python library import, java classloading ...)

  3. dberkov commented on Jun 26, 2026

    @dberkov
    CollaboratorAuthor

    I think we should not block on this but maybe for a follow-up

    I think this will be really useful for e.g. spinning up some init process in the golden state (e.g. python library import, java classloading ...)

    Lets implement http readyz ASAP, since it actually pretty critical to Ax team (Jaana Dogan (@rakyll) FYI) , they are blocked from starting integration with durableDir #295, and without this feature durableDir does not have a minimal completeness.

  4. BenTheElder commented on Jun 26, 2026

    @BenTheElder
    Collaborator

    I agree, rephrasing: I think modes other than HTTP would be a good next step to track but HTTP is the natural starting point. Will look at your PR.

  5. added a commit that references this issue on Jun 27, 2026
    125180e
  6. added
    kind/feature
    on Jun 27, 2026
  7. BenTheElder commented on Jun 27, 2026

    @BenTheElder
    Collaborator

    #295 needs rebase after merging readyz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

kind/feature

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions