vipyrsec / dragonfly-mainframe

The mainframe for Dragonfly
https://docs.vipyrsec.com/dragonfly-mainframe/
MIT License
5 stars 1 forks source link

Get package metadata from PyPI concurrently #208

Closed jonathan-d-zhang closed 6 months ago

jonathan-d-zhang commented 6 months ago

What?

In our POST /batch/package endpoint, we request data synchronously, which is not great. This should be done concurrently.

Why?

We would gain a O(N) speedup.

How?

A threadpool.