Giter Site home page Giter Site logo

orocksdb's Introduction

orocksdb's People

Contributors

chetmurthy avatar domsj avatar nholland94 avatar thegaram avatar vbmithr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

orocksdb's Issues

OPAM package should be updated

Commit 3ea7b69 added some files to an orocksdb installation.

The published OPAM package hasn't been updated to incorporate this change.

Can a new OPAM package be created so these changes are available via OPAM?

switch from ocamlbuild to oasis?

Hi, I noticed you're using ocamlbuild. I wondered if you'd be open to switching to oasis. I think I can reproduce the function of storing the git version in a file for the build, and don't see anything else that seems problematic in your myocamlbuild.ml file?

If you're OK with this, I can send you a PR.

Unable to run orocksdb

Hi guys!

I am new to ocaml and I wanted to run an application using orocksdb. I installed rocksdb with the script from the repo. After that I ran make build make install in orocksdb and everything was fine.
My project compiled too, but when I wanted to start it, I got the following error message:

Fatal error: exception Dl.DL_error("./main: undefined symbol: rocksdb_cache_create_lru")
Raised at file "src/ctypes-foreign-base/dl.ml", line 42, characters 20-44
Called from file "src/ctypes-foreign-base/ctypes_foreign_basis.ml", line 47, characters 19-47
Re-raised at file "src/ctypes-foreign-base/ctypes_foreign_basis.ml", line 49, characters 50-59
Called from file "rocks_options.ml", line 14, characters 6-94

I think, for some reason it is unable to find the required .so files

It is probably me, who messed up something, but couldn't find help yet. I hope it's ok, to ask here :)

OS: Ubuntu 16.04
Ocaml 4.06.0

Hacking together an ocaml-rocksdb interface based on the C++ API

Hi, I've been using orocksdb for a while, and needed access to more of the functions. In this case, specifically access to column-families, but I anticipate needing access to a lot more. Ctypes was ... looking daunting, and esp. b/c the RocksDB C API calls for the stuff i wanted to access involved a lot of memory-management. Seemed painful. But on the other hand, the C++ APIs were very clean, b/c they were done in the Google C++ style, and using STL containers. To make a long story short, I decided to write an "IDL compiler" against the C++ API, and it seems to have worked out really nicely.

https://github.com/chetmurthy/ocaml-cppffigen
https://github.com/chetmurthy/ocaml-rocksdb

I thought I'd show it to you because you might find it something you wish to adopt. Obviously I can completely understand why you might want to continue on the path you've already chosen, but I figured, it would only be collegial/friendly/polite to ask.

Please feel free to contact me at chetsky at gmail dot com if you'd like to discuss privately.

And of course, if you're at all interested in this tool, I'm happy to discuss changes you think would be useful.

Installing on Mac OS

Is there a fundamental reason this package requires linux? Or is it/could it be possible to provide Mac OS support?

beef up unit-tests, add more function

I'd like to beef up the unit-tests, add support to orocksdb for things like snapshots, etc. Is this something you'd like to merge into your repo, or should I fork?

Also, thank you for doing this work -- it's very nice. I would have used camlidl, and that would have been interminable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.