darenliang / scaled-scheduler-go Goto Github PK
View Code? Open in Web Editor NEWA scheduler for Scaled
License: BSD 3-Clause "New" or "Revised" License
A scheduler for Scaled
License: BSD 3-Clause "New" or "Revised" License
Tested with native python3.11 version of scheduler and go version scheduler and here is the results:
Test Environment:
running all below in Ubuntu WSL2
python version:
(venv3.11) 20:14:59 Wed Feb 22 : zyin@Windows (tmux):~/dev/scaled
$ python -m unittest tests.test_client.TestClient.test_client
[INFO]2023-02-22 20:15:06-0500: logging to ('/dev/stdout',)
[INFO]2023-02-22 20:15:06-0500: ScaledClient: connect to tcp://127.0.0.1:2345
[INFO]2023-02-22 20:15:06-0500: beginning submit 100000 tasks
[INFO]2023-02-22 20:15:07-0500: completed submit 100000 tasks in 0:00:01.029573
[INFO]2023-02-22 20:15:07-0500: beginning gather 100000 results
[INFO]2023-02-22 20:15:37-0500: completed gather 100000 results in 0:00:29.883602
.
----------------------------------------------------------------------
Ran 1 test in 30.975s
OK
[INFO]2023-02-22 20:15:37-0500: ScaledClient: disconnect from tcp://127.0.0.1:2345
go version scheduler:
(venv3.11) 20:15:37 Wed Feb 22 : zyin@Windows (tmux):~/dev/scaled
$ python -m unittest tests.test_client.TestClient.test_client
[INFO]2023-02-22 20:16:11-0500: logging to ('/dev/stdout',)
[INFO]2023-02-22 20:16:11-0500: ScaledClient: connect to tcp://127.0.0.1:2345
[INFO]2023-02-22 20:16:11-0500: beginning submit 100000 tasks
[INFO]2023-02-22 20:16:12-0500: completed submit 100000 tasks in 0:00:01.042871
[INFO]2023-02-22 20:16:12-0500: beginning gather 100000 results
[INFO]2023-02-22 20:16:20-0500: completed gather 100000 results in 0:00:08.436920
.
----------------------------------------------------------------------
Ran 1 test in 9.543s
OK
[INFO]2023-02-22 20:16:20-0500: ScaledClient: disconnect from tcp://127.0.0.1:2345
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.