question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Migration to `trio`

See original GitHub issue

This 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:open
  • Created 4 years ago
  • Reactions:6
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
ralexstokescommented, Jun 19, 2019

Also worth considering using this: https://github.com/python-trio/trio-asyncio

1reaction
pipermerriamcommented, Dec 2, 2019

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found