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

[Tracking issue] PostgreSQL & ShardLayout #288

Open
2 tasks
khorolets opened this issue Jul 2, 2024 · 0 comments
Open
2 tasks

[Tracking issue] PostgreSQL & ShardLayout #288

khorolets opened this issue Jul 2, 2024 · 0 comments
Assignees

Comments

@khorolets
Copy link
Member

khorolets commented Jul 2, 2024

Motivation

The data size is growing, it becomes really hard to handle the load we tend to handle. It leads to different issues like:

After a lot of conversations and brain storming we believe the mentioned issues can be solved using more traditional relational database management system, PostgreSQL in particular.

The main plan is:

  • Leverage the approach of designing the schemas for the queries (from NoSQL)
  • Respect the shard layout of nearcore by having multilple database instances
  • Utilize the partitioning to make the tables smaller, thus more effective
  • Build up read-replicas

Making this happen we expect to be able to:

We realize all the disadvantages and complexity that's coming with relational DBMS. No faith in unicorns, we fully understand what we are doing.

Tracking issue

This issue serves the purpose of the container to track the work related to the bigger milestone.

Tasks

  1. 4 of 4
    enhancement
    kobayurii
  2. khorolets kobayurii
@khorolets khorolets self-assigned this Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant