Skip to content

PoC: Sqlite extension to spit out flexbuffers, in rust

License

Notifications You must be signed in to change notification settings

Buggaboo/flex_sqlite_rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flex_sqlite_rs

PoC: Sqlite3 extension to collect sql rows, and spit out flexbuffers, with rust

About

This is part of an experiment with sqlite3 extensions in rust and flex- and flatbuffers.

Conclusion

It seems that the base64 payload of flatbuffers are a lot larger than flexbuffers All we need now is a magic attribute that generates the packing and unpacking code for flexbuffers.

TODO

  • create dynamic sqlite3 aggregate function, that will use column names as keys
  • Create attribute to generate unpacking function for arbitrary columns
  • Benchmark flex vs flat packing speed
  • Benchmark flex vs flat unpacking speed

About

PoC: Sqlite extension to spit out flexbuffers, in rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published