Project

General

Profile

Actions

Feature #54651

closed

Caching Framework should allow to fetch multiple entries at once

Added by Stefan Neufeind almost 11 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
Start date:
2013-12-30
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Currently a backend can only provide get() for an identifier, a string. It might however be useful to fetch multiple entries in some go to speed up fetching, if that backend supports it.

If the backend has a maximum (for example sql-query-size with IN-statement) The backend-driver should to fetch elements in chunks.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #54652: Caching Framework should allow multiple backendsRejected2013-12-30

Actions
Actions #1

Updated by Mathias Schreiber almost 10 years ago

  • Target version set to 8 LTS
Actions #2

Updated by Christian Kuhn almost 10 years ago

  • Status changed from New to Rejected

Similar to to #54652, I also think this is not a really good idea. If a code needs to fetch tons of different entries from a cache backend and knows that it needs to fetch multiple entries, then it probably used a wrong strategy on set() and should have set() more data in one go.

A change like that may give some benefit on certain backends (eg. it would allow a combined OR clause in DB backend), but other backend would probably have a hard time to comply with such an interface change.

At the moment, I see no good real life use-case that would make us implement such a huge change that could not be done in the application code.

Please come up with real life use cases where this architectural change could systematically help the system to open this issue again.

Actions

Also available in: Atom PDF