Skip to content

benjaminhr/grpc-scaling

Repository files navigation

grpc scaling for matrix multiplication

Using the divide and conquer method for matrix multiplication. 8 instances of the grpc server with addBlock and multiplyBlock functions are created. In the frontend two .txt files with matrices are uploaded to a REST API. The REST API uses the grpc client to call block functions in the server. The number of instances which the client connects is determined by the footprint, deadline, and number of calls being made. This is where scaling occurs.

Upload two square matrices with dimensions of powers of 2 in txt files

  • numbers seperated by spaces
  • rows seperated by new lines

To run:

  • npm run server:grpc
  • npm run server:rest
  • localhost:8080

About

scaling matrix multiplication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published