Skip to content

perf(store): evaluate transmission-ID keys for byNode deduplication #534

Closed

Description

@dborup

Problem and priority

Measurement-first memory improvement, medium priority. Fork master 8798f74eeec124f21d0e82a8d64b93b31d7facc0 (24 October 2026) still keys the per-node byNode de-duplication sets with transmission hash strings. Evaluate numeric transmission IDs instead, without changing membership or merge behavior.

Proposed adaptation

Acceptance criteria

Tests cover duplicate/later observations, two hashes, ID survival/transfer, eviction/re-addition, background chunks, regional health filtering and concurrent readers. Run full server and race tests. Measure representative fork heap, retained set memory, bytes accounted, allocations and CPU before/after; do not quote upstream's savings as ours. Include a regression bound or repeatable benchmark and independent review.

Source provenance

Source repository: Kpa-clawbot/CoreScope
Pull request number: 2199
Head commit: 41f6912b8ecf0d138e2d1a02a0a6216db179d841
Merge commit: cf342efc4336cae56cf8857ecc3dfa9418a63937
Relevant files: cmd/server/store.go and byNode/health consumers

Activity

  1. dborup commented on Oct 24, 2026

    @dborup
    OwnerAuthor

    Fixed by #573 (merged as aa985ffd176e8555e85af59e674ab96bddeb7ddd).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions