Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Prrromanssss committed Feb 18, 2024
1 parent 3c0a20e commit d4f3880
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,14 @@ This project is transitional to the next sprint on the Yandex Lyceum course.
This is distributed arithmetic expression evaluator.

**Some description**

The user wants to calculate arithmetic expressions. He enters the code 2 + 2 * 2 and wants to get the answer 6. But our addition and multiplication (also subtraction) operations take a “very, very” long time. Therefore, the option in which the user makes an http request and receives the result as a response is impossible.
Moreover: the calculation of each such operation in our “alternative reality” takes “giant” computing power. Accordingly, we must be able to perform each action separately and we can scale this system by adding computing power to our system in the form of new “machines”.
Therefore, when a user sends an expression, he receives an expression identifier in response and can, at some periodicity, check with the server whether the expression has been counted? If the expression is finally evaluated, he will get the result. Remember that some parts of an arphimetic expression can be evaluated in parallel.


**How to use it**

/expressions - You can follow write some expression to calculate
/operations - You can change the execution time of each operation
/agents - You can see how many servers can currently process expressions
Expand Down

0 comments on commit d4f3880

Please sign in to comment.