Skip to content

bhavz24/distributed_java_calculator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Distributed calculator.

Services description.

This task aims to create two services that will perform math operations in a distributed way. Services should support such binary operations:

  • addition
  • subtraction
  • multiplication
  • division

User Facing REST API.

Service handles user requests. Endpoint takes operation Parameters. When the service receives a request, it performs validation and checking of user input parameters and, if they are valid, sends an event to the calculation-queue queue.

Calculation Service.

Consuming messages from the calculation-queue, performs calculation and stores input/output in DB. If the operation was calculated previously, skip the calculation step and use the previously computed result.

Requirements

  • Use provided docker-compose as a starting point.
  • Amazon SQS should be used as a message bus.
  • MySQL should be used as DB.
  • Each service must be a separate unit with the possibility of running in its own Docker container, as all of them should start through docker-compose.

Please choose frameworks, databases, and ORM at its discretion.

Useful links:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%