avro-util icon indicating copy to clipboard operation
avro-util copied to clipboard

Limit of total number of generated (de)serializer

Open volauvent opened this issue 5 years ago • 0 comments

Currently, there is no limit of the total number of de/serializer classes fast-avro could generate and load during runtime. So, the generated code may saturate the application code cache if there are too many schemas, and it might cause GC issues.

We can set a hard-limit or leverage a LRU cache to limit the maximum number of de/serializer classes that can be loaded during runtime.

volauvent avatar May 12 '20 04:05 volauvent