Sayan Nandan
4c47aa05ca
Fix broken pipe error due to bad init of Workpool
...
The create table query was being run with the workpool that also
attempts to switch to it on init (pre-loop stage). This caused us to
read in lesser bytes (since we use read_exact) and after the connection
is closed, the server would respond with a broken pipe error as it fails
to write data to the closed connection (since it expected to write more)
3 years ago
Sayan Nandan
49f031c13b
Improve sky-bench output
...
This adds lexicographical ordering to the output and streamlines the
number of significant digits to improve the overall output.
3 years ago
Sayan Nandan
e9662ef8b6
Use read_exact in loop-stage closure for getpool
3 years ago
Sayan Nandan
11e0cf8426
Use read_exact for all tests to ensure verity
3 years ago
Sayan Nandan
7dc150c311
Use read_exact for reading the okay response
3 years ago
Sayan Nandan
3619d114b8
Fix logging output even when --json flag is passed
...
Also, the construction of `Workpool`s was simplified.
3 years ago
Sayan Nandan
d705457309
Add UPDATE benches
3 years ago
Sayan Nandan
1d342a772d
Add `PoolConfig`
3 years ago
Sayan Nandan
2d5d32216c
Add some general borrow optimizations
3 years ago
Sayan Nandan
e58a5952f2
Create separate table for benchmarking
3 years ago
Sayan
d53a0cb505
Fix handling of SIGTERM on *nix ( #178 )
...
* Fix handling of SIGTERM on *nix
This is just for future extensibility
* Fix error codes
I have been silly enough to break error codes
3 years ago
Sayan Nandan
5be3041138
Fix 0 being accepted as a valid value in sky-bench
...
All inputs are expected to be non-zero
3 years ago
Sayan Nandan
0f1264d312
Decompose linearity tests and utils into modules
...
Also fixed license headers
3 years ago
Sayan Nandan
c83481cf36
Add linearity tests for GET
3 years ago
Sayan Nandan
d39f2dcda5
Add stress testing for `set` queries
3 years ago
Sayan Nandan
5c10584351
Add auto-drop method to `Workpool`
...
This avoids the need for us to manually drop something to ensure that
all the workers have exited.
3 years ago
Sayan Nandan
a7c0af01d4
Add support for parallel iterators in `libstress`
3 years ago
Sayan Nandan
1b8fda51fc
Use parallel iterators for benches
3 years ago
Sayan Nandan
a87478dcba
Optimize dependencies
3 years ago
Sayan Nandan
be087f0c84
Fix benchtool::runner not using max_connections
...
At the same time, several expressions were simplified.
3 years ago
Sayan Nandan
827a4afff2
Refactor sky-bench into modules
...
Also, error handling was improved.
3 years ago
Sayan Nandan
15d2b1922c
Add basic stress-test crate
3 years ago
Sayan Nandan
6b4d27cf43
Add `libstress` and `Workpool` object
...
The `Workpool` is a more generic version of the Netpool that we used,
making it modular.
3 years ago
Sayan
e553c5172b
Release v0.6.1 ( #164 )
...
* Explicitly fsync and relax CPU on snap busy-loop
This commit also switches to using global `VERSION` and `URL` statics
than defining it per-crate.
* Add changelog entry and bump up version
* Optimize `dbtest` macro and rm redundant allocs
* Upgrade deps
3 years ago
Sayan Nandan
eea0f86c97
Upgrade skytable client driver version
3 years ago
Sayan Nandan
3616793554
Update versioning and support information [skip ci]
3 years ago
Sayan Nandan
bb4637c1e3
Fix string arguments in sky-bench
3 years ago
Sayan Nandan
5847cf1da9
Upgrade sky-bench to use client driver
3 years ago
Sayan Nandan
d18631680c
Bump up version and add changelog entry
3 years ago
Sayan Nandan
6710e90e40
Optimize sanity test implementation
...
Also, sanity tests for GET, SET and DEL were added and the error
handling was optimized along with some code formatting
3 years ago
Sayan Nandan
63876b4c5c
Make sky-bench less aggressive
...
Instead of unwrapping furiously right away, this commit makes sky-bench
first run a ping test (HEYA) to check if everything is all right.
If that is the case indeed, then we continue to run the benches, else
we terminate the program.
This has been discussed in #119
3 years ago
Sayan Nandan
43779eb08e
And now we're Skytable
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
339844a613
Merge branch 'hotfix.1' into next
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
56b958a9cf
Revise copyright blocks as per OSI guidelines
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
a3398f1d07
Rebrand from TerrabaseDB to Skybase ( #90 )
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago