Review main Abandoned

57972[WIP][TASK] ResourceStorage relies on index only

Andreas Kienast CR 0 V 0 Hard +501 −242 updated 11/05/18, 19:01

Commit message

To improve the performance of FAL, this patch aims to reduce the I/O
operations. The ResourceStorage will only communicate with the active
driver if absolutely necessary, in any other case the file index is the
single source of truth.

The ResourceStorage takes care of paging the results, sorting the records
and filtering unwanted entries now, which helps to slim down the
necessary code for drivers.

TODO:
- Add a backend AJAX route to re-index a folder on demand
- Check if paging logic can be completely removed from LocalDriver
- Check performance, EXT:filelist behaves slow
- Introduce a new interface for drivers, mark the DriverInterface as
  deprecated to cope with the internal changes
- Long term: Split interface into a WritableInterface and a
  ReadableInterface

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Files 15