Giter Club home page Giter Club logo

Comments (3)

44203 avatar 44203 commented on August 17, 2024

Can you share the method you are using to start your nodes?

from storjshare-daemon.

CJClaude avatar CJClaude commented on August 17, 2024

Bash script that functionally issues a bunch of:

storjsjhare start -c /storj/nodexx/config

commands.:

storj@fs2 ~ $ cat storj.begin
storjshare killall
sleep 10
storjshare start -c /storj/node000/config
storjshare start -c /storj/node001/config
storjshare start -c /storj/node002/config
storjshare start -c /storj/node003/config
storjshare start -c /storj/node004/config
storjshare start -c /storj/node005/config
storjshare start -c /storj/node006/config
storjshare start -c /storj/node007/config
storjshare start -c /storj/node008/config
storjshare start -c /storj/node009/config
storjshare start -c /storj/node010/config
storjshare start -c /storj/node011/config
storjshare start -c /storj/node012/config
storjshare start -c /storj/node013/config
storjshare start -c /storj/node014/config
storjshare start -c /storj/node015/config

from storjshare-daemon.

44203 avatar 44203 commented on August 17, 2024

Ah, so reason it is taking so long is because each command is establishing a new connection to the daemon, sending RPC, daemon receives and validates config, forks share process, responds to RPC, then closes connection. There is also a short artificial delay between the beggining of this and end to ensure the connection to the daemon is opened and closed cleanly.

The best way to start a series of nodes is to get them all running as you like and then running storjshare save to create a snapshot. This will let you later resurrect all the shares with one command storjshare load which eliminates the latency added by running each command separately. It will fork N shares with a degree of parallelism until all are running.

from storjshare-daemon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.