Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Prrromanssss authored Feb 18, 2024
1 parent 134673d commit d62bd82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@ Therefore, when a user sends an expression, he receives an expression identifier
4. Writing the data to the database

*Agent Agregator*:
1. Consumes expressions from the orchestrator
1. Consumes expressions from the orchestrator,
breaks it into tokens and writes it to the RabbitMQ queue for processing by agents
2. Consumes results from agents, insert them to expression, and send new tokens to agents to calculate
2. Consumes results from agents, insert them to expression and send new tokens to agents to calculate
3. Consumes pings from agents, **BUT** I didn’t have time to create any mechanism that would check the pings of each server and if there had been no ping for a long time, kill it. (Ping every 200 seconds)

*Agent*:
1. Consumes expressions from the Agent Agregator and gives it to its goroutines for calculations.
2. Consumes results from eachn goroutines and sends it to Agent Agregator
2. Consumes results from each goroutines and sends it to Agent Agregator
3. Every agent have 5 goroutines
4. There are 3 agents

Expand Down

0 comments on commit d62bd82

Please sign in to comment.