Git Product home page Git Product logo

Comments (4)

ppodolsky avatar ppodolsky commented on July 28, 2024 1

@fereidani Hola! I was experimenting with kanal and tried to use it as a drop-in replacement for crossbeam_channel (in my fork of Tantivy search library) and flume (in Iroh, IPFS implementation in Rust). Highly likely it is me doing something wrong, but I didn't manage to make tests to pass, looks like them had been deadlocked.

I've created an exhibition PR for you, https://github.com/izihawa/tantivy/pull/16/files
where I've replaced channels. Before patch cargo test works, after patch - does not.

I'm not very experienced in all this stuff and not sure is it any helpful, but still hope you may dig something there

UPD.
Well, I've should paid more attention to documentation, oneshot in kanal behaves differently and it was a reason of blockings. Tantivy works well if I take bounded(1) instead of oneshot

from kanal.

fereidani avatar fereidani commented on July 28, 2024

Thanks for the report, I'm working on it.

from kanal.

fereidani avatar fereidani commented on July 28, 2024

Can you reproduce it on the stable branch or is it just on nightly?
Unfortunately, I can't reproduce this issue on my system in stable or nightly and it is making it hard to debug.
Are you sure that there is nothing wrong with your CI?

from kanal.

zzau13 avatar zzau13 commented on July 28, 2024

I can't play it on my machine. But CI with tokyo or async-oneshot works fine in 4 seconds. And the same implementation but with kanal gives this timeout of 2 minutes.

from kanal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.