Skip to content

warpgr/ecwid_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECWID interview test task

Content

Build

To build the executable file just execute make command

    make build

Run

To file you need initialize environment variables.

    export FILE_PATH="path/to/your/ip_addresses"
    export STRATEGY="linear|concurrent"

after environment initialization you can execute command with make.

    make run

You can execute command in the bin/ directory after build stage to get more information.

    ./ip_extractor --help

Test

To run test execute the command.

    make test

Results

Started on Machine with 20 CPUs 16gb RAM on arch amd64. With 10mb chunk size. File size 107gb downloaded from here.

Strategy Time elapsed Total allocated mb
concurrent 51s 692mb
linear 4m39s 522mb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors