[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#531523: ITP: libjio -- library for journaled I/O



Package: wnpp
Owner: Ryan Niebur <ryanryan52@gmail.com>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org

* Package name    : libjio
  Version         : 0.50
  Upstream Author : Alberto Bertogli (albertito@blitiri.com.ar)
* URL             : http://blitiri.com.ar/p/libjio/
* License         : Buena Onda License Agreement (v1.0)
  Programming Lang: C
  Description     : library for journaled I/O

To ensure reliability, some file systems and databases provide support for
something known as journalling. The idea is to ensure data consistency by
creating a log of actions to be taken (called a Write Ahead Log) before
committing them to disk. That way, if a transaction were to fail due to a
system crash or other unexpected event, the write ahead log could be used to
finish writing the data.

While this functionality is often available with networked databases, it can
be a rather memory- and processor-intensive solution, even where reliable
writes are important. In other cases, the filesystem does not provide native
journalling support, so other tricks may be used to ensure data integrity,
such as writing to a separate temporary file and then overwriting the file
instead of modifying it in-place. Unfortunately, this method cannot handle
threaded operations appropriately.

Thankfully, Alberto Bertogli published a userspace C library called libjio
that can provide these features in a small (less than 1500 lines of code)
library with no external dependencies.

-- 
_________________________
Ryan Niebur
ryanryan52@gmail.com

Attachment: signature.asc
Description: Digital signature


Reply to: