Skip to content

e-zhydzetski/tt-xena

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test task from Xena Exchange

Task

Write single-thread de-duplicating handler for job(id, timestamp).
Jobs ordered by timestamp.
Deduplication by job.id in statically configured time window.

Test setup

Benchmark test suite should generate identical load for each tested handler.
Configurable deduplication window size, jobs rate borders and duplicate probability.
Handler results correctness checks.
Handlers resource consumption check.
Randomization seed may be passed as RAND_SEED env variable.

Run bench

go test -bench=. -cpu=1 -benchtime=100000x -benchmem

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages