Skip to content
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

Move Apps to QuickJs VMs #18

Open
artem-v-shamsutdinov opened this issue Dec 26, 2022 · 0 comments
Open

Move Apps to QuickJs VMs #18

artem-v-shamsutdinov opened this issue Dec 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@artem-v-shamsutdinov
Copy link
Member

Right now Apps run in IFrames. And every iframe drags along with it a lot of framework code needed to make queries (and cross application queries) run. This won't scale once there are many AIRport apps (with maybe dozens if not hundreds loaded into memory at a time). A solution for this (and to better enforce security, which is even more important) is to extract just he App code and move it into a controlled QuickJs VM. The needed framework code will only be loaded once (with the core framework). This will also remove the need for async messaging between IFrames and for initialization of App metadata (including all referenced Apps) within the App IFrame isolates.

There result will be a more secure installation that runs with less RAM and CPU and scales much better.

@artem-v-shamsutdinov artem-v-shamsutdinov added the enhancement New feature or request label Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant