oss-aspen / 8Knot

Dash app in development to serve open source community visualizations using GitHub data from Augur. Hosted app: https://eightknot.osci.io
MIT License
51 stars 60 forks source link

Web server slows down dramatically when Augur isn't available #392

Open JamesKunstle opened 1 year ago

JamesKunstle commented 1 year ago

If 8Knot instance is connected to Augur (it's booted, and a connection can be established) but it takes a long time to receive responses from Augur, the web server slows down dramatically and becomes non-functional.

One idea for why this happens: the number of clients firing requests to the web server is overwhelming. On a given 8Knot page there are many subcomponents that make individual HTTP requests to the backend for each figure and metric. If those requests aren't receiving responses the number of queued responses goes up, and the web server becomes overwhelmed.