Repository navigation
Open
Labels
Description
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
Part of #2384: Auto checkpoint upon exceeding memory percentage or id…
Part of #2384: Preserve previous auto-checkpoint (#4549)
vasslitvinov commentedon Jun 11, 2025
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.
Part of #2384: Checkpoint numeric arrays; improved framework (#4644)
Checkpoint pdarrays of bigints (#4771)
Checkpoint pdarrays of bigints (Bears-R-Us#4771)