Amazon ElastiCache

References: AWS docs, sarc.io

What is ElastiCache?

  • Amazon ElastiCache๋Š” Cloud์—์„œ In-memory data store ๋˜๋Š” Cache ๋ฅผ ์†์‰ฝ๊ฒŒ ๋ฐฐํฌ, ์šด์˜ ๋ฐ ํ™•์žฅ ํ•  ์ˆ˜ ์žˆ๊ฒŒ ํ•ด์ฃผ๋Š” ์„œ๋น„์Šค์ด๋‹ค

  • Amazon ElastiCache๋Š” ๋” ๋Š๋ฆฐ disk ๊ธฐ๋ฐ˜ database์— ์ „์ ์œผ๋กœ ์˜์กดํ•˜๊ธฐ๋ณด๋‹ค๋Š”, ๋น ๋ฅธ ๊ด€๋ฆฌํ˜• In-memory data store์—์„œ ์ •๋ณด๋ฅผ ๊ฒ€์ƒ‰ํ•  ์ˆ˜ ์žˆ๋„๋ก ์ง€์›ํ•˜์—ฌ web application์˜ ์„ฑ๋Šฅ์„ ํ–ฅ์ƒ ์‹œํ‚จ๋‹ค

  • Aamazon ElastiCache๋Š” ๋‘ ๊ฐ€์ง€ Open Source In-memory Engine ์„ ์ง€์›ํ•œ๋‹ค

1. Redis

  • ๋น ๋ฅธ open source in-memory data store ๋ฐ caching

  • Redis ์šฉ Amazon ElastiCache๋Š” Redis ํ˜ธํ™˜ In-memory service๋กœ์„œ, Redis์˜ ๊ฐ„ํŽธํ•œ ์‚ฌ์šฉ์„ฑ ๋ฐ ๋Šฅ๋ ฅ๊ณผ ๋”๋ถˆ์–ด ๊นŒ๋‹ค๋กœ์šด application์— ํ•„์š”ํ•œ ๊ฐ€์šฉ์„ฑ , ์•ˆ์ •์„ฑ ๋ฐ ์„ฑ๋Šฅ ์„ ์ œ๊ณตํ•œ๋‹ค

  • ๋‹จ์ผ node์™€ ์ตœ๋Œ€ 15๊ฐœ์˜ ์ƒค๋“œ ํด๋Ÿฌ์Šคํ„ฐ๊ฐ€ ์ง€์›๋˜๋ฏ€๋กœ In-memory data๋ฅผ 3.55TiB ๊นŒ์ง€ ํ™•์žฅํ•  ์ˆ˜ ์žˆ๋‹ค

  • web, moile app, ๊ฒŒ์ž„, ๊ด‘๊ณ  ๊ธฐ์ˆ  ๋ฐ IoT ์™€ ๊ฐ™์€ ๊ณ ์„ฑ๋Šฅ ์‚ฌ์šฉ ์‚ฌ๋ก€์— ์ ํ•ฉํ•œ ์„œ๋น„์Šค๋‹ค

2. Memcached

  • ๋„๋ฆฌ ์ฑ„ํƒ๋œ memory caching system

  • ElastiCache๋Š” Memcached์™€ protocol์ด ํ˜ธํ™˜๋˜๋ฏ€๋กœ ๊ธฐ์กด Memcached ํ™˜๊ฒฝ์—์„œ ์‚ฌ์šฉ๋˜๋Š” ์ฃผ์š” ๋„๊ตฌ๊ฐ€ ElastiCache์—์„œ ๋ฌธ์ œ์—†์ด ์ž‘๋™ํ•œ๋‹ค

About ElastiCache

  • Amazon ElastiCache๋Š”

    • ์‹คํŒจํ•œ node๋ฅผ ์ž๋™์œผ๋กœ ๊ฐ์ง€ํ•œ ํ›„ ๊ต์ฒดํ•˜์—ฌ ์ž๊ฐ€ ๊ด€๋ฆฌํ˜• ์ธํ”„๋ผ์™€ ๊ด€๋ จ๋œ ์˜ค๋ฒ„ํ—ค๋“œ ๋ฅผ ์ค„์ด๊ณ ,

    • ๋ณต์›๋ ฅ์ด ๋›ฐ์–ด๋‚œ ์‹œ์Šคํ…œ์„ ์ œ๊ณตํ•˜์—ฌ

      • web site ๋ฐ application load ์‹œ๊ฐ„์ด ๊ธธ์–ด์ง€๊ฒŒ ํ•˜๋Š” database overload์˜ ์œ„ํ—˜์„ ์™„ํ™”ํ•œ๋‹ค

  • Amazon ElastiCache๋Š” Amazon CloudWatch์™€ ํ†ตํ•ฉํ•˜์—ฌ Redis ๋˜๋Š” Memcached node์™€ ๊ด€๋ จ๋œ ์ฃผ์š” ์„ฑ๋Šฅ ์ง€ํ‘œ์˜ ๊ฐ€์‹œ์„ฑ์„ ํ–ฅ์ƒ์‹œํ‚จ๋‹ค

  • Amazon ElastiCache์—์„œ๋Š” AWS Managed Console ์„ ์‚ฌ์šฉํ•˜์—ฌ ๋ช‡ ๋ถ„๋งŒ์— ์ธํ”„๋ผ์— In-memory ๊ณ„์ธต์„ ์ถ”๊ฐ€ํ•  ์ˆ˜ ์žˆ๋‹ค

Amazon ElastiCache for Redis

What is Amazon ElastiCache for Redis?

  • Amazon ElastiCache ๋Š” cloud ๋‚ด์—์„œ distributed in-memory data store ๋˜๋Š” cache environment ๋ฅผ ์„ค์ •, ๊ด€๋ฆฌ ๋ฐ ํ™•์žฅ ํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•˜๋Š” web service ์ด๋‹ค

    • ํ™•์žฅ ๊ฐ€๋Šฅํ•˜๊ณ , ๋น„์šฉ ํšจ์œจ์ ์ธ ๊ณ ์„ฑ๋Šฅ caching solution ์„ ์ œ๊ณตํ•œ๋‹ค

    • ๋ถ„์‚ฐ๋œ cache ํ™˜๊ฒฝ์˜ ๋ฐฐํฌ ๋ฐ ๊ด€๋ฆฌ์™€ ๊ด€๋ จ๋œ ๋ณต์žก์„ฑ์„ ํ•ด์†Œํ•  ์ˆ˜ ์žˆ๋‹ค

  • Redis ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ธฐ์กด application์€ ๊ฑฐ์˜ ์ˆ˜์ •ํ•˜์ง€ ์•Š๊ณ  ElastiCache ๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค

    • Application์—์„œ๋Š” ์‚ฌ์šฉ์ž๊ฐ€ ๋ฐฐํฌํ•œ ElastiCache node์˜ host name ๊ณผ port ๋ฒˆํ˜ธ ์— ๊ด€ํ•œ ์ •๋ณด๋งŒ ํ•„์š”ํ•˜๋‹ค

  • Redis ์šฉ ElastiCache ๋Š” ์ค‘์š”ํ•œ production ๋ฐฐํฌ๋ฅผ ์œ„ํ•ด ์„œ๋น„์Šค๋ฅผ ๋ณด๋‹ค ์•ˆ์ •์ ์œผ๋กœ ์ œ๊ณตํ•˜๊ธฐ ์œ„ํ•œ ์—ฌ๋Ÿฌ ๊ฐ€์ง€ ๊ธฐ๋Šฅ์„ ๊ฐ–์ถ”๊ณ  ์žˆ๋‹ค

Last updated