#1368 Archive cleanup doubles number of storage access

Reporter Zash
Owner Zash
Stars ★ (1)
  • Status-Fixed
  • Milestone-0.11
  • Performance
  • Priority-Medium
  • Type-Defect
  1. Zash on

    The new archive expiry code records each unique username and date pair, each time a new message is added to the archive. Since the date only changes once per day, a lot of redundant writes are performed for data that is already there.

  2. Zash on

    A cache added in https://hg.prosody.im/trunk/rev/79ba2d709e72 for mod_mam and https://hg.prosody.im/trunk/rev/2c8f674b9243 for mod_muc_mam This should reduce most redundant writes to the cleanup map store

    • owner Zash
    • tags Milestone-0.11 Status-Fixed
  3. Zash on

    • tags Performance

New comment

Not published. Used for spam prevention and optional update notifications.