이 페이지에서는 버전 업그레이드 작업 중 Memorystore for Memcached 인스턴스의 동작, 업그레이드 작업이 애플리케이션에 미치는 영향, 업그레이드 작업을 실행해야 하는 시기를 설명합니다. 인스턴스의 Memcached 버전을 업그레이드하는 방법은 인스턴스의 Memcached 버전 업그레이드를 참고하세요.
인스턴스를 업그레이드하면 애플리케이션의 성능 및 저장용량에 영향을 줄 수 있습니다.
인스턴스의 Memcached 버전 업그레이드 권장사항
업그레이드 작업으로 인한 전체 캐시 플러시의 영향을 최소화하려면 인스턴스 트래픽이 적은 기간 동안 인스턴스를 업그레이드하세요. 인스턴스 트래픽을 모니터링하는 방법은 Memcached 인스턴스 모니터링을 참고하세요.
버전 업그레이드 동작
Memcached 인스턴스는 버전 업그레이드 작업 중 완전한 캐시 플러시를 거칩니다. 멀티 노드 인스턴스는 업그레이드 작업 중에 부분적으로 사용할 수 있습니다. 업그레이드된 후에는 인스턴스를 이전 버전으로 다운그레이드할 수 없습니다.
또한 업그레이드 작업을 수행하면 노드가 몇 분 이내의 짧은 연결 재설정을 거칩니다. 애플리케이션에서 코드에 재시도 로직을 통합해야 노드에 다시 연결할 수 있습니다. 검색 엔드포인트와 memcached 노드 엔드포인트는 동일하게 유지됩니다.
단기 연결 중단으로 인해 Memcache 노드를 사용할 수 없는 짧은 시간 동안 캐시에 쓰거나 업데이트하지 않은 소량의 비활성 데이터나 일관성이 없는 데이터가 있을 수 있습니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-05(UTC)"],[],[],null,["# About upgrading the Memcached version of an instance\n\nThis page describes how your Memorystore for Memcached instance behaves during a version\nupgrade operation, how an upgrade operation can affect your application, and\nwhen you should run an upgrade operation. To learn how to upgrade an instance's\nMemcached version, see [Upgrade the Memcached version of an instance](/memorystore/docs/memcached/upgrade-memcached-version).\n\nUpgrading an instance has performance and storage implications for your\napplication.\n\nBest practices for upgrading an instance's Memcached version\n------------------------------------------------------------\n\nUpgrade your instance during periods of low instance traffic to minimize the impact of the full cache flush caused by the upgrade operation. To learn how to monitor instance traffic, see [Monitor Memcached instances](/memorystore/docs/memcached/monitor-instances).\n\nVersion upgrade behavior\n------------------------\n\nThe Memcached instance undergoes a complete cache flush during a version upgrade operation. Multi-node\ninstances are partially available during the upgrade operation. You cannot downgrade the instance to an earlier version once it has been upgraded.\n\nAn upgrade operation also causes the nodes to undergo a short connection reset of a couple minutes, or less. Applications should incorporate retry logic in the code to be able to reconnect to the nodes. The discovery endpoint and memcached node endpoints remain the same.\n\nBecause of the short term connection break, there may be a small amount of stale or inconsistent data that didn't write or update to the cache for the short amount of time the Memcached node was unavailable."]]