badger icon indicating copy to clipboard operation
badger copied to clipboard

Permission to bring changes upstream

Open manishrjain opened this issue 6 years ago • 5 comments
trafficstars

Hey guys,

You're doing some pretty interesting work on Badger. Kudos!

Curious: Are you guys using Badger at Pingcap?

Also, what license are your changes under? Can the Badger team bring back some of these optimizations that you have done, so we can improve Badger for all users?

Cheers, Manish (Badger author)

manishrjain avatar Jul 16 '19 23:07 manishrjain

@manishrjain

Thank you for your excellent project.

We use badger in an experimental project, not used in production yet.

The license is still APACHE LICENSE 2.0.

Of course, you can bring the optimizations back to the upstream, just reference our PR or commit link in the backport commit message would be enough.

coocood avatar Jul 17 '19 05:07 coocood

Thanks, we'll bring some of these optimizations back. If you can point us to the most important ones, that'd be very helpful.

How is Badger's performance in your experiments?

manishrjain avatar Jul 17 '19 23:07 manishrjain

@manishrjain The most important optimization is the SST format change and table iterator, merge iterator. The scan performance has improved multiple times, even faster than RocksDB.

coocood avatar Jul 18 '19 05:07 coocood

Nice. Pointers to some relevant commits?

manishrjain avatar Jul 18 '19 06:07 manishrjain

The initial fork picked this optimization https://github.com/dgraph-io/badger/pull/481

And then those are the related PRs, the earlier ones are more important.

https://github.com/coocood/badger/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aclosed+optimize

coocood avatar Jul 18 '19 06:07 coocood