CodeSmart Hoops
Author

CodeSmart Hoops

A working programmer who loves coding and basketball. By day I debug code; by night I dissect tactics. I write articles to document my journey, focusing on Java, AI, Python and other programming topics, with occasional posts about basketball, English, and books. Hope it's helpful—thanks for following and support.

41
Articles
0
Likes
152
Views
0
Comments
Recent Articles

Latest from CodeSmart Hoops

41 recent articles
CodeSmart Hoops
CodeSmart Hoops
Oct 11, 2026 · Backend Development

Spring Security 6.x: Authentication, Authorization & Session vs JWT Compared

This comprehensive guide explores Spring Security 6.x core mechanisms including authentication flow with SecurityFilterChain and AuthenticationManager, authorization via URL and method-level security with SpEL expressions, and compares Session-based vs JWT stateless authentication with OAuth2 integration and CSRF protection strategies.

CSRFRBACSession
0 likes · 40 min read
Spring Security 6.x: Authentication, Authorization & Session vs JWT Compared
CodeSmart Hoops
CodeSmart Hoops
Oct 10, 2026 · Backend Development

Sa-Token Deep Dive: 10 Interview Questions on Auth, Multi-Account & SSO

This article explores 10 key Sa-Token interview questions covering core interfaces, one-line login internals, token styles, second-level authentication, multi-account architecture, distributed storage options, SSO comparisons, token passing strategies, permission annotation implementation, and production security hardening.

AOPInterview PreparationJava
0 likes · 21 min read
Sa-Token Deep Dive: 10 Interview Questions on Auth, Multi-Account & SSO
CodeSmart Hoops
CodeSmart Hoops
Oct 8, 2026 · Backend Development

Sa-Token 1.39.0 Deep Dive: Source Code, SSO, Multi-Tenancy & Framework Comparison

This article provides a comprehensive technical analysis of Sa-Token 1.39.0, covering source code architecture, scenario-based configurations for JWT/stateless auth, mobile multi-device, RBAC admin panels, and SaaS multi-tenancy, plus unit testing patterns, common misconceptions, performance comparisons with Spring Security and Shiro, and production hardening practices.

Best PracticesJava AuthenticationRBAC
0 likes · 26 min read
Sa-Token 1.39.0 Deep Dive: Source Code, SSO, Multi-Tenancy & Framework Comparison
CodeSmart Hoops
CodeSmart Hoops
Oct 5, 2026 · Backend Development

12 Critical Issues in Custom Redis Distributed Session Design — Solved

This article details 12 critical technical challenges when building a custom Redis-based distributed session system, covering token security, dual-index design, atomic Lua writes, expiration strategies, multi-device limits, renewal optimization, ThreadLocal cleanup, HA degradation, framework comparison, anomaly detection, and Redis Cluster hash-tag routing.

Lua scriptingRedisRedis Cluster
0 likes · 31 min read
12 Critical Issues in Custom Redis Distributed Session Design — Solved
CodeSmart Hoops
CodeSmart Hoops
Oct 3, 2026 · Backend Development

Building a Custom Redis Distributed Session: Token Design, Dual-Index Storage & Atomic Login

This article walks through designing a production-grade Redis-backed distributed session system, covering why single-node sessions fail under load balancing, secure token generation with SecureRandom, dual-index Redis storage using Hash and Set with Lua atomic writes, sliding vs absolute expiration, multi-device login limits, and complete login/logout/kick-out implementation with Redisson.

Redisbackend-architecturedistributed-session
0 likes · 31 min read
Building a Custom Redis Distributed Session: Token Design, Dual-Index Storage & Atomic Login
CodeSmart Hoops
CodeSmart Hoops
Sep 9, 2026 · Interview Experience

Spring Cloud LoadBalancer: 8 Classic Interview Questions with Deep-Dive Answers

This article presents eight detailed interview questions covering Spring Cloud LoadBalancer internals, including Ribbon migration reasons, client vs server load balancing, OpenFeign call chain, LoadBalancerClientFactory child contexts, ServiceInstanceListSupplier decorator chain, smooth weighted round-robin algorithm, consistent hashing with virtual nodes, and troubleshooting Connection refused errors after instance shutdown.

Interview QuestionsNacosOpenFeign
0 likes · 24 min read
Spring Cloud LoadBalancer: 8 Classic Interview Questions with Deep-Dive Answers
CodeSmart Hoops
CodeSmart Hoops
Sep 7, 2026 · Operations

Log Troubleshooting SOP: 6-Step Pipeline from Alert to Root Cause with 10 Exercises

A complete log troubleshooting methodology using grep, awk, sed, tail, less, and journalctl organized as a six-step pipeline — locate errors, examine context, extract fields, quantify patterns, track in real time, and check system logs — with command examples, output interpretation, common pitfalls, and ten hands-on exercises with answers.

Linux CommandsPipelineSOP
0 likes · 28 min read
Log Troubleshooting SOP: 6-Step Pipeline from Alert to Root Cause with 10 Exercises
CodeSmart Hoops
CodeSmart Hoops
Sep 5, 2026 · Backend Development

Dubbo vs gRPC vs Feign: Complete Multi-Dimension Comparison with Interview Q&A

This comprehensive guide compares Dubbo, gRPC, and Feign across eight critical dimensions including protocols, serialization, performance, cross-language support, service discovery, circuit breaking, streaming, and hybrid architecture coordination, with detailed interview questions and answers for each.

DubboFeignPerformance Comparison
0 likes · 25 min read
Dubbo vs gRPC vs Feign: Complete Multi-Dimension Comparison with Interview Q&A
CodeSmart Hoops
CodeSmart Hoops
Sep 4, 2026 · Backend Development

Dubbo vs gRPC vs Feign: Circuit Breaking, Streaming, Contracts & Selection Guide

This article compares Dubbo, gRPC, and Feign across circuit breaking, streaming, contract management, learning curves, and real-world scenarios, providing a decision matrix and a Spring Cloud Alibaba hybrid architecture where all three coexist for external HTTP, internal high-frequency Java, and cross-language algorithm services.

Circuit BreakingDubboFeign
0 likes · 39 min read
Dubbo vs gRPC vs Feign: Circuit Breaking, Streaming, Contracts & Selection Guide