From: Pierre Neidhardt <mail@ambrevar.xyz>
To: Mathieu Othacehe <othacehe@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Cuirass logo - artwork.
Date: Sat, 09 Jan 2021 11:13:54 +0100 [thread overview]
Message-ID: <87bldy5sf1.fsf@ambrevar.xyz> (raw)
In-Reply-To: <87a6tjqoji.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1223 bytes --]
Mathieu Othacehe <othacehe@gnu.org> writes:
> At first I thought that all the performance issues we had were caused by
> unoptimized SQL queries. Turns out it was only half of the problem.
>
> As we have multiple processes accessing the database (cuirass,
> cuirass-web, cuirass-send-events and now remote-server), we are falling
> into the architecture model that is very badly supported by SQLite: many
> readers and many readers across several processes[1].
>
> I also noticed that SQLite doesn't handle I/O pressure on the hard drive
> the database is sitting on. I had to mount the database file on a tmpfs
> directory to get around this issue[2].
>
> Finally, SQLite doesn't offer any real monitoring solution, requires
> periodical vacuuming and is really hard to configure[3].
>
> As stated on SQLite website: "SQLite does not compete with client/server
> databases. SQLite competes with fopen()."
>
> I've been running Cuirass using a PostgreSQL database, and without any
> particular tuning everything works smooth, which makes me regret to have
> waited so long to leap the breach.
>
> Thanks for you interest,
Very interesting, thanks for sharing your experience. Worth a blog post
in my opinion ;)
Cheers!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]
next prev parent reply other threads:[~2021-01-09 10:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-08 9:31 Cuirass logo - artwork Mathieu Othacehe
2021-01-08 9:50 ` Pierre Neidhardt
2021-01-08 18:19 ` Mathieu Othacehe
2021-01-09 10:13 ` Pierre Neidhardt [this message]
2021-01-08 18:35 ` Jonathan Brielmaier
2021-01-08 19:26 ` Luis Felipe
2021-01-10 0:04 ` Luis Felipe via Development of GNU Guix and the GNU System distribution.
2021-01-10 15:24 ` Mathieu Othacehe
2021-01-10 15:47 ` Pierre Neidhardt
2021-01-10 18:15 ` Tobias Geerinckx-Rice
2021-01-10 22:14 ` Luis Felipe via Development of GNU Guix and the GNU System distribution.
2021-01-12 10:58 ` Mathieu Othacehe
2021-01-14 15:28 ` Luis Felipe via Development of GNU Guix and the GNU System distribution.
2021-01-14 16:26 ` Tobias Geerinckx-Rice
2021-01-14 16:32 ` Tobias Geerinckx-Rice
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bldy5sf1.fsf@ambrevar.xyz \
--to=mail@ambrevar.xyz \
--cc=guix-devel@gnu.org \
--cc=othacehe@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.