Build APIS with SpringBoot - REST, GRPC, GRAPHQL which one should you pick? Cedrick Lunven
summary
Spring Boot project implements REST, gRPC and GraphQL APIs for the KillrVideo reference app with an Apache Cassandra persistence layer, runnable via Docker Compose and available on GitHub; demo shows two query tables, five comments inserted and working paging using Cassandra's pageState paging. REST uses Spring MVC + Swagger for easy docs and CRUD; gRPC uses Protobuf over HTTP/2 for binary, low-latency, multi-language stubs; GraphQL provides field-level selection but risks N+1 queries. Synchronous demos run, with notes on async/reactive alternatives.
AI-written summary · about
chapters (21)
- 0:00Start
- 1:08Microservices Architectures
- 5:40Building a Spring Boot Microservice
- 8:52When volumes grow?
- 9:28CAP Theorem for Distributed Systems
- 10:28Apache Cassandra
- 11:41Data is Distributed
- 13:10Self Healing
- 13:50Use Cases
- 17:05Reference Application KILL VIDEO
- 17:38Data Model Design
- 18:28Conceptual Data Model
- 18:54Application Workflow
- 19:18Mapping
- 20:07Physical Data Model
- 40:28Configuration - #2 Java Config
- 40:58Configuration - #3 Custom Definition
- 43:56Analysis Criteria
- 45:23Analysis Matrix
- 45:34Decision Tree
- 52:42Sample CODES
related talks
36mDesigning API: REST, gRPC or GraphQL?
43mBeyond REST API’s – An overview about modern API technologies
41mDoes Your API Need a REST? Check Out GraphQL.
55mGraphQL - APIs the New Way
50mSpring Time: From REST to GraphQL
59mGraphQL, gRPC or REST? Resolving the API Developer's Dilemma
43mTUTORIAL: We've "REST"ed long enough -- let's have an API adventure!
01h 15mREST, GraphQL, and gRPC: A Comparison
