Implemented
1
Implement batched property fetching API for DAV plugins to optimize propfind performance
Source: nextcloud/server#54115 · opened by @salmart-dev
Description
Fetching property values one file at a time during PROPFIND is inefficient for properties requiring database or external queries. To address this, provide an API and plugin mechanism that enables property handlers to retrieve property values for nodes in a folder in a single, batched query during a PROPFIND.
What to implement
Extend the property retrieval mechanism so that plugins/property handlers can register a collection preload handler, which receives a collection to preload its children for the subsequent PROPFINDs.
Ensure the new API is opt-in and backwards compatible with existing per-node property handlers.
Goal
Reduce the number of database queries during PROPFIND requests, especially in large directories, leading to significant performance improvements in the DAV stack.
Fetching property values one file at a time during PROPFIND is inefficient for properties requiring database or external queries. To address this, provide an API and plugin mechanism that enables property handlers to retrieve property values for nodes in a folder in a single, batched query during a PROPFIND.
What to implement
Extend the property retrieval mechanism so that plugins/property handlers can register a collection preload handler, which receives a collection to preload its children for the subsequent PROPFINDs.
Ensure the new API is opt-in and backwards compatible with existing per-node property handlers.
Goal
Reduce the number of database queries during PROPFIND requests, especially in large directories, leading to significant performance improvements in the DAV stack.
No pledges yet. Be the first to back this.
Comments
Similar requests
Monitor and report apps doing per-file propfind discovery
0 votes · 0 comments
Delta propfind
1 vote · 0 comments
Provide permissions and ownerId in PUT request when uploading a new file
0 votes · 0 comments
Support custom properties in search API (WebDAV)
0 votes · 0 comments
Optimize plan for filecache search performance especially on Chinese text search
0 votes · 0 comments
No comments yet.