mochengqian commented on PR #928:
URL: https://github.com/apache/dubbo-go-pixiu/pull/928#issuecomment-4527704736

   Updated this PR in e125a6db to address the request-path hashing performance 
concern.
   
   What changed:
   - `LookUpTable.Hash()` now uses a dedicated deterministic request-key hash 
based on `xxhash.Sum64String`.
   - `_hash1/_hash2` remain in place for Maglev table permutation generation, 
so this avoids broader endpoint-to-slot churn.
   - `GetHash(uint32)` now normalizes raw hashes with `% table size` before 
indexing.
   - Added regression tests for hash stability and `GetHash` normalization.
   - Added benchmarks for old random `maphash`, SHA3-512, xxHash, and 
`LookUpTable.Get`.
   
   Validation:
   - `go test ./pkg/cluster/loadbalancer/maglev`
   - `go test ./pkg/cluster/loadbalancer/maglev -run 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to