Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy 4.1.6 to Production #1908

Merged
merged 21 commits into from
Aug 16, 2023
Merged

Deploy 4.1.6 to Production #1908

merged 21 commits into from
Aug 16, 2023

Conversation

keithbauer
Copy link
Contributor

No description provided.

keithbauer and others added 21 commits June 29, 2023 11:56
Now "Recently Added" is supported
Add search faceted urls to search results
This update introduces two configuration settings for our gunicorn server:

- `max_requests` Limits the number of total requests that can be handled by a single gunicorn worker. The gunicorn docs state this is intended to help limit effects of memory leaks
- `max_requests_jitter` This randomizes the exact number of requests to prevent multiple workers from being restarted simultaneously

The goal of this work is to hopefully limit memory consumption (which tends to run at 90% or greater in production) and to reduce the effect of `QueuePool` errors that result from long-running workers. At the current setting of 500 this should result in workers being restarted roughly every 45-60 minutes. This can be adjusted after review of effects on performance in QA (and production if no issues are raised in QA).
These values (500 and 50) should give us the desired performance in production.
…rkers

NOREF Limit requests handled by workers
OE-917 [fix] Set the original facet to active
Correctly set active search facet
@keithbauer keithbauer merged commit 0fe73db into nypl-deploy-production Aug 16, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants