Code Monkey home page Code Monkey logo

Comments (4)

dpineiden avatar dpineiden commented on September 25, 2024

I checked more the source code and...
The quamash loop has not 'create_connection' method, that is called after asyncio.open_connection is executed.
So maybe that is the origin of the error. The functionalitiy isn't implemented yet

from quamash.

harvimt avatar harvimt commented on September 25, 2024

So you have 2 event loops (one quamash and one rethinkdb)? That's going to cause issues if you try to share futures between 2 different loops.

from quamash.

harvimt avatar harvimt commented on September 25, 2024

Can you share a minimal executable code snippet to reproduce the behavior?

from quamash.

dpineiden avatar dpineiden commented on September 25, 2024

Hello.

RethinkDB can run over ant asyncio loop, given a 'loop' by keyword it select and runs the connection over that 'loop'.
I'm running a multiprocessing system in what a process runs with the quamash loop and uses rethinkdb to connect and obtain data.
You can use and check that with my repo:

DragonCharts
https://gitlab.com/pineiden/dragoncharts/tree/queuecontrol

File to create RethinkDB instance:
https://gitlab.com/pineiden/dragoncharts/blob/queuecontrol/dragoncharts/qtgui/interface.py
Lines 203 ..

Needs:

TaskTools
This module allows and independent loop for coroutines inside the event loop

https://gitlab.com/pineiden/tasktools

NetworkTools
This module provide a lot of functions or classes that are useful

https://gitlab.com/pineiden/networktools

RethinkDB

pip install rethinkdb

Some RethinkDB implementation tests
https://gitlab.com/pineiden/rethink_tests

ChartsModule
Plots many traces of gnss
http://www.mediafire.com/file/ugq5ylob9v2d3ow/gnss_traces.tar.gz

from quamash.

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.