libmdbx 0.10.4 ya zo tare da haɓakawa daban -daban da gyaran kwari

Sakin na 0.10.4.akin karatu na XNUMX "Libmdbx" wanda a cikin duka, sama da canje -canje 160 da aka yi zuwa fayiloli 57, an ƙara ~ layin 5000 kuma an cire ~ 2500. Ga waɗanda ba su saba da libmdbx ba, ya kamata ku sani cewa wannan rukunin ɗakunan karatu ne waɗanda ke aiwatar da ƙaramin aiki, babban kayan aiki da aka saka a cikin mahimman ƙimar.

A tarihi, libmdbx babban aiki ne na LMDB DBMS kuma ya zarce wanda ya gabace shi cikin aminci, saitin fasali, da aiki. Idan aka kwatanta da LMDB, libmdbx yana ba da fifiko mai yawa akan ingancin lambar, kwanciyar hankali na API, gwaji, da bincike na atomatik. Ana ba da kayan aiki don tabbatar da amincin tsarin bayanan tare da wasu zaɓuɓɓukan dawo da su.

A fasaha, libmdbx yana ba da ACID, tsararren canjin canji, da karantawa ba tare da toshewa ba tare da sikelin layi a ƙasan. CPU. Yana goyan bayan haɗawa ta atomatik, sarrafa girman ma'aunin bayanai ta atomatik, da kimanta matsayin martaba. Tun daga 2016, Fositive Technologies ne ke tallafawa ayyukan kuma ana amfani da su a cikin samfuran su tun daga 2017.

Don libmdbx, ana ba da C ++ API, kazalika da dauri mai dacewa da Rust, Haskell, Python, NodeJS, Ruby, Go, Nim masu goyon baya. Don libfpta, bayanin API kawai a cikin fayil ɗin kanun labarai na C / C ++ yana samuwa a bainar jama'a.

Baya ga tallafawa Linux, Windows, MacOS, Android, iOS, FreeBSD, DragonFly, Solaris, OpenSolaris, OpenIndiana, NetBSD, OpenBSD da sauran tsarin jituwa POSIX.1-2008.

Babban sabbin fasali na libmdbx 0.10.4

A cikin wannan sabon sigar libmdbx 0.10.4 masu haɓakawa sun yi aiki don samun damar samar da ikon ginin da za a iya biya, Bugu da ƙari, an inganta gwaji kuma an tsawaita rubutun gwaji don bincika duk jihohin da ba na isomorphic na bishiyar shafi da abun cikin GC a cikin bayanan ba.

A cikin C ++ API an gyara sau ɗaya "babu" Ƙara ƙarin nauyi don "siginar :: goge ()" hanyar, Ana samun sauƙin aiwatar da buffers ta amfani da "std :: string" don tabbatar da daidaitawa (na yanzu don CLANG libstdc ++)

Bugu da kari, an kuma haskaka hakan an aiwatar da tabbataccen mataki tare da ƙarin jerin tabbatarwa don tabbatar da kwanciyar hankali a yayin lalacewar da gangan ga rumbun adana bayanai.

A gefe guda, an ba da haske cewa an inganta binciken abubuwan haɗin abubuwan da suka zama dole don LTO (haɓaka lokacin haɗin gwiwa) a cikin rubutun CMake, ban da cewa an ƙara yawan adadin masu karatu a lokaci guda zuwa 32.767 kuma aikin yana da inganta lokacin amfani da Valgrind da AddressSanitizer.

Game da gyaran kwaro waɗanda aka yi a cikin wannan sabon sigar, an ambaci waɗannan masu zuwa:

  • Kafaffen kwaro inda, a cikin mawuyacin yanayi, madauki / karo na iya faruwa yayin aiwatar da ma'amala. Masana a Positive Technologies sun gano matsalar yayin gwajin cikin gida na samfuran su.
  • Kafaffen koma baya a cikin datti shafi zube algorithm (zaɓin fitar da shafukan da aka gyara) wanda ke bayyana a cikin kuskuren kuskuren MDBX_PROBLEM yayin canza bayanai a cikin manyan ma'amaloli.
  • Kafaffen ƙaramin ƙalubale UndefinedBehaviorSanitizer da Abubuwan Binciken Murfin.
    Kafaffen tutar ciki da ba a amfani da shi na duba "P_DIRTY" akan shafukan da aka saka a cikin hotunan bayanan bayanai waɗanda tsoffin sigogin ɗakin karatu suka kirkira.
  • Kafaffen amfani da makullin SRW a cikin Windows lokacin aiki a cikin yanayin MDBX_NOTLS (ba tare da amfani da zaren ajiya na gida ba), tsayayyen bootid idan yanayin canjin lokaci ya canza, ingantaccen gano WSL1 da WSL2, ya ƙara ikon buɗe tushen 9 Tsarin bayanai ta amfani da DrvFS.

Finalmente idan kuna sha'awar ƙarin sani game da shi game da wannan sabon sigar, zaku iya bincika cikakkun bayanai A cikin mahaɗin mai zuwa.


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Kasance na farko don yin sharhi

Bar tsokaci

Your email address ba za a buga.

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

bool (gaskiya)