lowRISC / lowRISC/ot-sca

[db] Trace DB performance improvement

Open
#292 0 comments 0 reactions 1 assignee View on GitHub

@nasahlpa is already working on this.

Since Jan 15, 2024.

Priority:P2
Dominant language
Jupyter Notebook
Stars
43
Forks
34
PR merge metrics
No merged PRs in 30d

Description

When using the new OT trace database in a multi-processing setting (e.g., CECA.py), the new DB is slower than the older CW DB. The reason for that is how the database connection with SQLAlchemy is established. Instead of opening a new connection each time, we should keep the connection open and allow different Ray workers accessing them.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.