Keep the original API Resource in DB only (Remove from in-memory store)
@renuka-fernando is already working on this.
Since Feb 22, 2026.
- Dominant language
- Go
- Stars
- 71
- Forks
- 111
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 110
Description
Description
The in-memory store holds only the internal structure (RuntimeConfig) derived from the original API resource. The original API resource (e.g., LLMProvider) is stored in the database but not kept in memory after transformation. Reading these resources is not frequent through Rest APIs, and for transformation logic (eg, llm proxy needs to read llm provider), it can read from the database. This will reduce the memory footprint of the gateway controller and also make the code more maintainable as we will have a clear separation of concerns between the API resource and the internal structure.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.