Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background save #10

Open
sectasy0 opened this issue May 31, 2024 · 0 comments
Open

Background save #10

sectasy0 opened this issue May 31, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@sectasy0
Copy link
Owner

Implement a BGSAVE command to enable background persistence of data to disk. This feature will allow users to save the in-memory data to disk without blocking the main process, similar to the BGSAVE command in Redis.

Requirements:

  1. Command Implementation: Develop the BGSAVE command functionality to initiate a background process that saves the current in-memory data to disk.
  2. Non-Blocking Operation: Ensure that the operation runs in the background, allowing other processes to continue serving requests without interruption.
  3. Data Integrity: Guarantee data integrity during the save operation, ensuring that the data written to disk is a consistent snapshot of the in-memory data at the time of the command execution.
  4. Error Handling: Implement robust error handling to manage potential issues during the save process, such as disk write failures or insufficient disk space.
  5. Status Reporting: Provide mechanisms to report the status of the operation, including success, failure, and progress updates.
  6. Documentation: Update documentation to include detailed information on the command, its usage, and potential considerations.
@sectasy0 sectasy0 added this to the 0.1.0 milestone May 31, 2024
@sectasy0 sectasy0 added the enhancement New feature or request label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant