Top Banner
11

ReOpenLDAP – through the thorns to the stars. LDAPCON-2017

Jan 22, 2018

Download

Software

Leonid Yuriev
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: ReOpenLDAP – through the thorns to the stars. LDAPCON-2017
Page 2: ReOpenLDAP – through the thorns to the stars. LDAPCON-2017

6 districts, 247

Workload: W10К, R50K

Replication: 44 Full-mesh

Size: 100M DNs, 100Gb

Page 3: ReOpenLDAP – through the thorns to the stars. LDAPCON-2017

20

13 Company "XYZ" implementing NGDR:

- UDR, 3GPP 23.335- the Central repository for a "services"

OpenLDAP chosen:- the Performance (LMDB)- the Multi-master replication

Troubles and facepalm:- DB corruptions, slapd segfaults- No SLA guarantee from Symas Corp

20

14

Page 4: ReOpenLDAP – through the thorns to the stars. LDAPCON-2017

20

14

Q4

Couple of LMDB bugs

«Dreamcatcher»and LIFO

~5000 warnings,etc…

20

15

ReOpenLDAP

Eliminated the most of segfaults

+ memcheker+ iddqd, idkfa+ backtrace

+ biglock+ fast refresh+ etc...

20

16

Multi-master replication

Tests less-flaking

+ syncprov-showstatus, etc…

+ new configure

+ server-side keepalive, etc…

Two years

Page 5: ReOpenLDAP – through the thorns to the stars. LDAPCON-2017
Page 6: ReOpenLDAP – through the thorns to the stars. LDAPCON-2017
Page 7: ReOpenLDAP – through the thorns to the stars. LDAPCON-2017

TLDR; Some meditation is needed…

Page 8: ReOpenLDAP – through the thorns to the stars. LDAPCON-2017

• Removal of 5000 warnings,and so on…

a lot of Changes

• LIFO for Write-Back cache,and so on…

Decisionfreedom

• Returning an improvements• Code review and testing

stillOpen source

Page 9: ReOpenLDAP – through the thorns to the stars. LDAPCON-2017
Page 10: ReOpenLDAP – through the thorns to the stars. LDAPCON-2017

• Release a new MDBX (incompatible)• New storage backed for it

libmdbx

• Refactoring, a lot of…• Fix all Coverity™ issues

Perfectionism

• For all common Linux distros• Especially: AltLinux and E2K “Elbrus”

Packaging

• Comparative tests of replication• Performance benchmarking

Compete

Page 11: ReOpenLDAP – through the thorns to the stars. LDAPCON-2017

Leonid Yuriev <[email protected]>,

lead of ReOpenLDAP

Since September 2016:Positive Technologies,Advanced Research, Lead «Shaman»

Formerly:Perter-Service R&D, Infowatch, Cronyx

https://github.com/leo-yuriev/libmdbx

https://github.com/leo-yuriev/ReOpenLDAP

LDAPCON-2017