The final project of the second sprint from YandexLMS
Если вы не владеете английским то можете перейти README_ru.md
Before you run everything in Docker, you can play around with the application config ./config.yaml
expression-service
and app
- the part of the config that you can interact with. It contains the following fields
Parameter | Type | Description |
---|---|---|
cache-ttl |
int |
Required. The time in minutes that '\n' expressions will be stored in the DBMS. If it is not necessary, set 0 |
Parameter | Type | Description |
---|---|---|
gorutines-count |
int |
Required. The number of workers that will be on the server |
expr-queue |
string |
Required. The name of the queue to which expressions from the frontend will arrive |
res-queue |
string |
Required. The name of the queue in which the workers will put the completed tasks |
exchange |
string |
Required. The name of the exchanger for rabbitmq |
route-key |
string |
Required. The name of the unique key that will be used to send messages to rabbitmq |
worker-info-update |
int |
Required. The time in seconds after which the server will ping the workers |
Clone the project
git clone https://github.com/Parside01/ExprCalc.git
Go to the project directory
cd ExprCalc
Launching the application in Docker
docker-compose up --build
click on the link http://localhost:80
When you log in to the app, this will be waiting for you
You can enter a mathematical expression in the input field
Before that, you can set the execution speed of each of the supported mathematical operations
By clicking on the button, you send the expression to the server that processes it, you can monitor the state of the expression
You can also monitor every worker in the system
if you have any feedback or problems with app, please open an issue or you can write to me on Telegram @parside12