Python Forum
libmdbx, prod-ready fork of LMDB: someone can wrap it for python?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
libmdbx, prod-ready fork of LMDB: someone can wrap it for python?
#1
LMDB is awesome key-value in-disk db with lightning read speed and good write speed.
But as you know, it have some problems for using in production - for example problems with data corruption if app closed on sync stage. Or another problem - fixed size of db and big troubles if you need to resize it.

I finded interesting prod-ready fork of LMDB, that fix main problems and have some additionals features.
https://github.com/leo-yuriev/libmdbx
It looks like very impressive work and solution.

But it don't have bindings to any langs.
Maybe someone can and want to wrap it for Python?
Reply
#2
(Jun-18-2018, 02:34 PM)genryrar Wrote: [...] prod-ready [...] don't have bindings to any langs. Maybe someone can and want to wrap it for Python?
How can it be prod-ready if there are no language bindings? That doesn't sound tested. Would probably be hard to get people to volunteer to write the very first language bindings for something when it might turn out it's not useful to anyone.
Reply
#3
(Jun-18-2018, 07:18 PM)micseydel Wrote: How can it be prod-ready if there are no language bindings?
emm? it C lib. as i know their main project also on CPP so they just use it "as-is".

(Jun-18-2018, 07:18 PM)micseydel Wrote: when it might turn out it's not useful to anyone
ofc embedded key-value storages needed only for specific cases
Reply
#4
Just an FYI, there are a lot of packages written for LMDB in python, perhaps one of these will have some of the functionality you are looking for, see: https://pypi.org/search/?q=LMDB
Reply
#5
(Jun-18-2018, 11:26 PM)Larz60+ Wrote: Just an FYI, there are a lot of packages written for LMDB in python
Sorry mate, you not correct in this. All this projects use same binding py-lmdb (which have now problems with maintenance) and nothing more. LMDB is cool but it have few important problems. This is what i'm saying about...
Reply
#6
(Jun-18-2018, 07:18 PM)micseydel Wrote:
(Jun-18-2018, 02:34 PM)genryrar Wrote: [...] prod-ready [...] don't have bindings to any langs. Maybe someone can and want to wrap it for Python?
How can it be prod-ready if there are no language bindings? That doesn't sound tested. Would probably be hard to get people to volunteer to write the very first language bindings for something when it might turn out it's not useful to anyone.

MDBX used by:
- https://github.com/PositiveTechnologies/libfpta with itself python bindings, but it is not an OpenSource.
- https://github.com/leo-yuriev/ReOpenLDAP
- https://github.com/miranda-ng/miranda-ng
- https://github.com/dreamsxin/cphalcon7
- https://github.com/castortech/mdbxjni
- https://github.com/pmwkaa/ioarena
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Chinese coding language ‘Mulan’ found to be Python fork buran 0 1,715 Jan-22-2020, 04:30 AM
Last Post: buran
  word wrap text output Skaperen 2 2,106 Dec-17-2019, 07:47 AM
Last Post: michael1789
  multiprocessing: when does fork really happen? Skaperen 0 1,322 Oct-28-2019, 10:03 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020