Replies: 7 comments 6 replies
-
关联PR: |
Beta Was this translation helpful? Give feedback.
-
下面这样做的话,科学吗? |
Beta Was this translation helpful? Give feedback.
-
建议取消掉链服务market模式,只保留solo 模式即可:离线订单可进行优化,逻辑如下: 离线模式一: market-sp跟market-client协商好,由 market-sp自行下载数据,并处理好数据(piece文件), SP把处理好的文件信息交给market-clinet,market-clinet导入后签名,把签名好的消息发送给market-sp根据配置进行消息批量推送上链,进行封装 离线模式二: 目前弹弓比赛的业务逻辑 |
Beta Was this translation helpful? Give feedback.
-
前面询问了一个大佬的意见。我在想,venus-market聚合sp的点是不是不一定在链服务,而是在以idc机房,聚合在idc机房这一层?为idc机房有内网的不同SP提供订单/检索服务? |
Beta Was this translation helpful? Give feedback.
-
solo模式情况下,对于现有孵化订单加速会有一些影响: |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
来自 @diwufeiwen 的设计
市场属性配置
Simple Summary (概述)
矿工可以自己配置存储市场和检索市场的属性。
Abstract (功能简介)
venus-market
支持矿工的市场交易属性可独立配置,并可以由矿工自己配置,而不是通过链服务维护人员间接进行。venus-market
推荐作为独立组件部署,将solo-run
模式作为默认启动方式。(为什么这样做后文会详细讨论)关联:
Motivation (来源/背景)
Filecoin
网络中的矿工参与市场交易需要一些属性来保证交易过程正常进行,也可以通过一些属性来设置自己的交易取向,如:仅接受可验证订单、只进行离线订单等。目前的可配置属性如下:在目前的
venus-market
实现中,所有的矿工共用一份配置,无法单独为某个矿工配置交易属性。venus-market
pool-run
模式下,矿工无法对交易属性进行直接管理:查询和配置。venus-market
pool-run
模式下,pieces
数据在目前的协议下无法直接存储到SP
的封装机器,在封装过程中需要下载,当订单量较大时,对网络带宽的要求较高,故推荐将venus-market
作为独立组件部署。后续协议(boost?待考察)支持订单交易中可以将数据直接存到
SP
封装机器上时优先推荐作为链服务组件?Specification (feature Spec)
默认的部署方式
将
solo-run
模式作为默认的启动方式。主要是为了减少不必要的数据传输,原因见上文。属性配置
用户界面
pool-run
模式下,通过venus-sector-manager
提供的命令进行配置;solo-run
模式下,通过venus-market
提供的命令修改配置文件(config.toml
)进行配置;Design Rationale (设计思路)
Backwards Compatibility(兼容性)
不存在兼容问题,将原本的配置作为全局配置,矿工未配置独立的属性时采用全局属性。
Test Cases (测试用例)
Security Considerations (安全考量)
Implementation(实施)
Beta Was this translation helpful? Give feedback.
All reactions