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

[venus-market] HA optimization / 水平扩充优化 #5451

Closed
11 tasks
Tracked by #5453 ...
hunjixin opened this issue Nov 4, 2022 · 8 comments
Closed
11 tasks
Tracked by #5453 ...

[venus-market] HA optimization / 水平扩充优化 #5451

hunjixin opened this issue Nov 4, 2022 · 8 comments
Labels
C-enhancement Category: feature enhancement

Comments

@hunjixin
Copy link
Contributor

hunjixin commented Nov 4, 2022

链服务模块 / Chain Service Components

  • venus
  • venus-auth
  • venus-gateway
  • venus-messager
  • venus-miner
  • 文档 / docs

订单服务模块 / Deal Service Components

  • venus-market
  • 文档 / docs

算力服务模块 / Storage Power Service Components

  • venus-sector-manager
  • venus-worker
  • 文档 / docs

描述 / Description

目前的venus-market水平扩充存在一些问题,

  1. dagstore多机器模式下会删除其他机器的中间数据数据
  2. 支持libp2p级别的负载均衡
@hunjixin hunjixin added the C-enhancement Category: feature enhancement label Nov 4, 2022
@Fatman13
Copy link
Contributor

Fatman13 commented Nov 4, 2022

1)多矿工配置,2)水平扩充,3)统一启动模式(脱离auth),这3个优先级是不是需要排一排?[doge]

@hunjixin
Copy link
Contributor Author

hunjixin commented Nov 4, 2022

1,3,2

@diwufeiwen
Copy link
Contributor

待解决问题: 水平部署模式下,dagstore缓存中间文件会被别的机器删除

@hunjixin
Copy link
Contributor Author

以后market的一个开发主题, 还要写一个类似chain-co的路由组件。

@Fatman13 Fatman13 changed the title [venus-market] 水平扩充优化 [venus-market] HA optimization / 水平扩充优化 Dec 1, 2022
@diwufeiwen diwufeiwen mentioned this issue Dec 5, 2022
42 tasks
@Fatman13
Copy link
Contributor

Fatman13 commented Dec 5, 2022

部分block,数据库等可以先思考。当前检索比较少,可以放一放?

@Fatman13 Fatman13 added this to the 订单服务v2.6.0 milestone Dec 5, 2022
@hunjixin
Copy link
Contributor Author

  • 水平部署模式下,dagstore缓存中间文件会被别的机器删除
  • 重写fundmanager,目前fundmanager中设计到资金合并,保留资金这种操作。 考虑做一个简单资金管理, 简化这种精细化,自动加钱的的方式。 用户提前往market中抵押资金。 用的时候只检查资金够不够。 整体实现简单,用起来也比较高效。
  • paychannel机制不明,需要看代码进行评估
  • 需要一个类似于chain-co的负载均衡组件

@Fatman13
Copy link
Contributor

这个好像当前需求不大?等 @elvin-du 大佬再看看咱们生态伙伴的需求?

@Fatman13
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: feature enhancement
Projects
Status: Done
Development

No branches or pull requests

3 participants