Skip to content
 
 

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Distributed Calculator — Resonate example

Resonator

Resonator is a distributed calculator that can calculate basic arithmetic expressions that contain numbers and the following symbols:

( ) + - *

Resonator splits an expression into tasks (sub expressions) and distributes those tasks to workers to calculate.

Give it a try by typing an expression such as:

(1 + 2)
(1 + 2) * 3
(1 + 2) * (3 - 4)

Resonator is built with Resonate.

Getting started

Before you get started you will need to install Resonate.

# start resonate server
resonate serve

# start resonator
uv sync

# start exp task group
GRP=exp PID=lhs uv run resonator
GRP=exp PID=rhs uv run resonator

# start ops task group
GRP=ops uv run resonator

# start command prompt
uv run resonator

About

A distributed calculator that parses and distributes arithmetic sub-expression tasks to workers

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages