Multiple aiohttp Application()'s running in the same process? : <p>Can two <code>aiohttp.web.Application()</code> objects be running in the same process, e.g. on different ports?</p>

<p>I see a bunch of examples of aiohttp code like:</p>

<pre><code>from aiohttp import web
app = web.Application()
app.router.add_get('/foo', foo_view, name='foo')
web.run_app(app, host='0.0.0.0', port=10000)
</code></pre>

<p>I'm wondering if there's some equivalent where multiple <code>web.Applications()</code> can be configured to run at the same time. Something like:</p>

<pre><code>from aiohttp import web
app1 = web.Application()
app1.router.add_get('/foo', foo_view, name='foo')
app2 = web.Application()
app2.router.add_get('/bar', bar_view, name='bar')
# This is the wishful thinking code:
web.configure_app(app1, host='0.0.0.0', port=10000)
web.configure_app(app2, host='0.0.0.0', port=10001)
web.run_apps()
</code></pre>

<p>My use case is that I have an existing python web framework that does this kind of thing, and I'm building a prototype that's analogous in python 3.6 with aiohttp.</p>

<p>I understand that multiple python servers can run behind e.g. nginx (see also <a href="http://aiohttp.readthedocs.io/en/stable/deployment.html" rel="noreferrer">http://aiohttp.readthedocs.io/en/stable/deployment.html</a>); that's not what I'm after. I want to explore the possibility of two aiohttp web servers with the same asyncio event loop, running in the same python process, serving on two different ports.</p>
