Lightweight microservice collaboration using HTTP
summary
Argues that microservice collaboration works well over HTTP, with commands as POST/PUT, queries as GET and a preferred pattern of asynchronous commands queries events implemented via an HTTP event feed (paged GETs with sequence numbers). Shows tiny demos using Nancy on ASP.NET Core, an in-process event store and a shopping-cart example that raises ProductAdded events. Recommends starting with HTTP polling for events, then migrating to queues like RabbitMQ only when scale or ops complexity demands it.
AI-written summary · about
chapters (9)
- 0:00Start
- 2:17INTRODUCTION TO MICROSERVICES
- 8:02WHY MICROSERVICES
- 16:15COLLABORATION STYLESS
- 18:51COMMANDS AND QUERIES
- 21:27EXAMPLE: COMMANDS, QUERIES
- 22:03EXAMPLE: QUERY
- 29:21EXAMPLE: EVENTS
- 32:20SUBSCRIBING TO EVENTS
related talks
55mForget about HTTP
41mForget about HTTP
01h 00mConsolidating Services With Middleware
01h 03mHow to build .NET Microservices
01h 01mThe Unsung Hero of Modern Software: Asynchronous Messaging
59mEffective Microservice Communication and Conversation Patterns
51mEffective Microservice Communication and Conversation Patterns
27mMicroservices
