Giter VIP home page Giter VIP logo

Comments (4)

k911 avatar k911 commented on May 18, 2024

Hi, TBH I don't know how we could solve issue. Personally, I've not used doctrine resettable bundle so I cannot help you. I've only used this https://github.com/k911/swoole-bundle/blob/develop/src/Bridge/Doctrine/ORM/EntityManagerHandler.php and it was enough for my purposes. Currently, I'm not using any of this so either you can contact pixelfederation or use some other approach like this: https://github.com/swoole/swoole-src#mysql

from swoole-bundle.

fd6130 avatar fd6130 commented on May 18, 2024

Hi, TBH I don't know how we could solve issue. Personally, I've not used doctrine resettable bundle so I cannot help you. I've only used this https://github.com/k911/swoole-bundle/blob/develop/src/Bridge/Doctrine/ORM/EntityManagerHandler.php and it was enough for my purposes. Currently, I'm not using any of this so either you can contact pixelfederation or use some other approach like this: https://github.com/swoole/swoole-src#mysql

How can i use the EntityManagerHandler? Just inject EntityManagerInterface instead? But i believe it will just the same as timeout when WRK test fetching a collection of data. But good thing is if i just fetching single data from database WRK got no timeout.

from swoole-bundle.

k911 avatar k911 commented on May 18, 2024
swoole:
    http_server:
        services:
            # see: \K911\Swoole\Bridge\Doctrine\ORM\EntityManagerHandler
            entity_manager_handler: true

I believe because you already have it configured you either need to uninstall other bundle or turn off this service - I think you shouldn't use both at the same time.

from swoole-bundle.

fd6130 avatar fd6130 commented on May 18, 2024

I uninstalled the other bundle but unfortunately the test result still the same. I got no timeout when i fetch single data from database but timeout when fetching all data from database in wrk test.

from swoole-bundle.

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.