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

Question: Does Clair support Mysql database? #61

Closed
coolljt0725 opened this issue Jan 12, 2016 · 5 comments
Closed

Question: Does Clair support Mysql database? #61

coolljt0725 opened this issue Jan 12, 2016 · 5 comments
Labels
help wanted a good issue for non-maintainers to handle kind/feature request wishes for new functionality/docs kind/question something that couldn't be answered in the docs priority/someday nice to have

Comments

@coolljt0725
Copy link
Contributor

In our scenario, other services use Mysql as backend database. Does
Clair support Mysql? If so, there is no need to deploy another database
for us.

@Quentin-M
Copy link
Contributor

Hi,

MySQL hasn't been tested explicitly on Cayley (and thus on Clair).

The new database implementation on which I am working on uses PostgreSQL and will provide a huge performance boost and many features as well as caveats fixes compared to the current implementation.

Le 12 janv. 2016 à 06:22, Lei Jitang notifications@github.com a écrit :

In our scenario, other services use Mysql as backend database Does
Clair support Mysql? If so, there is no need to deploy another database
for us


Reply to this email directly or view it on GitHub.

@jzelinskie
Copy link
Contributor

Rather than does clair support MySQL, allow me to answer the question will clair eventually support MySQL. There is going to be a new database implementation that uses database/sql and postgres that will be far more performant. Once that is in place, we will be open to accepting PRs that add MySQL support, but it is not a priority for us to work on. However, this will likely be nontrivial because the postgres implementation takes advantage of a couple of features that do not exist in MySQL in order to get decent performance.

@coolljt0725
Copy link
Contributor Author

@jzelinskie

There is going to be a new database implementation that uses database/sql and postgres that will be far more performant

when does this in place? is the PR comming?

@Quentin-M
Copy link
Contributor

@coolljt0725 We are really far in the development already. We are currently writing the new API and starting to run benchmarks on the official Docker images. I will push a branch to this repository as soon as the API will be mostly written. I'd say that the ETA is few weeks.

For now, it sits at https://github.com/Quentin-M/clair/tree/sql.

@coolljt0725
Copy link
Contributor Author

@Quentin-M Thank you :)

@jzelinskie jzelinskie added kind/feature request wishes for new functionality/docs kind/question something that couldn't be answered in the docs priority/someday nice to have help wanted a good issue for non-maintainers to handle labels Mar 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted a good issue for non-maintainers to handle kind/feature request wishes for new functionality/docs kind/question something that couldn't be answered in the docs priority/someday nice to have
Development

No branches or pull requests

3 participants