Skip to content

Bad performance of file tree with TYPO3 v11 and many files in bucket #124

@mmunz

Description

@mmunz

Version: aus_driver_amazon_s3 v1.12.1
TYPO3 v11.5.26
PHP: 8.2.3

We are in the progress of updating an instance from 10.4 to 11.5 and noticed some performance problems with this storage driver in v11.

We use an s3 bucket that has roughly 100000 files in it, each between some bytes to 40 MB size.

Loading the file tree in File List Module or File Browser is really slow.

Both read the file tree via an ajax request from /typo3/ajax/filestorage/tree/fetchData?token=xzy.

  • Without the s3 driver this request takes about 100ms. It then only loads fileadmin which holds about 200000 files.
  • With the s3 driver enabled the call will take almost 20s.

I haven't fully investigated this, but for now it seems to me that the file tree is build directly from S3 API requests instead of using data that should already be there in the sys_file table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions