Top Architecture Tech Stack
Author

Top Architecture Tech Stack

Sharing Java and Python tech insights, with occasional practical development tool tips.

205
Articles
0
Likes
636
Views
0
Comments
Recent Articles

Latest from Top Architecture Tech Stack

100 recent articles max
Top Architecture Tech Stack
Top Architecture Tech Stack
May 26, 2025 · Backend Development

Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult

This article explains how to implement asynchronous request handling in Spring Boot using four approaches—AsyncContext, Callable, WebAsyncTask, and DeferredResult—detailing their mechanisms, code examples, thread pool configuration, and when to choose async processing to improve throughput.

AsynchronousCallableDeferredResult
0 likes · 10 min read
Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult
Top Architecture Tech Stack
Top Architecture Tech Stack
May 23, 2025 · Backend Development

Best Practices for Designing a Robust Spring MVC Controller Layer

This article explains the essential responsibilities of a Spring MVC controller, identifies common pitfalls such as duplicated validation and inconsistent responses, and demonstrates how to unify response structures, handle String conversion issues, apply JSR‑303 validation, create custom validators, and implement centralized exception handling using ResponseBodyAdvice and @RestControllerAdvice.

ControllerExceptionHandlingSpring MVC
0 likes · 17 min read
Best Practices for Designing a Robust Spring MVC Controller Layer
Top Architecture Tech Stack
Top Architecture Tech Stack
May 22, 2025 · Operations

Understanding the Bandwidth and Server Scale of Douyin (TikTok) Data Centers

This article explains how Douyin (TikTok) and other major Chinese platforms achieve massive concurrent usage by operating data centers with hundreds of thousands of servers, employing terabit-level outbound bandwidth, dual‑link designs, CDN acceleration, and multi‑node load balancing, and provides estimates of server counts and bandwidth capacities.

BandwidthCDNData Center
0 likes · 8 min read
Understanding the Bandwidth and Server Scale of Douyin (TikTok) Data Centers
Top Architecture Tech Stack
Top Architecture Tech Stack
May 21, 2025 · Backend Development

Understanding DTO, BO, PO, and VO in Backend Development

This article explains the concepts of Data Transfer Object (DTO), Business Object (BO), Persistent Object (PO), and Value Object (VO) in backend development, shows how they differ and interact across layers, and provides Java code examples and a global configuration to filter null fields during serialization.

JavaModel LayerPO
0 likes · 7 min read
Understanding DTO, BO, PO, and VO in Backend Development
Top Architecture Tech Stack
Top Architecture Tech Stack
May 20, 2025 · Backend Development

Global Exception Handling in Spring Boot: Techniques and Code Examples

This article explains how to efficiently handle exceptions in Spring Boot applications by using @ControllerAdvice and @ExceptionHandler annotations, providing step-by-step code examples for custom global exception classes, error response structures, and handling specific exceptions such as business, null pointer, and type conversion errors.

ExceptionHandlingJavaSpringBoot
0 likes · 9 min read
Global Exception Handling in Spring Boot: Techniques and Code Examples
Top Architecture Tech Stack
Top Architecture Tech Stack
May 19, 2025 · Backend Development

Understanding Server‑Sent Events (SSE): Concepts, Comparison with Polling and WebSocket, and Practical Implementation

This article explains the scenarios where servers need to push data to clients, compares three implementation methods—polling, WebSocket, and SSE—highlights their advantages and drawbacks, and provides step‑by‑step frontend and Node.js backend demos for building a real‑time SSE connection.

ExpressJavaScriptNode.js
0 likes · 13 min read
Understanding Server‑Sent Events (SSE): Concepts, Comparison with Polling and WebSocket, and Practical Implementation
Top Architecture Tech Stack
Top Architecture Tech Stack
May 15, 2025 · Backend Development

Understanding Cookie + Session Mechanism and Distributed Session Sharing Solutions

This article explains the Cookie + Session mechanism for maintaining user state, discusses its limitations such as size, performance and security, examines challenges in distributed environments, and reviews common solutions including session replication, sticky load balancing, centralized storage, and the use of ThreadLocal for small‑scale backend applications.

SessionWeb developmentcookie
0 likes · 17 min read
Understanding Cookie + Session Mechanism and Distributed Session Sharing Solutions
Top Architecture Tech Stack
Top Architecture Tech Stack
May 14, 2025 · Backend Development

Injecting List, Array, Set, and Map from Spring Configuration Files Using @Value and EL Expressions

This article explains how to store and inject collection types such as List, array, Set, and Map in Spring configuration files, demonstrates the pitfalls of using @Value directly, and provides practical solutions using @ConfigurationProperties, EL split functions, and custom decoders for flexible and safe property binding.

EL expressionJavaSet
0 likes · 7 min read
Injecting List, Array, Set, and Map from Spring Configuration Files Using @Value and EL Expressions