Webviews can run in a different process as described here. How to run the same application in a separate process? Can I run different windows of the application in a different process?
Asked
Active
Viewed 257 times
0
-
Why would you need it? – Xan Apr 09 '15 at 13:13
-
If one window crash won’t affect the app or other windows. And I need run windows in parallel to increase the app productivity. – raciasolvo Apr 09 '15 at 13:25
-
The second one is, I think, a snake-oil argument: one process does not mean one thread. – Xan Apr 09 '15 at 13:26
-
Maybe you're right. In my application, each window work as single thread. I think, [Multi-process Architecture](http://blog.chromium.org/2008/09/multi-process-architecture.html) will help me to increase performance and stability. – raciasolvo Apr 09 '15 at 13:56
-
JavaScript is single-threaded. So each window WILL be a single thread from JS perspective. And being in separate processes is absolutely transparent to your app, so I don't see how you can gain anything. – Xan Apr 09 '15 at 13:57
-
Each window is some worker. In addition, Chrome (not JS) can perform some tasks in parallel. JavaScript Multi-threading topic is also very interesting. What about each app? In the end I can run the same application from different directories. But I don't like this idea. – raciasolvo Apr 09 '15 at 15:03
-
1There's an `
tag` currently in the dev channel only which allows you to run apps within apps.. not sure if you can run the same app though.. https://developer.chrome.com/apps/tags/appview – lostsource Apr 10 '15 at 15:48 -
@JosephPortelli, good news. Need to test this api. – raciasolvo Apr 11 '15 at 06:58