#1368 Archive cleanup doubles number of storage access

Reporter Zash
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Status-Fixed
  • Priority-Medium
  • Milestone-0.11
  • Type-Defect
  • Performance
  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

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

    Changes
    • tags Performance

New comment

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