Search
Lessons (9)
- API Gateway, BFF & Service Discovery
… A BFF is a small backend tailored to one frontend , owned by that frontend team. mermaid flowchart LR …
- Graphs: BFS & DFS
… The ripple reaches everything 1 step away, then 2 steps, then 3… BFS explores level by level using …
- Stacks & Queues
… go deep first"] d1[A] -- d2[B] -- d3[D] end subgraph BFS["Queue → BFS: level by level"] b1 …
- DSA Interview Patterns Cheat Sheet
… br/ grid, network, dependencies} C -- shortest path / levels BFS[BFS] C -- explore all / connected / cycles DFS[DFS] C …
- REST vs GraphQL vs gRPC
… gRPC between internal microservices, a GraphQL or BFF (Backend for Frontend) layer for their apps, and REST for …
- Trees & Binary Search Trees
… pre-, in-, post-order (DFS) and level-order (BFS with a queue). - In-order traversal of a BST …
- I — Interface Segregation Principle
… applies at a larger scale: - Backend for Frontend (BFF): a mobile app and a web app each get …
- Frontend Security
… session=abc123; HttpOnly; Secure; SameSite=Lax; Path=/; Max-Age=86400 💡 A popular pattern is the BFF (Backend for …
- Data in Microservices: Sagas & the Outbox Pattern
… Options: Approach How Trade-off --- --- --- API composition A BFF/gateway calls each service and joins in memory Simple …