Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Latest articles

14 min read

Spring Boot Retry Pitfall: Timeout ≠ Failure — Idempotency & Concurrency Fixes

The article explains why naive retries after timeouts cause duplicate orders in Spring Boot, demonstrating how to properly classify retryable exceptions, implement idempotency with stable request IDs, handle non-idempotent third-party APIs via query-before-retry, add concurrency limits with @ConcurrencyLimit, and separate concerns into Service, Gateway, and Client layers using Spring Framework 7's @Retryable.

11 min read

WeChat Mini Game SDK: Common Issues, Network Request Limits, and Optimization Strategies

The WeChat mini‑game SDK faces common problems such as HTTPS‑only domains, a ten‑request concurrency cap, five‑second background timeouts, and URL‑encoding errors that can queue or lose data, while Unity C# games must implement custom networking and developers must handle launch parameters, deprecated system APIs, share UI timing, and prompt communication to ensure stable releases.