BSC / MSC volatile state / restart handling

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Michael Andersen mia at mob5g.net
Fri Oct 12 07:08:20 UTC 2018


Hi Harald,


>We explicitly don't want to use some kind of database system, as the VLR
>data needs to be accessed all over the code
>directly/synchronously/non-blockingly.  We cannot wait for it to be
>retrieved from somewhere.  That's what is done with HLR data.

Lightning Memory-Mapped Database
(https://en.wikipedia.org/wiki/Lightning_Memory-Mapped_Database) is designed
for exactly these requirements.

It gives non-blocking access to the data - directly in-memory. Yet it also
persists the data to disk in the background. So in case the software is
restarted, it can pick off exactly where it left its dataset.

LMDB is highly recommended.


BR,
Michael A





More information about the OpenBSC mailing list