Aitozi opened a new pull request, #20397:
URL: https://github.com/apache/flink/pull/20397
… functions
## What is the purpose of the change
This PR is meant to improve the performance of the built in json functions.
The default `LRUCache` used in the JsonPath CacheProvider heavily use the lock
which bring the bad performance.
## Brief change log
- Create a new `JsonPathCache` and set it to the `CacheProvider` when load
the class
## Verifying this change
The functionality is covered by the existing tests. I have not written a
performance test for it, If needed, I will add one. I manually test the case
with the production job, which will have 2~4 times performance improvement.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (no)
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: (no)
- The serializers: (no)
- The runtime per-record code paths (performance sensitive): (no)
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
- The S3 file system connector: (no)
## Documentation
- Does this pull request introduce a new feature? (no)
--
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]