Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Latest commit

 

History

History
28 lines (15 loc) · 1.04 KB

README.md

File metadata and controls

28 lines (15 loc) · 1.04 KB

DISYS-Exercise-1

  • Let us create an RPC / REST service
    • Define service endpoints - student, course, teacher using the Swagger editor
    • Discuss what operations should be using GET, PUT, POST, DELETE
    • Implement an RPC / REST service in Golang, that exposes your course endpoint
    • Consume the RPC / REST course service endpoint by creating a client in Golang
  1. Let us examine the if our service is a micro service

    • Discuss which endpoints of your web service could have a different lifecycle / supporting team.
    • Discuss which operations could be asynchronous
    • Redesign your API to a set of microservices, and discuss your architectural choices.
    • Explain what is the difference between a RESTful API and a set of microservices.
  2. Let us go from HTTP REST to AVRO gRPC

    • Create an IDL for your course endpoint
    • Generate a gRPC client based on your IDL
    • Discuss, when gRPC should be favored, and when REST should be favored