Skip to content

Checkpoint Functionality #2384

Open
Open

Description

@Ethan-DeBandi99

This issue is intended for tracking of researching and implementing checkpoint functionality in Arkouda. There are a few possibilities here and we may need to combine various options in our final solution. The tasks below are intended to be broken into separate tasking.

  • Checkpointing using HDF5/Parquet. There are a few question here as far as performance and implementation. The main idea would be to write everything in the symbol table out to HDF5/Parquet files. A restore command would then be used to pull this data back in. We will need to look into how we should handle getting this data back to the client.
  • Using Binary IO to write the Chapel objects out and load them back in. This should have better performance than using HDF5 or Parquet. However, there is still the question of how to effectively get this back to the client on restore.
  • Determine if the checkpoint should be written to Network attached memory or local node memory. This is a question of performance.
  • Determine if checkpointing should be done automatically behind the scenes or if it should be user callable from the client. Allowing the user to call it would enable things like naming which would make it easier to restore to the client.

IMPORTANT NOTE
This will require that all objects and all datatypes can be written to the files. This will be significantly easier to do with HDF5 than Parquet in a lot of situations, but we will need to complete that work before checkpointing can be implemented.

Activity

  1. added
    enhancement
    File IO
    on Apr 18, 2023
  2. added a commit that references this issue on May 21, 2025
  3. added a commit that references this issue on Jun 6, 2025
  4. vasslitvinov commented on Jun 11, 2025

    @vasslitvinov
    Contributor

    We should anticipate and handle gracefully the situation where auto-checkpointing encounters an error, not completing, then continues trying again and again encountering the same error. An important part of it is letting the user know, via the client, that this is happening, see ex. #4577.

  5. added a commit that references this issue on Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    File IOenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions