8000 Add support for Alibaba Cloud ApsaraDB Confidential Database by tyler-lee · Pull Request #477 · cmu-db/benchbase · GitHub
[go: up one dir, main page]

Skip to content

Add support for Alibaba Cloud ApsaraDB Confidential Database #477

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tyler-lee
Copy link

Add support for Alibaba Cloud ApsaraDB Confidential Database via JDBC.

Reference: https://help.aliyun.com/zh/rds/apsaradb-rds-for-mysql/encjdbc

@bpkroth
Copy link
Collaborator
bpkroth commented Mar 14, 2024

Are there example configs or test cases to add to this?

@tyler-lee
Copy link
Author

Are there example configs or test cases to add to this?

No, one can reuse mysql example configs and the only change is to update <driver> and <url> in configs, so it's not necessary?

@bpkroth
Copy link
Collaborator
bpkroth commented Mar 19, 2024

Are there example configs or test cases to add to this?

No, one can reuse mysql example configs and the only change is to update <driver> and <url> in configs, so it's not necessary?

General preference is to have all changes have associated tests with them, else it's hard to know when features that we should be supporting break.

If possible, it would be nice to have some form of dockerized test setup for this as the other supported backends do. See .github/workflows/maven.yml or docker/scripts/build-run-benchmark-with-docker.sh for some details.

Can you please take a look at that before we include this? If it's not possible for some reason we can consider to include it anyways with an "untested" note.

@bpkroth bpkroth self-assigned this Mar 19, 2024
@tyler-lee
Copy link
Author

Are there example configs or test cases to add to this?

No, one can reuse mysql example configs and the only change is to update <driver> and <url> in configs, so it's not necessary?

General preference is to have all changes have associated tests with them, else it's hard to know when features that we should be supporting break.

If possible, it would be nice to have some form of dockerized test setup for this as the other supported backends do. See .github/workflows/maven.yml or docker/scripts/build-run-benchmark-with-docker.sh for some details.

Can you please take a look at that before we include this? If it's not possible for some reason we can consider to include it anyways with an "untested" note.

Thank you for the kind reminder.

There is not public docker image for the DB now and only commercial instances are available (refer to Enable Always Confidential for detailed info), hence it is not possible to build a dockerized test environment.

As an alternative solution, is that ok to provide config/mysql/sample_tpcc_with_encjdbc_config.xml with updated <driver> and <url>? So that once activating a commercial instance, one can quickly verify the test.

1 similar comment
@tyler-lee
Copy link
Author

Are there example configs or test cases to add to this?

No, one can reuse mysql example configs and the only change is to update <driver> and <url> in configs, so it's not necessary?

General preference is to have all changes have associated tests with them, else it's hard to know when features that we should be supporting break.

If possible, it would be nice to have some form of dockerized test setup for this as the other supported backends do. See .github/workflows/maven.yml or docker/scripts/build-run-benchmark-with-docker.sh for some details.

Can you please take a look at that before we include this? If it's not possible for some reason we can consider to include it anyways with an "untested" note.

Thank you for the kind reminder.

There is not public docker image for the DB now and only commercial instances are available (refer to Enable Always Confidential for detailed info), hence it is not possible to build a dockerized test environment.

As an alternative solution, is that ok to provide config/mysql/sample_tpcc_with_encjdbc_config.xml with updated <driver> and <url>? So that once activating a commercial instance, one can quickly verify the test.

@@ -106,6 +106,11 @@
<version>8.0.30</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-encdb-mysql-jdbc</artifactId>
Copy link
Collaborator