# Dispatches

> Every piece filed by Utsab Dahal on Spring Boot, backend architecture and API design.

- **Articles:** 8
- **Canonical page:** https://dahalutsab.com.np/dispatches
- **Feed:** https://dahalutsab.com.np/feed.xml

## The archive

### Letting Anonymous Users Act: Participant Tokens in Spring Security

How to enforce one vote per person, per-session scoping and moderation rules for users who never create an account — a second JWT issuer, a published JWK set, and a unique constraint on an identity that is not a person.

- **Filed:** 3 August 2026 (2026-08-03)
- **Section:** Spring Security
- **Reading time:** 10 min read
- **Tags:** Spring Security, JWT, OAuth2, Authentication, Architecture
- **Read:** https://dahalutsab.com.np/dispatches/anonymous-participant-tokens-spring-security
- **Markdown:** https://dahalutsab.com.np/dispatches/anonymous-participant-tokens-spring-security.md

### Your API Gateway Cannot Proxy Your WebSocket

Spring Cloud Gateway Server WebMVC cannot proxy a WebSocket upgrade, and it fails without saying so. What to do instead, how to authenticate a socket a browser cannot put a header on, and the SockJS origin trap that logs nothing at all.

- **Filed:** 27 July 2026 (2026-07-27)
- **Section:** System Design
- **Reading time:** 8 min read
- **Tags:** Spring Cloud Gateway, WebSocket, STOMP, Microservices, Architecture
- **Read:** https://dahalutsab.com.np/dispatches/spring-cloud-gateway-cannot-proxy-websockets
- **Markdown:** https://dahalutsab.com.np/dispatches/spring-cloud-gateway-cannot-proxy-websockets.md

### Building Scalable REST APIs with Spring Boot

A comprehensive guide to designing and implementing RESTful APIs using Spring Boot, covering best practices for authentication, validation, and error handling.

- **Filed:** 15 January 2024 (2024-01-15)
- **Section:** Spring Boot
- **Reading time:** 8 min read
- **Tags:** Spring Boot, REST API, Java, Backend
- **Read:** https://dahalutsab.com.np/dispatches/building-scalable-rest-apis-spring-boot
- **Markdown:** https://dahalutsab.com.np/dispatches/building-scalable-rest-apis-spring-boot.md

### Implementing JWT Authentication in Spring Security

Step-by-step implementation of JWT-based authentication and authorization in Spring Boot applications, including refresh token handling and security best practices.

- **Filed:** 10 January 2024 (2024-01-10)
- **Section:** Spring Boot
- **Reading time:** 12 min read
- **Tags:** JWT, Spring Security, Authentication, Security
- **Read:** https://dahalutsab.com.np/dispatches/jwt-authentication-spring-security
- **Markdown:** https://dahalutsab.com.np/dispatches/jwt-authentication-spring-security.md

### Database Optimization Techniques for Spring Data JPA

Advanced techniques for optimizing database queries in Spring Data JPA applications, including lazy loading, query optimization, and performance monitoring.

- **Filed:** 5 January 2024 (2024-01-05)
- **Section:** Database
- **Reading time:** 10 min read
- **Tags:** JPA, Database, Performance, Optimization
- **Read:** https://dahalutsab.com.np/dispatches/database-optimization-spring-data-jpa
- **Markdown:** https://dahalutsab.com.np/dispatches/database-optimization-spring-data-jpa.md

### Introduction to Microservices Architecture

Learn the fundamentals of microservices architecture and how to implement scalable, resilient systems using Spring Boot, Docker, and Kubernetes.

- **Filed:** 1 January 2024 (2024-01-01)
- **Section:** Microservices
- **Reading time:** 15 min read
- **Tags:** Microservices, Spring Boot, Docker, Kubernetes, Architecture
- **Read:** https://dahalutsab.com.np/dispatches/introduction-microservices-architecture
- **Markdown:** https://dahalutsab.com.np/dispatches/introduction-microservices-architecture.md

### Event-Driven Architecture with Apache Kafka

Learn how to implement event-driven architecture using Apache Kafka and Spring Boot, with practical examples for building scalable, resilient systems.

- **Filed:** 28 December 2023 (2023-12-28)
- **Section:** System Design
- **Reading time:** 14 min read
- **Tags:** Kafka, Event-Driven, Spring Boot, Messaging, Microservices
- **Read:** https://dahalutsab.com.np/dispatches/event-driven-architecture-apache-kafka
- **Markdown:** https://dahalutsab.com.np/dispatches/event-driven-architecture-apache-kafka.md

### Containerizing Spring Boot Applications with Docker

Complete guide to containerizing Spring Boot applications using Docker, including multi-stage builds, Docker Compose, Kubernetes deployment, and DevOps best practices.

- **Filed:** 25 December 2023 (2023-12-25)
- **Section:** DevOps
- **Reading time:** 11 min read
- **Tags:** Docker, Containerization, Spring Boot, DevOps, Kubernetes
- **Read:** https://dahalutsab.com.np/dispatches/containerizing-spring-boot-docker
- **Markdown:** https://dahalutsab.com.np/dispatches/containerizing-spring-boot-docker.md

## Subjects covered

- Spring Boot (4)
- Architecture (3)
- Microservices (3)
- Authentication (2)
- Docker (2)
- JWT (2)
- Kubernetes (2)
- Spring Security (2)
- Backend (1)
- Containerization (1)
- Database (1)
- DevOps (1)
- Event-Driven (1)
- Java (1)
- JPA (1)
- Kafka (1)
- Messaging (1)
- OAuth2 (1)
- Optimization (1)
- Performance (1)
- REST API (1)
- Security (1)
- Spring Cloud Gateway (1)
- STOMP (1)
- WebSocket (1)

## Filed, not yet written

- Sending Emails with JavaMailSender in Spring Boot
- Integrating Swagger/OpenAPI for API Documentation
- Global Exception Handling with @ControllerAdvice
- Spring Boot File Upload and Download
- JWT Authentication and Authorization
- Connecting Spring Boot to MySQL/PostgreSQL
- Scheduling Tasks with @Scheduled in Spring
- Using Lombok to Reduce Boilerplate Code
- Handling Validation with @Valid and BindingResult

---

Source: https://dahalutsab.com.np/dispatches
From The Utsab Dahal Times — the record of Utsab Dahal, Backend Developer — Spring Boot & DevOps, Kathmandu, Nepal.
Full record: https://dahalutsab.com.np/llms-full.txt
