Code Monkey home page Code Monkey logo

Comments (5)

mwhittaker avatar mwhittaker commented on August 17, 2024

Hi @myyrakle. There is no easy way to adjust the number of replicas. Here's the code that defines the number of replicas:

const defaultReplication = 2

If you want, you can edit the source code and recompile the weaver tool.

We could allow users to configure the number of replicas. If you don't mind sharing, what were you trying to accomplish by changing the number of replicas?

from weaver.

mwhittaker avatar mwhittaker commented on August 17, 2024

P.S. It would be nice to have a Discussion for Q&A...

I've never used GitHub Discussions before. We have a Google Group for Q&A right now, but maybe Discussions are better? What has your experience been with Discussions vs Google Groups?

from weaver.

myyrakle avatar myyrakle commented on August 17, 2024

I didn't need that feature right away.
However, if the function to adjust the number of processes is provided, I think that users will be able to make the most of their resources within the limit.

What do you think of handling these values ​​in weaver.toml?

from weaver.

myyrakle avatar myyrakle commented on August 17, 2024

Personally, the experience of github discussion was simple and good.
And it's also very visible.
In addition, it was nice to be able to write an article right away without additional login.

from weaver.

mwhittaker avatar mwhittaker commented on August 17, 2024

What do you think of handling these values ​​in weaver.toml?

We've been trying to keep config files as minimal as possible, but if we find there's a lot of desire to specify the number of replicas for a multiprocess deployment, we can definitely add it!

Personally, the experience of github discussion was simple and good.

Awesome, thanks so much for sharing. I'll chat with the team about enabling Discussions then. It sounds nice.

from weaver.

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.