How does redis ACTUALLY solve file locking problems and speed up Nextcloud?

This page summarizes the projects mentioned and recommended in the original post on /r/NextCloud

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Nextcloud

    ☁️ Nextcloud server, a safe home for all your data

  • I'm not 100% sure on the specifics, but from a glance at the code (specifically DBLockingProvider), I think the performance concern with using database-backed locks is that the server is going to have to check the database to make sure that a lock is held by the current user every time a chunk is uploaded, which could become a lot of checks on a large server. I don't believe that the concern is with the overhead of actually inserting and deleting lock rows, since the database has to be updated every time a file is modified anyway.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts