Image Processing Distributed Service

Welcome to the Image Processing Distributed Service! This service allows you to process thousands of images collected from stores in a distributed and scalable manner. Follow the steps below to set up and run the service locally.

Table of Contents

Prerequisites

Getting Started

1. Clone the repository:

git clone git@github.com:srrathi/distributed-image-processor.git

change directory to project root directory

cd distributed-image-processor

2. Follow the steps outlined in the documentation:

Running the Microservices

  1. After setting up everything, open four terminal instances in the root of the project folder.

  2. Run the following commands to start the 4 microservices in 4 terminals:

go run services/jobStatus/main.go
go run services/submitJob/main.go
go run services/storeVisits/main.go
go run services/consumer/main.go
  1. The services for the three endpoints and the image processing consumer will start working in a first-in-first-out manner.

Testing Endpoints

Use the provided Postman Collection for testing the endpoints.

References

Issues and Contributions

If you encounter any issues or have suggestions for improvement, feel free to open an issue or submit a pull request.

Happy processing!