在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:crustio/crust-smanager开源软件地址:https://github.com/crustio/crust-smanager开源编程语言:TypeScript 99.3%开源软件介绍:crust-smanagersManager (Storage Manager) is a file picking bot which continuously picking and handling files from Crust Network. Node operators can customize this module to implement their own file handling strategy. sManager maintains a local database to help making decision on pulling files. Local DatabaseThe local database stores below information:
Checkout Db Schema for the schema details. ComponentssManager was designed to have serveral tasks running independently. Tasks are either scheduled by the block event or by configured intervals. Each task plays as an actor which consumes/produces some information and communicate with other tasks through the db or applicaion context. sManager follows the Fails Early priciple which means it will shutdown on any unexpected error. To support this priciple, tasks are designed to be recoverable after application restarts. Below are a list of components that sManager has implemented. IndexersIndexers extract information into the local database from various data sources. Currently sManager has implemented below indexers:
Simple TasksSimple tasks are speciualized tasks which runs periodly. Currently sManager has implemented below tasks:
Usage
git clone https://github.com/crustio/crust-smanager.git
cd crust-smanager && npm i
npm run dev
npm run build
npm start It's recommended to run sManager using Docker with the A daemon guard should be configured if you want to run sManager natively without docker. Tools like ConfigurationCheckout smanager-config.example.json Those config items will be configured in the sManager configuration setup process. The meaning of each item is as follows:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论