Skip to content

perf: Backport allocation reduction optimizations from 2.x#1620

Merged
fvallenilla merged 15 commits intoNetflix:masterfrom
jasonk000:jkoch/backport-perf-2x
Feb 27, 2026
Merged

perf: Backport allocation reduction optimizations from 2.x#1620
fvallenilla merged 15 commits intoNetflix:masterfrom
jasonk000:jkoch/backport-perf-2x

Conversation

@jasonk000
Copy link
Member

Backport of 7 performance PRs from the 2.x branch, reducing object allocations on hot paths in the Eureka client during registry fetch/refresh, deserialization, and instance shuffling operations.

Individual commits are preserved from the original PRs. Two commits from #1613 (2af7d67f + 3eaf5aab) are squashed to avoid a transient guava dependency (that was removed in PR's feedback) that conflicts with master's build.gradle.

Verification

Compared net diff of perf changes on 2.x vs this branch; nothing missed. To verify:

git diff 459fcf59..b8ff519 > /tmp/master.patch
git diff cfe16ad2..e17779d4 > /tmp/diff-2x.patch
diff /tmp/master.patch /tmp/diff-2x.patch

@fvallenilla fvallenilla merged commit 1026955 into Netflix:master Feb 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants