~/talk

Get 'Go'ing with Microservices

Talkat Developer Summit 2020 · 2020-11-21..11-22· [go, microservices]
links:none on file
slides:none on file

Builds a Go microservice that calculates unit price using protobufs and gRPC, generates Go clients/servers from .proto files, and serves on TCP port 20001 so BloomRPC can call calculateUnitPrice and return a fake value. Implements clients for cache, prices and fund services, uses Shopify decimal library, stubs those clients in tests, and exercises unit tests with stubs and a table-driven style. Code compiles, gRPC stubs work, and tests pass locally.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09About the speaker
  3. 2:13About Spaceship
  4. 4:02Microservices overview
  5. 5:09gRPC and protobufs
  6. 7:40Unit price calculation
  7. 11:13Service dependencies
  8. 13:40Setting up the project
  9. 14:43Creating proto files
  10. 22:32Generating service code
  11. 24:10Basic service implementation
  12. 30:02Running the service
  13. 31:50Connecting to clients
  14. 39:54Importance of testing
  15. 40:18Testing microservices
  16. 42:03Writing unit tests
  17. 48:19Refactoring tests
  18. 51:11Testing fund service
  19. 53:25Testing stock value
  20. 55:33Test cases and fixtures
  21. 59:57Table-driven tests
  22. 1:00:42Testing best practices
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.