Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
G
gRPC Distributed Computation
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
diaa.hanna
gRPC Distributed Computation
Commits
84d0f9cb
Commit
84d0f9cb
authored
Nov 09, 2025
by
drnull03
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Readme File
parent
3515370b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
92 additions
and
0 deletions
+92
-0
README.md
README.md
+92
-0
No files found.
README.md
View file @
84d0f9cb
# gRPC Distributed Computation
```
`markdown
This project demonstrates a distributed computation system using gRPC across three different languages:
- Python for the Add service
- Node.js for the Multiply service
- Go for the client
---
## Running the Add Server (Python)
1. Navigate to the Python service directory:
```bash
cd pythonGRPC
```
`
2. Activate the virtual environment:
```bash
source .bin/activate
```
3. Run the server:
```bash
python3 server.py
```
---
## Running the Multiply Server (Node.js)
1. Navigate to the Node service directory:
```bash
cd nodeGRPC
```
2. Start the server:
```bash
node server.mjs
```
---
## Running the Client (Go)
1. Navigate to the Go client directory:
```bash
cd goGRPC
```
2. To perform a calculation:
```bash
go run main.go numberA numberB
```
Example:
```bash
go run main.go 9 9
```
3. To fetch logs from both servers:
```bash
go run main.go logs
```
---
## Example Usage
```bash
# Run a new calculation
go run main.go 9 9
# Stream previous logs from Add and Multiply services
go run main.go logs
```
---
Make sure both servers are running before executing the Go client.
```
``
`
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment