Comment by petters

Comment by petters 2 days ago

3 replies

Jellyfin is mostly for a single household, right? Sqlite should be much more than sufficient for Jellyfin (if used correctly). Unfortunately, reading this article you get the impression that they are not using it optimally

nick_ 2 days ago

Agreed. How can a media file sharing app possibly saturate Sqlite's write limit? I would use an app-level global lock on all writes to Sqlite.

  • npodbielski a day ago

    Probably during scanning libraries? They read hundreds of files and for each of them look for metadata in the internet like discogs and similar. So sure if implemented as async in c# you could run into this issue.

    • nick_ 16 hours ago

      Are you hinting at the lack of an `AsyncLock` in .NET?