-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Proposal] Merge venus-messager to go-messenger #5990
Comments
Hello, @raulk, @Kubuxu and @steven004 , please take a look at this proposal and look forward to your comments on it. Thank you! |
it would be much easier to implement 2 things:
|
@Fatman13 thanks for creating the issue - but this does look like something that should live in one of the Venus's repo. I dont see any action item in lotus yet or its already captured in #5869 (comment). @raulk @Kubuxu I will leave you two to decide if we should keep this ticket here or just use #5869. |
It seems like this proposal is now living in a Venus-repo: https://github.com/filecoin-project/venus-messager/issues/40. So this can probably be closed now? #rengjøring |
As proposed by @steven004 in this comment. venus-messager could potentially be an alternative solution to various message related problems mentioned in #5869. In order to move this initiative forward, we may need to map out existing features venus-messager already offers, future roadmap, how venus-messager could be interacting with Lotus and etc in this thread before making a proposal to Lotus team. Hope to get everyone's valuable input on this.
Context
Due to volatilities in gas, sending/managing messages became problematic for miners/operators. As summarized by @raulk, current Lotus message management falls short on the following...
On the one hand, Lotus team is tight in resources to work on message optimizations. On the other hand, miners like @f8-ptrk shows concerns that changing existing logic might break current status quo and turn out to be unfavorable. Given the above, venus-messager can be the perfect ad-hoc solution which could be deployed side by side with Lotus while giving the flexibility of allowing miners/operators reverting back to Lotus' way of managing messages any time they want.
Related Issues
Compiled by @raulk
Solution
messager
tries its best to mitigate problem (a) and (c) mentioned in the above by delaying gas estimates and doing preliminary check before pushing messages tompool
. Instead of getting gas estimates at the time of constructing the message,messager
get the estimates of a small batch of messages which are ready to be pushed tompool
. Thus, increase the accuracy of the estimates and reduce failure rate. For example, when a miner tries to push 1000 messages,messager
would choose, say, 10 of them and have them go through a round of preliminary check. If there are any errors, the erroneous message will have to wait for the next round of "message packing". And only then the 10 messages will get the gas estimates and being pushed tompool
.Comments on #5869
messager
can compensate for some degree of off sync with the chain.On the current roadmap of
messager
.The team don't feel as strongly about a interactive CLI for message sending. Most of the process should be automated and customized by config file to save manual efforts.
Iterative message construction can be achieved by using
messager
. Interaction through web UI is in the roadmap.Done!
References
https://github.com/ipfs-force-community/venus-messager/issues/40
#5869
Work
The text was updated successfully, but these errors were encountered: