Innopolis University DevOps Playground
Skip to content

Optimize Retrieval and Insertion of User Chat History

Description:

Our current database workflow for handling users' chat history is inefficient in terms of execution time and storage space. We need to optimize this process.

Acceptance Criteria:

  • Clear criteria for truncating or compressing chat history are defined.
  • A new truncation/compression algorithm based on the defined criteria is developed and tested.
  • The new algorithm is successfully implemented in the database workflow without loss of meaningful chat history context.
  • The new workflow demonstrates a measurable improvement in execution time and resource usage compared to the current method.

Additional Information:

This task could significantly impact the overall performance of our application, and rigorous testing will be required to ensure data integrity and application stability.

Estimation:

This task is estimated to take approximately 2 days to complete, including testing and fine-tuning.

Edited by Maxim Martyshov