10/08/2022, 12:13 AM
Are you caching the feature definitions json?
10/08/2022, 12:16 AM
Yes, with an in-memory database
10/08/2022, 12:17 AM
that should be really fast
10/08/2022, 12:21 AM
It actually is. Just wondering if someone comes up with something better than calling
in every request
10/08/2022, 2:16 AM
There is a
method you can use at the end of the request to release some memory back. The instances are extremely lightweight. It's technically possible to reuse instances, but usually not worth the complexity.