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

Lotus Cluster - consistent view of the chain #10582

Open
jennijuju opened this issue Mar 29, 2023 · 0 comments
Open

Lotus Cluster - consistent view of the chain #10582

jennijuju opened this issue Mar 29, 2023 · 0 comments
Assignees
Labels
area/chain Area: Chain P2 P2: Should be resolved

Comments

@jennijuju
Copy link
Member

Background

In Nov 2022, we implemented lotus node clusters to maintain a consistent state for nonces and messages being published across a cluster of nodes, and the process may switch between nodes as needed/when a particular node is down.

The lotus cluster was initially designed and implemented for the lotus miner process, which currently has a gap where each process can only talk to one node instead of being able to hit different nodes in the cluster randomly.

Main PRs: #9294, #9174, #9177

The feature is currently in alpha.

Problem

We have a new user group, API service providers, that can leverage from lotus cluster to handle 100k req/sec. Currently, providers are running a cluster of lotus daemon. They are facing classic consistency issues of response when routing requests to different nodes due to inconsistent sync status, reorg, etc. A lotus cluster with a consistent view of the chain would be super helpful for service providers as they could then operate a cluster of lotus clusters (daemon/gateway) + load balancers.

Currently, while the lotus cluster can get the same nonce/messages, but it is not smart enough to provide a consistent view of all filecoin states. We will need to design and implement it.

relevant thread

@jennijuju jennijuju added this to the Lotus - v1.23.0 milestone Mar 29, 2023
@jennijuju jennijuju added P2 P2: Should be resolved area/chain Area: Chain labels Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/chain Area: Chain P2 P2: Should be resolved
Projects
None yet
Development

No branches or pull requests

2 participants