Code Monkey home page Code Monkey logo

Comments (6)

freben avatar freben commented on June 1, 2024 1

Yep that p-limit should not be reentrant; it'll deadlock. PR is in ^

from backstage.

CiscoRob avatar CiscoRob commented on June 1, 2024 1

@freben you rock. Thank you!

from backstage.

awanlin avatar awanlin commented on June 1, 2024

Hi @CiscoRob, I think this is a lot like this one? #22139

from backstage.

CiscoRob avatar CiscoRob commented on June 1, 2024

@awanlin I saw that issue when I searched for "aggregated", but wasn't seeing the same behavior. At least in terms of sheer URL request length or 431 status response we're not getting that. Didn't know if they had another issue or symptom of the same problem.

Each request in the network requests are all status 200 from our side. None fail. Just hits 12 requests and stops.

from backstage.

CiscoRob avatar CiscoRob commented on June 1, 2024

I'm wondering if it's related to p-lint. I see the package set to version 3.1.x and latest for the package is 5.x. Some updates related to async context handling have been made through version 4 and 5. Seems to get hung up after it gets past its maximum concurrent level of 10.

Screenshot 2024-04-26 at 11 33 49 AM

We're using bottleneck in some parts of our implementation for doing complex lookups for data exports and I've seen similar behavior from other schedulers.

from backstage.

CiscoRob avatar CiscoRob commented on June 1, 2024

@awanlin I pulled Backstage source, checked out v1.26.0-next.1, and imported the plugins-org into my local Backstage instance.

I confirmed / verified the "hanging" behavior was present in my local portal with the package directly referenced. I then removed the limiter() from the plugin-orgs and everything worked.

Screenshot 2024-04-26 at 1 47 26 PM
plugins/org/src/components/Cards/OwnershipCard/useGetEntities.ts

The limiter is definitely the issue and seems to just ... hang after any call past the 10 maximum concurrent count. Leaves the async action as if it's still "loading" but it never responds.

from backstage.

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.