August 2026

Posts published on funGyaan in August 2026.

August 2026

MTWTFSS
12
3456789
10111213141516
17181920212223
24252627282930
31

  1. REST vs GraphQL vs gRPC for internal services: which one?

    REST for public and simple APIs, GraphQL where many clients need different shapes of the same data, gRPC between your own services when latency and strict contracts matter. What each one is good at, what it costs, and how to choose per boundary, not per company.

    · 7 min read · System Design

  2. SOLID: which principles still pay off?

    Single responsibility and dependency inversion pay off in almost every codebase. Open/closed, Liskov and interface segregation matter mostly at boundaries where implementations vary. What each principle protects against, and when it turns into over-engineering.

    · 6 min read · How we build

  3. RBAC, ABAC or ReBAC: how should you model permissions?

    Roles answer "what can an editor do?", attributes answer "under which conditions?", relationships answer "who can see this particular document?". Most SaaS products need roles per tenant plus a few attribute rules; sharing features need relationships. Where to enforce them, and why the database…

    · 5 min read · Security

  4. How do you build real-time chat?

    WebSockets for the live connection, but the database is the source of truth: messages get a server-assigned sequence per conversation, clients acknowledge what they've seen, and reconnecting clients fetch what they missed. Polling, long polling and server-sent events still have their place.

    · 6 min read · System Design

  5. 5-15 years in: how do you stay valuable as AI changes the work?

    When AI can write much of the code, an experienced engineer's value is in the decisions: what to build, how systems should behave under failure and load, how teams deliver, and what's safe to ship. Three paths (go deeper, go broader, go into AI) and how to choose between them.

    · 7 min read · AI and the craft

  6. Is "Clean Code" still good advice?

    The goals are right: code that's easy to read and safe to change. Some of the famous rules (tiny functions, no comments, DRY at all costs) hurt when followed literally. Which parts I keep, which I bend, and how to settle the arguments in code review.

    · 6 min read · How we build

  7. Sessions or JWTs: which should you use to keep users signed in?

    Two good ideas for different jobs. For a web app with its own backend, server-side sessions are simpler and safer: a random cookie, instant revocation, nothing sensitive in the browser. JWTs earn their place between services and across organisations, where checking a signature beats a database…

    · 5 min read · Security