Migration to `trio`
See original GitHub issueThis issue serves as a starting point to discuss migrating from asyncio
to trio
.
trio
builds upon the insight gained from use of asyncio
across the Python ecosystem; in particular, it provides support for a structured approach to concurrency that enables the correct construction of large asynchronous programs.
A simple migration is to just replace use of asyncio
with the use of trio
.
A more complex, but possibly more useful path is to consider how we can abstract out the use of IO in py-libp2p
so that a client of the library can supply their own IO. Refer to this https://sans-io.readthedocs.io/ for more information on what I’m thinking here.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Complete Data Migration in Trios - Patterson Support
What to know about completing a Data Migration in TRIOS? Answer: Data transfer from TRIOS Classic (1.3.x.x, 1.4.x.x) to TRIOS 1.17.
Read more >The Rho guanine nucleotide exchange factor Trio is required ...
Here, we show that Trio is required for Xenopus cranial neural crest (NC) cell migration and cartilage formation. Trio cell-autonomously ...
Read more >RhoGEF Trio Regulates Radial Migration of Projection ...
Trio promoted the radial migration via its GEF1 and GEF2 domains in the different Rho GTPase signaling pathways. Our study on the function...
Read more >Knockdown of Trio by CRISPR/Cas9 suppresses migration ...
Triple functional domain protein (Trio) is an evolutionarily conserved protein with guanine nucleotide exchange factors that regulate ...
Read more >TRIO & Migrant Programs
TRiO and Migrant Programs offer six innovative, federally-funded, student-centered programs designed to meet the needs of traditionally underrepresented ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also worth considering using this: https://github.com/python-trio/trio-asyncio
@ShadowJonathan we are 👍 to going this direction, but we may take a bit of a pragmatic first step towards getting it working with trio first since full io abstraction is a more complex piece of work and is likely to take more thought and effort. At present this library is primarily used in trinity codebase and the two are being developed together.
I suspect this is something that we’ll entertain focusing on in the 6-12 month timeline.