Skip to content
Snippets Groups Projects
  1. Mar 28, 2022
  2. Aug 02, 2021
  3. Jun 15, 2021
  4. Jun 02, 2021
  5. Jun 05, 2018
  6. Dec 15, 2017
    • Eric Cano's avatar
      Created a connection pool in BackentRados. · bea89dd3
      Eric Cano authored
      The rados operations now round-robin on the contexts to spread the load.
      Modified the not yet used thread pool of BackendRados so it does not have its own context
      anymore.
      bea89dd3
  7. Oct 26, 2017
  8. Oct 20, 2017
  9. Oct 08, 2017
    • Eric Cano's avatar
      Partially replaced backoff with notifications in locks. · 012c10c0
      Eric Cano authored
      This commit only replaces backoff with notifications in exclusive locks, for validation
      with a multithreaded unit test. This proof of concept is considered as working, as the
      measured gap between a lock release and a lock take never exceeds ~1/4 of a second, with a typical
      release-lock gap in the few ms to few tens of ms.
      012c10c0
  10. Sep 25, 2017
  11. Jul 30, 2017
    • Eric Cano's avatar
      Revisited locking in BackendRados. · 600a5f06
      Eric Cano authored
      The locks in Rados have timeouts. They are needed in case a locker process dies without
      releasing its lock. As we have some contention in heavily loaded situations, it can happen
      that a process is till accessing objects while the lock is expired. To lessen the likeliness
      of this situation, the timeout has been increased from 10s to 60s.
      
      The backoff was ajusted using the MultithreadLockingInterface unit test, with printouts
      allowing to visually see the effect of the backoff strategy. The printouts are committed,
      but they are commented out.
      
      The same unit test was fized as it used to create an empty object, which is not supported
      anymore in order to be able to detect locking of non-existing objects (lock creates the object,
      but we detect non-existence as it is empty and re-delete it.
      
      This mechanism of empty object locking detection is also added to the async update of object
      as it was missing there (and the backoff has been added there too).
      600a5f06
  12. May 23, 2017
  13. May 09, 2017
  14. May 05, 2017
  15. Apr 28, 2017
  16. Dec 02, 2016
  17. Feb 12, 2016
  18. Nov 05, 2015
  19. May 29, 2015
  20. May 28, 2015
  21. May 20, 2015
  22. May 13, 2015
    • Eric Cano's avatar
      Reorganized the files in themes. · 9b5d1ed6
      Eric Cano authored
      middletier, itself separated in interface, SQLite, objectstore and
      shared tests.
      Moved all utilities (exceptions, threading...) to a shared utility
      directory.
      Created a single, shared unit test from all the scattered ones.
      9b5d1ed6
  23. May 08, 2015
  24. May 07, 2015
  25. Mar 04, 2015
  26. Mar 02, 2015
  27. Feb 27, 2015
  28. Feb 26, 2015
  29. Feb 25, 2015
  30. Feb 24, 2015
Loading