kz930 commented on issue #9566: URL: https://github.com/apache/texera/issues/9566#issuecomment-7122584206
I profiled this locally. Each measurement used a freshly started computing unit and a 5-operator workflow, timing from clicking Run to the Running state. Each number is the average of 3 runs. The first run loads about 12.6k classes, while the second run loads about 50. Most of them come from the storage libraries (AWS SDK, Iceberg, Parquet), which are only loaded when the first run writes its results. | Setup | Click to Running | |---|---| | Baseline | 3.4 s | | A: warm up storage in a background thread at startup | 2.4 s | | B: AppCDS archive (JDK 17), no code change | 2.3 s | | A + B | 1.7 s | | Second run, for reference | 1.2 s | A writes and drops a temporary Iceberg table and makes one S3 call on every start. B needs an archive of about 200 MB built into the image, which changes the Dockerfile. Which direction would you prefer? I can open a PR for either. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
