[Telepathy] thinking about a new log format for telepathy-logger

Cosimo Alfarano cosimo.alfarano at collabora.co.uk
Tue Mar 16 03:56:06 PDT 2010


On Tue, 2010-03-16 at 09:33 +1100, Danielle Madeley wrote: 
> To be honest, I think at most sqlite would be a low-level storage with
> pre-implemented searching.

Which is great.

Yesterday I was looking for a conversation I had with Ptlo (IIRC, sorry
if it wasn't him) about what to do and what to absolutely avoid using
sqlite.

My mention to transactions was about it, I remember that savepoints
(sqlite sobsitute for them) have limitations, which he explained but I
cannot find anymore. I'll contact him again.

A logger doesn't need to push loads of data at the same time. But it
might need instead to rollback. Currently we don't need it, though.

Ptlo made clear one thing (IRRC): don't use sqlite in a threaded
environment for writing, so we should adding some sort of queue before
add_message(), this was already in my plans anyway.

C.



More information about the telepathy mailing list