Details
Assignee
Michael OffnerMichael OffnerReporter
Jamie JacksonJamie JacksonPriority
MinorLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Jamie Jackson
Jamie JacksonPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Created 6 January 2020 at 16:27
Updated 25 November 2022 at 22:12
Looking at FusionReactor, `directoryList(inboundPath, false, "query")` results in two GET requests to the S3 API.
Time
Date
HTTP
Ex. Time
URI
10:27:42.906
01/06/2020
HTTPClient/GET
2.49s
https://files.mysite.com.s3.amazonaws.com:443/?max-keys=10&prefix=private/reports/inbound&delimiter=,
10:27:47.593 AM
01/06/2020
HTTPClient/GET
4.66s
https://files.mysite.com.s3.amazonaws.com:443/?max-keys=1000&prefix=private/reports/inbound&delimiter=,
Performance can get get especially bad for large buckets with lots of files. (It doesn't matter if the folder/prefix, itself, is empty; S3 must have to deal with all files and whittle them down with the prefix filter.) I have seen each request of the pair take 8 seconds a piece.
There's probably nothing to be done about the performance of a single API call, but why does Lucee perform two calls when I can accomplish the same with one?