Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 544d558e authored by paugier's avatar paugier
Browse files

Add IO bounded in parallel

parent e160c46a
......@@ -40,6 +40,53 @@
"- IO bounded (wait for IO)"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [
"## Different parallel strategies"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "-"
}
},
"source": [
"### IO bounded: one process + `async`/`await`\n",
"\n",
"<p class=\"small\"><br></p>\n",
"\n",
"Cooperative concurrency\n",
"\n",
"<p class=\"small\"><br></p>\n",
"\n",
"Functions able to pause\n",
"\n",
"<p class=\"small\"><br></p>\n",
"\n",
"`asyncio`, [`trio`](https://trio.readthedocs.io)"
]
},
{
"cell_type": "raw",
"metadata": {
"slideshow": {
"slide_type": "-"
}
},
"source": [
"<div align=\"middle\">\n",
"<img src=\"./fig/logo_trio.png\" style=\"width: 15%\">\n",
"</div>"
]
},
{
"cell_type": "markdown",
"metadata": {
......@@ -164,7 +211,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.2"
"version": "3.7.3"
}
},
"nbformat": 4,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment