8000 VelocyPack format · Issue #6 · fMeow/arangors · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

VelocyPack format #6

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. 8000

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
davechallis opened this issue Aug 30, 2019 · 8 comments
Open

VelocyPack format #6

davechallis opened this issue Aug 30, 2019 · 8 comments
Labels
enhancement New feature or request

Comments

@davechallis
Copy link

In case it's of any use/interest, I've started work on a Rust implementation of the VelocyPack format in Rust at: https://github.com/davechallis/rust-velocypack

It's currently got some basic serialization working, currently working on the deserialization part (it's got a long way to go with documentation, decent error messages etc. though of course).

It's implemented using serde, so should hopefully end up not being too painful to work with.

@fMeow
Copy link
Owner
fMeow commented Jun 24, 2020

Great! But how can I ask the server to send/receive data in velocy pack?

@fMeow fMeow added the enhancement New feature or request label Jun 24, 2020
@fMeow
Copy link
Owner
fMeow commented Jun 24, 2020

I find the documentation I need at velocystream. That's where to strat off.

@davechallis
Copy link
Author

Great, glad you found it, it took me a while to find those documents too.

In case it helps, I also used that document to create velocystream data structures in Rust too, here: https://github.com/davechallis/rust-velocystream

It's fairly minimal (this is all the code: https://github.com/davechallis/rust-velocystream/blob/master/src/lib.rs), but might save some time.

@fMeow
Copy link
Owner
fMeow commented Jun 27, 2020

Wow, thank you so much!

@inzanez
Copy link
Contributor
inzanez commented Sep 16, 2020

Just out of interest: I assume that supporting VelocyPack would bring performance boosts? Or is there more about it?

@fMeow
Copy link
Owner
fMeow commented Sep 17, 2020

I think VelocyPack can save network bandwidth to some extent.

@davechallis
Copy link
Author

@inzanez @fMeow yup, it's more compact and faster to serialise, but one of the big advantages is that ArangoDB itself can work with velocypack data internally without conversion, so it's much more efficient from the server side to consume/produce.

There's more detailed description on some of the advantages and design here: https://github.com/arangodb/velocypack#motivation

@inzanez
Copy link
Contributor
inzanez commented Sep 17, 2020

@davechallis Ok, that sounds quite nice. I will be happy to participate on the VelocyPack implementation if required. I guess we'd need a full implementation so that it could be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants
0