Architecture Repository/Patterns/CQRS

Wikimedia logo Wikimedia Architecture Repository
Home | Artifacts | Process | Patterns

CQRS

edit

Command-query responsibility segregation

Last updated: 2022-12-16 by APaskulin (WMF)
Status: v1 published March 2021

Summary

edit

Differentiating between reading and editing. In the PoV, the current structure inside of MediaWiki is left alone, it is the "trusted source". When changes happen in MW, the new system reacts by getting the necessary information and translating it into the canonical data model. This means the design works for reading but not for editing. If > 90% of the requests are for reads, can editing be a separate part of the system? We're looking at the editing workflow next.