client friendly iterator API to reduce size of sended transfered data
In the current implementation of the DBus API there are cases where the engine sends thousands of items over dbus to the client at once. In most cases the client is not interested to present this data at once, but in small chunks. It would be an improvement if the zeitgeist engine could provide a API method to send out data in smaller chunks, an iterator or pagination API.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Superseded
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Mikkel Kamstrup Erlandsen
Related branches
Related bugs
Sprints
Whiteboard
We decided on IRC a while back to go with a paging API instead to start out with, client side libs can expose iterators that does paging transparently. The DBus iterators API is more suited if one wants to pull massive amounts of data out of Zg in a sequential fashion.
If the need for massive sequential data retrieval from Zg ever arrises we will reevaluate this
Work Items
Dependency tree
* Blueprints in grey have been implemented.