Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Async Babushka Client and support for Cluster Mode. #35

Merged
merged 6 commits into from
Nov 14, 2023

Conversation

SanHalacogluImproving
Copy link

No description provided.

@SanHalacogluImproving SanHalacogluImproving changed the base branch from main to go-benchmark November 9, 2023 23:24
Modified benchmarking so it can handle multiple clients running.
Updated lib.rs with types for SuccessCallback and FailureCallback to automate binding creation.

Reformatted project structure for babushkaclient and also the benchmarkApp.

Cleaned up babushkaclient
-Got rid of Callback indexes
-Fixed naming conventions
go/benchmarks/babushkaclient/Cargo.toml Show resolved Hide resolved
go/benchmarks/babushkaclient/src/lib.rs Outdated Show resolved Hide resolved
go/benchmarks/babushkaclient/src/lib.rs Outdated Show resolved Hide resolved
go/benchmarks/babushkaclient/src/lib.rs Outdated Show resolved Hide resolved
go/benchmarks/babushkaclient/src/lib.rs Outdated Show resolved Hide resolved
go/benchmarks/babushkaclient/src/lib.rs Outdated Show resolved Hide resolved
go/benchmarks/babushkaclient/src/lib.rs Outdated Show resolved Hide resolved
go/README.md Outdated
# Summary - Go Wrapper

This module contains a POC Go-client wrapper that connects to the `Babushka`-rust-client. The rust client connects to
redis, while this wrapper provides Go-language binding. The objective of this wrapper is to provide a thin-wrapper

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
redis, while this wrapper provides Go-language binding. The objective of this wrapper is to provide a thin-wrapper
Redis, while this wrapper provides Go-language binding. The objective of this wrapper is to provide a thin-wrapper

go/README.md Outdated
@@ -0,0 +1,55 @@
# Summary - Go Wrapper

This module contains a POC Go-client wrapper that connects to the `Babushka`-rust-client. The rust client connects to

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This module contains a POC Go-client wrapper that connects to the `Babushka`-rust-client. The rust client connects to
This module contains a POC Go-client wrapper that connects to the `Babushka`-Rust-client. The Rust client connects to

go/README.md Outdated

1. A Go client: wrapper to rust-client.
2. An examples script: to sanity test go-babushka and similar go-clients against a redis host.
3. A benchmark app: to performance benchmark test go-babushka and similar go-clients against a redis host.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
3. A benchmark app: to performance benchmark test go-babushka and similar go-clients against a redis host.
3. A benchmark app: to performance benchmark go-babushka and standard Go clients against a Redis host.

go/README.md Outdated
1) Build the Babushka-Core:
Navigate to `babushka/babushka-core`.
Run the command: `cargo build --release`.
2) Build the go-babushka within the Go Benchmarks:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
2) Build the go-babushka within the Go Benchmarks:
2) Build go-babushka within the Go Benchmarks:

go/README.md Outdated
Navigate to `babushka/babushka-core`.
Run the command: `cargo build --release`.
2) Build the go-babushka within the Go Benchmarks:
Change your current directory to the babushkaclient in `babushka/go/benchmarks/babushkaclient`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Change your current directory to the babushkaclient in `babushka/go/benchmarks/babushkaclient`.
Change your current directory to: `babushka/go/benchmarks/babushkaclient`.

go/README.md Outdated
* `concurrentTasks`: Number of concurrent tasks
* `clients`: one of: all|jedis|lettuce|babushka
* `clientCount`: Client count
* `host`: redis server host url

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* `host`: redis server host url
* `host`: Redis server host url

go/README.md Outdated
* `clients`: one of: all|jedis|lettuce|babushka
* `clientCount`: Client count
* `host`: redis server host url
* `port`: redis server port number

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* `port`: redis server port number
* `port`: Redis server port number

go/README.md Outdated
* `host`: redis server host url
* `port`: redis server port number
* `tls`: redis TLS configured
* `clusterModeEnabled`: redis cluster mode enabled

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* `clusterModeEnabled`: redis cluster mode enabled
* `clusterModeEnabled`: Redis cluster mode enabled

@SanHalacogluImproving SanHalacogluImproving merged commit fb4f2df into go-benchmark Nov 14, 2023
@Yury-Fridlyand Yury-Fridlyand deleted the go-babushka-async-client-raw-ffi branch July 19, 2024 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants