Skip to content

[meta] Speed up loading of schema #1079

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 of 2 tasks
kassens opened this issue Nov 3, 2017 · 1 comment
Closed
1 of 2 tasks

[meta] Speed up loading of schema #1079

kassens opened this issue Nov 3, 2017 · 1 comment

Comments

@kassens
Copy link
Contributor

kassens commented Nov 3, 2017

This is a meta issue tracking progress on significantly speeding up loading a schema from disk. There are multiple incremental steps that should get us there.

  • Split validation from instantiation. If we have a schema persisted on disk and know that we already validated it before, there's no reason to validate it *again• every time we want to load it (Split schema validation from instantiation #1080).
  • Change from classes to simple data objects that are manipulated and queried using functions. This would allow the schema to be persisted and loaded as a plain JSON object.

Note: This is still just a rough outline and there's likely more steps to get there including making sure this is an incremental change and doesn't break existing users unexpectedly.

@IvanGoncharov
Copy link
Member

Closing since, schema loading performance increased dramatically in recent years.
Also, there are no other reports about schema loading performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants