hyperledger-identus / hyperledger-identus/cloud-agent

Optimize Postgres database usage in the cloud-agent

Open
#1,335 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Scala
Stars
95
Forks
34
Avg merge
1d 5h
Merged PRs (30d)
14

Description

### Proposed feature

Currently, the agent uses the `connect`, `agent`, and `pollux` databases.
The problem with having this architecture is the following:
- we need to maintain and run three different migration
- the number of connection pools and connections is multiplied by three
- we need to create six users accounts and three db in the Portgresql db
- we cannot fully guar
- antee data consistency as we cannot set the constraints and rules between the databases.

### Feature description

As the solution, all these data bases can be merged into one.
This will help us to maintain the consistency and optimize resource allocation (might be required in the scope of the scalability epic)

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.