Comments (1)
Hi @collinmsn. Good find! You're absolutely right that, currently, numProcsIn
will always return 0 or 1. In earlier versions of the code, we allowed multiple different processes to be co-located together, with communication between them done via shared memory. We disabled this feature for now but may introduce it again later. When this feature was enabled, numProcsIn
made a lot more sense and could return a value greater than 1.
I'll close this issue for now since there's no bug, but we are actively working on cleaning up this code. Thanks for bringing it to our attention!
from weaver.
Related Issues (20)
- How do I call the written component in the program in a conventional way? HOT 1
- is context.Context propagtion supported in deploy multi? HOT 3
- context propagtion HOT 1
- multi deployment totally crashs after panic HOT 1
- initialize once in multi deploy mode HOT 1
- Replicated SQLite using Pocketbase and Marmot ( jetstream )
- Multi deployment: Blocks on first replica if other replica fails to start HOT 2
- Handling DB cleanup correctly HOT 5
- [Question] Weaver generate error in go/type.(*Checker) HOT 2
- Run alongside gRPC (will not HTTP2)
- Version mismatch with weaver-kube HOT 4
- Weaver generate process is not finished HOT 4
- Duplicate Method Executions in weavertest.RPC Mode HOT 3
- How to initializes the components in source code HOT 2
- Is Service Weaver suitable for writing tcp server? HOT 4
- weaver generate doesn't support go build tags
- Duplicate method executions using multi deploy HOT 1
- How do I identify which replica a client tcp connection is on, and how do I route messages with rpc to that replica? HOT 7
- Is the project still alive? HOT 1
- Docs about AuthZ and AuthN
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.