<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/halodoc/best-of/2025" -->

---
title: Best Halodoc posts of 2025 | daily.dev
description: The most upvoted Halodoc posts of 2025, curated by the daily.dev community.
canonical: https://daily.dev/sources/halodoc/best-of/2025
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/halodoc/best-of/2025
og:type: website
og:site_name: daily.dev
og:title: Best Halodoc posts of 2025 | daily.dev
og:description: The most upvoted Halodoc posts of 2025, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Halodoc — 2025

1. 1  
[](/posts/log-standardization-nddqs9jhq "Log Standardization")  
[![halodoc's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/b3d554a1a7b44df48789c7ca6e50c4c2)](/sources/[source]/best-of/[year])  
8m read time • Mar 28, 2025  
### Log Standardization  
Debugging in microservices is challenging without structured logging. This post explores logging strategies for HTTP requests, Kafka events, and concurrency in Java, Golang, and Python. It addresses context loss in Java’s multi-threading by introducing MDCAwareCompletableFuture and MDCAwareExecutorService, ensuring traceability in concurrent systems. A structured logging approach with Request ID, Transaction ID, and Parent Transaction ID is recommended for better traceability and debugging efficiency.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/3a0a19c9bb2f073c77ed4719936b0d9f?_a=AQAEuj9)  
194  
1
2. 2  
[](/posts/kubernetes-optimizationinplace-pod-resizing-zoneaware-routin-2sylriptw "Kubernetes OptimizationInPlace Pod Resizing,ZoneAware Routin")  
[![halodoc's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/b3d554a1a7b44df48789c7ca6e50c4c2)](/sources/[source]/best-of/[year])  
8m read time • Dec 12, 2025  
### Kubernetes OptimizationInPlace Pod Resizing,ZoneAware Routin  
Halodoc reduced Kubernetes infrastructure costs by implementing two optimization strategies: in-place pod resizing to dynamically adjust resources during low-traffic periods without restarts (achieving \~15% CPU and \~10% memory reduction), and zone-aware routing to minimize cross-AZ traffic (reducing data transfer costs by \~25% and latency by \~5%). The approach uses a custom scheduler for periodic resource patching and Kubernetes' trafficDistribution: PreferClose feature combined with topology spread constraints to keep traffic within availability zones.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/564fbfb684c905814b9117e099da5547?_a=AQAEulh)  
24
3. 3  
[](/posts/find-fix-node-js-memory-leaks-with-heap-snapshots-89dj8jypm "Find & Fix Node.js Memory Leaks with Heap Snapshots")  
[![halodoc's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/b3d554a1a7b44df48789c7ca6e50c4c2)](/sources/[source]/best-of/[year])  
12m read time • Oct 24, 2025  
### Find & Fix Node.js Memory Leaks with Heap Snapshots  
Memory leaks in Node.js applications cause gradual memory growth until containers crash or restart. Heap snapshots provide detailed dumps of JavaScript memory at specific moments, revealing which objects consume memory and why they aren't garbage collected. The article demonstrates capturing snapshots using Node.js V8 API, triggering them on app start, via SIGUSR2 signals, and automatically during OOM events. Analysis involves comparing multiple snapshots in Chrome DevTools to identify growing objects, examining retained sizes, and tracing retainer chains to find root causes. Common leak patterns include lingering timers, unremoved event listeners, unclosed RxJS subscriptions, and closures retaining large objects. The solution includes storing snapshots securely in S3 with encryption and automatic expiry, enabling systematic debugging of production memory issues.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/c927720b4dce2a36b835c8c9850f341b?_a=AQAEulh)  
18
4. 4  
[](/posts/migrating-from-jdk-17-to-jdk-21-an-overview-and-practical-guide-rhdk0kp5v "Migrating from JDK 17 to JDK 21: An Overview and Practical Guide")  
[![halodoc's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/b3d554a1a7b44df48789c7ca6e50c4c2)](/sources/[source]/best-of/[year])  
16m read time • Sep 04, 2025  
### Migrating from JDK 17 to JDK 21: An Overview and Practical Guide  
A comprehensive guide covering the migration from JDK 17 to JDK 21, highlighting key benefits like Virtual Threads for improved concurrency and scalability. The article provides a step-by-step technical approach including environment setup, dependency updates, containerization, CI/CD pipeline modifications, and runtime optimization with Generational ZGC. Real-world results show 30% heap usage reduction, stabilized P99 latency, and over 10% infrastructure cost savings for I/O-bound services.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/9b1e8568b6fff28dafd987c2199fc4a3?_a=AQAEulh)  
15

[See all Halodoc archives](/sources/halodoc/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/halodoc/best-of/2025#page","url":"https://daily.dev/sources/halodoc/best-of/2025","name":"Best Halodoc Posts of 2025","description":"The most upvoted Halodoc posts of 2025, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/halodoc/best-of/2025#items","numberOfItems":4,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/log-standardization-nddqs9jhq","name":"Log Standardization"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/kubernetes-optimizationinplace-pod-resizing-zoneaware-routin-2sylriptw","name":"Kubernetes OptimizationInPlace Pod Resizing,ZoneAware Routin"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/find-fix-node-js-memory-leaks-with-heap-snapshots-89dj8jypm","name":"Find \u0026 Fix Node.js Memory Leaks with Heap Snapshots"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/migrating-from-jdk-17-to-jdk-21-an-overview-and-practical-guide-rhdk0kp5v","name":"Migrating from JDK 17 to JDK 21: An Overview and Practical Guide"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"Halodoc","item":"https://daily.dev/sources/halodoc"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/halodoc/best-of"},{"@type":"ListItem","position":5,"name":"2025"}]}]}
```

