- 提供ELA节点、ETH侧链节点、DID侧链节点的RPC服务 Provide RPC services of ELA nodes, ETH sidechain node, and DID sidechain node
- 提供ETH侧链节点的WebSocket服务 Provide WebSocket service of ETH sidechain node
- 提供支持查询ETH侧链跨链交易的Oracle服务 Provide Oracle service that support querying ETH sidechain cross-chain transactions
- 提供支持查询ETH侧链交易记录及token列表的API-Misc服务 Provide API-Misc service that supports querying ETH sidechain transaction records and token list
- 支持mainnet及testnet环境 Support mainnet and testnet environment
- 按照节点发布计划,按时升级主侧链节点,增加基于DPoS共识的ID侧链节点 According to the node release plan, upgrade the mainchain & sidechain nodes on time and add ID sidechain node based on DPoS consensus
- 根据业务访问需求,优化节点服务器数量及配置,保证服务的稳定性及可靠性 According to business access requirements, optimize the number and configuration of node servers to ensure the stability and reliability of the service
- 以https访问模式为主,逐步关闭http访问模式,提高服务的安全性 Focus on the https access mode, gradually close the http access mode to improve the security of the service
- 根据社区开发者及用户反馈的意见,对API服务进行优化 Optimize API services based on feedback from community developers and users
- 服务运行周期不少于6个月 Service operation period is not less than 6 months
- 维护API服务及节点监控程序,在出现问题后及时报警并修复 Maintain API service and node monitoring program, alarm and repair in time when problems occur
为社区继续提供稳定、可靠、安全的API服务,覆盖ELA主链、ID侧链、ETH侧链等在内的所有主侧链节点数据,便于开发者等社区成员及相关产品直接使用API服务,促进elastos生态发展。
Continue to provide stable, reliable and secure API services for the community, covering all mainchain and sidechain node data including ELA mainchain, ID sidechain, ETH sidechain, etc., so that developers and other community members and related products can directly use API services. Promote the ecological development of elastos.
elastos主侧链结构由ELA主链、ID侧链、ETH侧链等多条主侧链组成,根据开发计划2021年第二季度还将发布基于DPoS共识的ID侧链;不同类型的主侧链节点是开发者开发不同功能的dApp的基础,而API服务作为dApp与链交互的重要接口,为开发者和用户提供了极大的便利性。
目前API服务在#33提案 (opens in a new tab) 的支持下已经上线并稳定运行超过4个月,已经成为FILDA、Identity、Profile、Assit、Wallet、Feeds等多个产品的开发者的重要工具,为社区开发者和用户提供了稳定、可靠的API服务。
从2020年11月上线至2021年3月8日,API服务已累计为社区提供数据服务约6599万次,其中生产环境5925万次,测试环境673万次,日均访问量约为54.99万次,其中2021年2月的日均访问量为2020年12月日均访问量的2.58倍。
日均访问量的快速增长,既表明FILDA、Identity、Feeds等产品为elastos社区带来了更多的活跃用户,也表明API服务作为相关产品的一个重要支撑组件,为产品的发展提供了可靠、稳定的数据服务,有效的推动了相关产品用户的爆发式增长。
Image: image
目前#33提案 (opens in a new tab)已经完结,计划通过本提案为API服务的后续运行提供资金支持,并根据前期运行数据及后续不同主侧链上业务发展的需要,对elastos节点集群进行优化,增加ETH、ID等重要业务节点的承载能力,保证API服务的高可用性、高稳定性、高安全性,为后续业务的快速增长提供稳固的底层支持。
The elastos mainchain & sidechain structure is composed of multiple mainchain and sidechains such as ELA mainchain, ID sidechain, ETH sidechain, etc. According to the development plan, ID sidechain based on DPoS consensus will be released in 2021 Q2; different types of mainchain & sidechains nodes are the basis for developers to develop dApps with different features, and API services, as an important interface for dApps to interact with the chain, provide a great convenience for developers and users.
Currently, the API service has been launched and ran stably for more than 4 months with the support of the #33 Proposal (opens in a new tab). It has become an important tool for developers of FILDA, Identity, Profile, Assit, Wallet, Feeds, etc., provides a stable and reliable API service for community developers and users.
From its launch in November 2020 to March 8, 2021, the API service has provided a total of approximately 65.99 million data services to the community, including 59.25 million in the production environment, 6.73 million in the test environment, and an average daily visit volume of approximately 549,900. , The average daily visits in February 2021 is 2.58 times the average daily visits in December 2020.
The rapid growth of average daily visits not only shows that FILDA, Identity, Feeds and other products have brought more active users to the elastos community but also shows that API services, as an important supporting component of related products, provide reliable, stable data services have effectively promoted the explosive growth of users of related products.
Image: image
At present, #33 Proposal (opens in a new tab) has been completed. It is planned to provide financial support for the follow-up operation of API services through this proposal, and optimize the elastos node cluster according to the previous operation data and the needs of business development on different mainchain and sidechains, such as increasing the carrying capacity of important business nodes such as ETH and ID,
to ensure the high availability, high stability, and high security of API services, and provides stable underlying support for the rapid growth of subsequent services.
由于API服务已经稳定运行超过4个月,在本提案中将继续采用API服务现有技术架构,并根据前期服务访问情况及后续业务发展需求,对后端节点配置进行调整。
根据前期统计数据,生产环境中ETH侧链的访问量约占总访问量的49%,ID侧链的访问量约占总访问量的43%,合计日均访问量约为70万次,已基本达到原系统容量峰值,为满足后续业务发展需求,计划增加ETH及ID侧链节点。
测试环境的访问压力较小,计划在保持系统最低冗余度的情况下,减少节点数量。
因API服务已稳定运行多月,方案稳定可靠,不需要对方案进行较大改动,故以6个月为项目周期,6个月后希望由后续提案为该API服务继续提供支持。
Since the API service has been operating stably for more than 4 months, the current technical architecture of the API service will continue to be adopted in this proposal, and the back-end node configuration will be adjusted according to the access status of the previous service and the subsequent business development needs.
According to the previous statistics, the visits of the ETH sidechain in the production environment accounted for about 49% of the total visits, and the visits of the ID side chain accounted for about 43% of the total visits. The total daily average visits were about 700,000. The peak capacity of the original system is basically reached. In order to meet the needs of subsequent business development, it is planned to add ETH and ID sidechain nodes.
The access pressure of the test environment is relatively small, and the plan is to reduce the number of nodes while maintaining the minimum redundancy of the system.
Because the API service has been running stably for many months, the plan is stable and reliable, and there is no need to make major changes to the plan, so the project cycle is 6 months. After 6 months, it is hoped that subsequent proposals will continue to provide support for the API service.
本建议的经费全部用于服务器租赁,不包含任何人员薪酬,实施团队人员将无偿参与本项目。
因为EF的资金主要用于项目开发,所以向CR申请项目经费。
根据mainnet与testnet访问量的不同及不同节点对服务器配置的需求,计划分别租用40台AWS t3服务器运行相关服务。
The proposed funds are all used for server leasing and do not include any personnel costs. The implementation team members will participate in this project free of charge.
Because EF's funds are mainly used for project development, so apply to CR for project funding.
According to the difference of mainnet and testnet visits and the server configuration requirements of different nodes, it is planned to rent 40 AWS t3 servers to run related services.
AWS t3服务器的租用价格如下:
The rental price of AWS t3 server is as follows:
| Type | CPU | RAM(GB) | Price(USD/Hour) | Amount(USD/Week) | Amount(USD/Month) |
|---|---|---|---|---|---|
| t3.small | 2 | 2 | 0.025 | 4.2 | 18 |
| t3.medium | 2 | 4 | 0.05 | 8.4 | 36 |
| t3.large | 2 | 8 | 0.1 | 16.8 | 72 |
服务器用途、配置及数量见下图:
The server usage, configuration and quantity are shown in the figure below:
| Service | Network | Server Type | Server Count | Price(USD/Month) | Amount(USD/Month) |
|---|---|---|---|---|---|
| ELA-RPC | Mainnet | t3.large | 3 | 72 | 216 |
| DID(AuxPOW)-RPC | Mainnet | t3.medium | 6 | 36 | 216 |
| ETH(RPC+WebSocket+Oracel) | Mainnet | t3.large | 9 | 72 | 648 |
| APIMisc | Mainnet | t3.medium | 3 | 36 | 108 |
| DID(DPoS)-RPC | Mainnet | t3.large | 6 | 72 | 432 |
| ELA-RPC | Testnet | t3.large | 2 | 72 | 144 |
| DID(AuxPOW)-RPC | Testnet | t3.medium | 2 | 36 | 72 |
| ETH(RPC+WebSocket+Oracel) | Testnet | t3.large | 2 | 72 | 144 |
| APIMisc | Testnet | t3.medium | 2 | 36 | 72 |
| DID(DPoS)-RPC | Testnet | t3.large | 2 | 72 | 144 |
| Frontend | - | t3.large | 2 | 72 | 144 |
| Moniter | - | t3.small | 1 | 18 | 18 |
| Sum | - | - | 40 | 2358 |
表格中DID(DPoS)为计划2021年Q2发布的基于DPoS的新ID侧链,由于该节点尚未发布,故表格中为预估的服务器的最大数量。
按照服务器的最大数量计算,每个月服务器费用大约为2358 USD,故项目总预算为 2358*6=14,148 USD。
ELA价格为火币交易所ELA的30天均线价格,为4.3 USDT/ELA,项目总预算ELA数量=14148/4.3≈3,291 ELA
因在DID(DPoS)节点发布后,服务器数量将从32台增加至40台,同时ELA价格存在较大波动,所以本项目将以每个月实际服务器运行数量计算服务器运行费用,并按照每个月最后一天ELA在火币交易所的30天均线价格计算实际花费的ELA数量,在本项目结束后,将剩余的ELA退换至CR运营地址 CREXPENSESXXXXXXXXXXXXXXXXXX4UdT6b。
The DID (DPoS) in the table is a new DPoS-based ID side chain scheduled to be released in Q2 of 2021. Since the node has not yet been released, the table is the estimated maximum number of servers.
Calculated according to the maximum number of servers, the monthly server cost is approximately 2358 USD, so the total project budget is 2358*6=14,148 USD.
The price of ELA is the 30-day moving average price of ELA on Huobi Exchange, which is 4.3 USDT/ELA, and the total project budget ELA quantity=14148/4.3≈3,291 ELA
After the release of the DID (DPoS) node, the number of servers will increase from 32 to 40. At the same time, the price of ELA will fluctuate greatly. Therefore, this project will calculate the server operating cost based on the actual number of servers running each month. The actual amount of ELA spent on the 30-day moving average price of ELA on the Huobi Exchange on the last day of each month is calculated. After the end of this project, the remaining ELA will be returned to the CR operating address CREXPENSESXXXXXXXXXXXXXXXXXX4UdT6b.
预算
| 阶段 | 付款 | 付款条件 | 状态 | 金额 |
|---|---|---|---|---|
| 1 | 阶段付款 | 提供第1个月的稳定API服务 Provide stable API service for the 1st month | 已提取 | 548.5 ELA |
| 2 | 阶段付款 | 提供第2个月的稳定API服务 Provide stable API service for the 2nd month | 已提取 | 548.5 ELA |
| 3 | 阶段付款 | 提供第3个月的稳定API服务 Provide stable API service for the 3rd month | 已提取 | 548.5 ELA |
| 4 | 阶段付款 | 提供第4个月的稳定API服务 Provide stable API service for the 4th month | 已提取 | 548.5 ELA |
| 5 | 阶段付款 | 提供第5个月的稳定API服务 Provide stable API service for the 5th month | 已提取 | 548.5 ELA |
| 6 | 尾款 | 提供第6个月的稳定API服务,本提案任务完成 Provide stable API service for the 5th month, the task of this proposal is completed | 已提取 | 548.5 ELA |
| 合计 | 3,291 ELA | |||
阶段付款 · 阶段 1548.5 ELA
已提取
付款条件 提供第1个月的稳定API服务 Provide stable API service for the 1st month
阶段付款 · 阶段 2548.5 ELA
已提取
付款条件 提供第2个月的稳定API服务 Provide stable API service for the 2nd month
阶段付款 · 阶段 3548.5 ELA
已提取
付款条件 提供第3个月的稳定API服务 Provide stable API service for the 3rd month
阶段付款 · 阶段 4548.5 ELA
已提取
付款条件 提供第4个月的稳定API服务 Provide stable API service for the 4th month
阶段付款 · 阶段 5548.5 ELA
已提取
付款条件 提供第5个月的稳定API服务 Provide stable API service for the 5th month
尾款 · 阶段 6548.5 ELA
已提取
付款条件 提供第6个月的稳定API服务,本提案任务完成 Provide stable API service for the 5th month, the task of this proposal is completed
合计3,291 ELA
里程碑
里程碑 1 · 第 1 阶段
提供第1个月的稳定API服务 Provide stable API service for the 1st month
里程碑 2 · 第 2 阶段
提供第2个月的稳定API服务 Provide stable API service for the 2nd month
里程碑 3 · 第 3 阶段
提供第3个月的稳定API服务 Provide stable API service for the 3rd month
里程碑 4 · 第 4 阶段
提供第4个月的稳定API服务 Provide stable API service for the 4th month
里程碑 5 · 第 5 阶段
提供第5个月的稳定API服务 Provide stable API service for the 5th month
里程碑 6 · 第 6 阶段
提供第6个月的稳定API服务,本提案任务完成 Provide stable API service for the 5th month, the task of this proposal is completed
Amounts
- Budget amount
- 3291
- Rejection amount
- 0
- Rejection threshold
- 1923487.9444582325