Giter Club home page Giter Club logo

Comments (4)

pezipink avatar pezipink commented on May 18, 2024

I think we can probably fix most of these issues by making the various dictionaries into concurrent ones. It seems best to aim for being able to share a context with multiple threads. (May even be able to look at making the dictionaries static as well)

This is something on my to do list but I haven't got around to it yet. When I come to doing CRUD (soon) I will have to be a bit more careful, but for now the concurrent dictionaries should do the trick. Perhaps you could try it just in the MySQL one and see how we get on? Let me know of any other threaded problems you are having as well.

Cheers, Ross

from sqlprovider.

Frassle avatar Frassle commented on May 18, 2024

Well even simpler, I added locks around provider creating and the calls to GetColumns that were preloading the column data. Seems to of solved the immediate issue.

from sqlprovider.

Frassle avatar Frassle commented on May 18, 2024

I've removed my locks workaround and updated to the latest SQLProvider (with CRUD support) and have not seen any thread issues yet. It's probably ok to close this.

from sqlprovider.

pezipink avatar pezipink commented on May 18, 2024

I re-implemented your locks with the new architecture, however there are likely going to be be threading issues with the initial CRUD stuff so I am leaving this open for now.

from sqlprovider.

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.