Comments (5)
Hi @myyrakle. There is no easy way to adjust the number of replicas. Here's the code that defines the number of replicas:
weaver/internal/tool/multi/deployer.go
Line 48 in 2c48ca8
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.
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.
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.
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.
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)
- Issues with Logging Functionality and Incomplete Logs in Weaver Multi Deployment HOT 4
- Restrict service instances HOT 8
- Question: How to create multiple http services HOT 4
- Stream Listener <-> Storage HOT 4
- Limit maximum of replication HOT 5
- Synchronized component implementation (feature idea) HOT 4
- TestExamples failing: no such file HOT 1
- Bazel Support HOT 6
- Extending telemetry
- Gen client API please :)
- feat: add check rules to avoid cycle Ref HOT 2
- wasm
- The dashboard seems a little unusual. HOT 1
- 0.21.2 was not completed HOT 4
- Can Weaver add serializable for the sql.Null* structs? HOT 2
- The port of the configuration file is not in effect,SERVICEWEAVER_CONFIG=weaver.toml go run . The command runs the configuration file to take effect HOT 4
- Deployment of UPX-compressed program failed. HOT 2
- How to implement a modular-design ERP product similar to Odoo using ServiceWeaver HOT 1
- Tests failing on MacOS HOT 7
- Is it possible to choose how my components will split into machines? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weaver.