snowplow / iglu-scala-client

Scala client for Iglu schema registry
https://github.com/snowplow/iglu/wiki
Apache License 2.0
5 stars 13 forks source link

Cache the result of validating schemas #170

Closed istreeter closed 1 year ago

istreeter commented 3 years ago

The client's check method always validates the schema against jsonschema v4 before checking the data is valid against the schema. For a high volume application, with a small number of schemas, this means we are performing the same validation over and over again. We are already using caching in this lib, so makes sense to also cache this validation result.

istreeter commented 1 year ago

This got implemented via #207