Skip to content

Checkpoints and Recover questions #19

Closed Answered by bsorrentino
lordofthejars asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @lordofthejars, I'll try to answer to your questions as best II can:

  1. The Compiled Graph Is thread safe?

    Yes. the Compiled Graph is thread safe. It work on a new (and not shared) copy of state for each execution.

  2. Is the Compiled Graph + Checkpoints + MemorySaver thread safe ?

    No. the current implementation of Checkpoints + MemorySaver is not thread safe this until will be completed: #20.
    Tips 👉: for server implementation the ThreadId could be set with SessionId/UserId

  3. Using checkpoints, if in the middle of execution in one node, I got an exception, which I captured and so on; how can I replay from this node down to the graph after I fixed the problem?

    In the current implementati…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@lordofthejars
Comment options

@bsorrentino
Comment options

@lordofthejars
Comment options

Answer selected by lordofthejars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #17 on August 23, 2024 10:37.