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

Dependency-free single binary #9257

Closed
ghost opened this issue Feb 8, 2019 · 3 comments
Closed

Dependency-free single binary #9257

ghost opened this issue Feb 8, 2019 · 3 comments
Assignees
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@ghost
Copy link

ghost commented Feb 8, 2019

Hi,
would it be possible to release a version that would be dependency-free(tikv, pd...) single binary, like cockroach db?

@morgo morgo self-assigned this Feb 8, 2019
@morgo
Copy link
Contributor

morgo commented Feb 8, 2019

I am currently working on it :-)

Technical details:
It is possible to run the tidb-server with the mocktikv storage engine, and no pd or tikv. Mocktikv is based on goleveldb, which is much slower than TiKV (5x in my tests), but it is useful for development environments to test TiDB compatibility. For production, it will always be recommended to use TiKV.

May I ask which platform you are interested in?

@morgo morgo added the type/enhancement The issue or PR belongs to an enhancement. label Feb 8, 2019
@ghost
Copy link
Author

ghost commented Feb 8, 2019

That's good news.
Why goleveldb and not badger though? Doesn't that require cgo?

@morgo
Copy link
Contributor

morgo commented Feb 8, 2019

Badger support may be added in the future.

Goleveldb is a port to Go, and doesn't require cgo. The test-suite currently uses TiDB without tikv or pd, so most of the work is already done. It still requires packaging and misc bug fixes such as #8836 and #8886

@ghost ghost closed this as completed Feb 8, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant