4 Oct 22:57
MidCOM performance plan of action
Hi community, as especially Henri noticed, the current MidCOM development strain suffers from major performance problems. This mail intents to a) describe the sources of these problems and proposes b) both a short- and long-term roadmap how to solve these problems. A. Sources of MidCOM performance issues, in their probable order of "magnitude": 1. MidCOM Metadata framework (2.4 and previous implementation) This is the part currently slowing down MidCOM most. Simple benches done by Henri indicate that 2/3s of the runtime is lost here. The reason for this is quite simple actually: MidCOM Metadata is held in simple parameters, nothing that could be queried on the SQL level easily (especially as all of these parameters are optional). This means, that in every place where metadata is queried, we have at least three parameter selects (hide, schedule_start and schedule_end) in the default configuration which filters "hidden" objects. If you enable approval, another select is added to that list. Metadata is queried a) by NAP when building the NAP entry lists, b) by the MidCOM QueryBuilder wrapper on-site, which automatically includes this "filtering function" without you having to take care about it and c) in several pre 2.5 tech components, which add metadata checks manually in their view / NAP code. 2. MidCOM ACL system(Continue reading)
RSS Feed