Ghost/ghost
Chris Raible d8b629c713
Added an optional timeout parameter to AdapterCacheRedis (#20131)
ref
https://linear.app/tryghost/issue/ENG-902/add-an-optional-timeout-in-the-redis-cache-adapter-in-case-redis

- Added an optional timeout parameter to AdapterCacheRedis, so that the
`get(key)` method will return `null` after the timeout if it hasn't
received a response from Redis
- When load testing the `LinkRedirectRepository` with the Redis cache
enabled on staging, we noticed that for some reason Redis stopped
responding to commands for ~30 seconds.
- The `LinkRedirectRepository` was waiting for the Redis cache to
respond and resulted in a drastic increase in response times for link
redirects
- This change will allow us to set a timeout on the `get(key)` method,
so that if Redis doesn't respond within the timeout, the method will
return `null` as if it were a cache miss.
- Then the `LinkRedirectRepository` will fall back to the database and
return the link redirect from the database instead of waiting
indefinitely for Redis to respond
2024-05-02 20:39:23 -07:00
..
adapter-cache-memory-ttl
adapter-cache-redis Added an optional timeout parameter to AdapterCacheRedis (#20131) 2024-05-02 20:39:23 -07:00
adapter-manager Update TryGhost packages 2024-05-01 17:01:41 +02:00
admin Revert "Added new member signup flow behind labs flag (#19986)" (#20130) 2024-05-02 13:02:32 -07:00
announcement-bar-settings
api-framework Update TryGhost packages 2024-05-01 17:01:41 +02:00
api-version-compatibility-service Fixed handling requests with mismatching version and missing key 2024-05-02 13:03:26 +02:00
audience-feedback Update TryGhost packages 2024-05-01 17:01:41 +02:00
bookshelf-repository
bootstrap-socket Update TryGhost packages 2024-05-01 17:01:41 +02:00
collections Update TryGhost packages 2024-05-01 17:01:41 +02:00
constants
core Added an optional timeout parameter to AdapterCacheRedis (#20131) 2024-05-02 20:39:23 -07:00
custom-theme-settings-service Update TryGhost packages 2024-05-01 17:01:41 +02:00
data-generator Update TryGhost packages 2024-05-01 17:01:41 +02:00
domain-events Update TryGhost packages 2024-05-01 17:01:41 +02:00
donations Update dependency typescript to v5.4.5 2024-04-16 09:08:58 +02:00
dynamic-routing-events
email-addresses Update dependency typescript to v5.4.5 2024-04-16 09:08:58 +02:00
email-analytics-provider-mailgun
email-analytics-service Update TryGhost packages 2024-05-01 17:01:41 +02:00
email-content-generator
email-events
email-service Update TryGhost packages 2024-05-01 17:01:41 +02:00
email-suppression-list
express-dynamic-redirects
external-media-inliner
extract-api-key
ghost Initial wire up of Posts -> Outbox flow 2024-04-25 11:10:17 +07:00
html-to-plaintext
i18n 🎨 update i18n for better fit (pt-br) (#20045) 2024-04-29 09:20:07 -04:00
importer-handler-content-files
importer-revue Update TryGhost packages 2024-05-01 17:01:41 +02:00
in-memory-repository Update TryGhost packages 2024-05-01 08:49:04 +02:00
job-manager Update TryGhost packages 2024-05-01 17:01:41 +02:00
link-redirects
link-replacer 🐛 Fixed unexpected conversion of single-quoted attributes in HTML cards (#19727) 2024-03-06 09:11:49 +00:00
link-tracking Update TryGhost packages 2024-05-01 17:01:41 +02:00
magic-link Update TryGhost packages 2024-05-01 17:01:41 +02:00
mail-events Update TryGhost packages 2024-05-01 17:01:41 +02:00
mailgun-client Update TryGhost packages 2024-05-01 17:01:41 +02:00
member-attribution Update TryGhost packages 2024-05-01 08:49:04 +02:00
member-events
members-api Revert "Added new member signup flow behind labs flag (#19986)" (#20130) 2024-05-02 13:02:32 -07:00
members-csv 🔒 Added escaping to member export CSV fields 2024-04-03 10:21:02 +02:00
members-events-service Update TryGhost packages 2024-05-01 17:01:41 +02:00
members-importer Update TryGhost packages 2024-05-01 17:01:41 +02:00
members-ssr Update TryGhost packages 2024-05-01 17:01:41 +02:00
mentions-email-report
milestones Update TryGhost packages 2024-05-01 17:01:41 +02:00
minifier Update TryGhost packages 2024-05-01 17:01:41 +02:00
model-to-domain-event-interceptor
mw-api-version-mismatch Update TryGhost packages 2024-05-01 17:01:41 +02:00
mw-cache-control
mw-error-handler Update TryGhost packages 2024-05-01 17:01:41 +02:00
mw-session-from-token Update dependency express to v4.19.2 [SECURITY] 2024-03-27 11:18:44 +01:00
mw-update-user-last-seen
mw-version-match Update TryGhost packages 2024-05-01 17:01:41 +02:00
mw-vhost
nql-filter-expansions
oembed-service Update TryGhost packages 2024-05-01 17:01:41 +02:00
offers Update TryGhost packages 2024-05-01 17:01:41 +02:00
package-json Update TryGhost packages 2024-05-01 17:01:41 +02:00
payments Update TryGhost packages 2024-05-01 17:01:41 +02:00
post-events
post-revisions
posts-service Update TryGhost packages 2024-05-01 17:01:41 +02:00
recommendations Update TryGhost packages 2024-05-01 17:01:41 +02:00
referrers
security Update TryGhost packages 2024-05-01 08:49:04 +02:00
session-service Update TryGhost packages 2024-05-01 17:01:41 +02:00
settings-path-manager Update TryGhost packages 2024-05-01 17:01:41 +02:00
slack-notifications Update TryGhost packages 2024-05-01 17:01:41 +02:00
staff-service Added email address alignment protections (#19094) 2023-11-23 10:25:30 +01:00
stats-service Update Types packages 2024-04-30 22:00:55 +02:00
stripe Update TryGhost packages 2024-05-01 17:01:41 +02:00
tiers Update TryGhost packages 2024-05-01 17:01:41 +02:00
update-check-service Update TryGhost packages 2024-05-01 17:01:41 +02:00
verification-trigger Update TryGhost packages 2024-05-01 17:01:41 +02:00
version-notifications-data-service Fixed handling requests with mismatching version and missing key 2024-05-02 13:03:26 +02:00
webmentions Update TryGhost packages 2024-05-01 17:01:41 +02:00
tsconfig.json