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

18 min read

Push vs Pull for Million‑QPS Monitoring: Hybrid Edge Pull and Central Push

At massive scale, the choice between push‑based and pull‑based metric collection determines monitoring system survivability; the article examines StatsD’s push model, Prometheus’s pull model, their trade‑offs, and proposes a hybrid edge‑pull, central‑push architecture to balance flow control, health checks, and network topology.

14 min read

Observer Pattern: Decoupling Order Payment Success Actions via Publish‑Subscribe

The article explains the Observer pattern by first showing the problems of hard‑coding post‑payment actions, then detailing how defining a subject, observer interface, and concrete observers decouples the system, discusses push vs pull notification models, and illustrates real‑world uses in Spring events, GUI listeners, and message queues.