You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When enrolling 1000 agents, Performing HTTP request validation is accounting for approximately 8% of the total CPU time.
@kbn/config-schema rely on Joi that is the most performance oriented library, we should probably use something else for validating Fleet request (enroll, ack, and checkin)
@kobelb@jfsiii both io-ts and ajv are already dependencies in Kibana, do you have any experiences or recommendation of using one or the other?
The text was updated successfully, but these errors were encountered:
nchaulet
changed the title
[Ingest Manager] Do not @kbn/config-schema
[Ingest Manager] Do not use @kbn/config-schema to validate Fleet request
Aug 31, 2020
One drawback is that we can't currently[1] send the schema we have in the OpenAPI spec. However, I think even the current differences between the two might not matter for our simple case (iiuc).
Description
When enrolling 1000 agents, Performing HTTP request validation is accounting for approximately 8% of the total CPU time.
@kbn/config-schema
rely on Joi that is the most performance oriented library, we should probably use something else for validating Fleet request (enroll, ack, and checkin)@kobelb @jfsiii both
io-ts
andajv
are already dependencies in Kibana, do you have any experiences or recommendation of using one or the other?The text was updated successfully, but these errors were encountered: