#1368 Archive cleanup doubles number of storage access

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