fecgov / openFEC

The first RESTful API for the Federal Election Commission. We're aiming to make campaign finance more accessible for journalists, academics, developers, and other transparency seekers.
https://api.open.fec.gov/developers
Other
480 stars 106 forks source link

Research Application Timeout and Concurrency Settings #5756

Open tmpayton opened 8 months ago

tmpayton commented 8 months ago

What we’re after

We should research the different types of gevent workers and monkeypatching to improve the API.

Related ticket(s)

(Include the tickets that either came before, after, or are happening in tandem with this new ticket)

Action item(s)

(These are the smaller tasks that should happen in order to complete this work)

Completion criteria

(What does the end state look like - as long as this task(s) is done, this work is complete)

References/resources/technical considerations

(Is there sample code or a screenshot you can include to highlight a particular issue? Here is where you reinforce why this work is important)

patphongs commented 12 hours ago

How connection pooling in the CMS works. It may be similar concepts for the API.

Image

lbeaufort commented 11 hours ago

Also helpful: https://stackoverflow.com/a/69897243