{"id":38696,"date":"2024-11-01T19:08:56","date_gmt":"2024-11-01T19:08:56","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=38696"},"modified":"2024-11-26T06:43:35","modified_gmt":"2024-11-26T06:43:35","slug":"django-%ec%84%9c%eb%b2%84%ea%b0%9c%eb%b0%9c-%eb%8b%a4%ec%96%91%ed%95%9c-%ec%ba%90%ec%8b%9c-%eb%b0%b1%ec%97%94%eb%93%9c-%ec%84%a4%ec%a0%95%ed%95%98%ea%b8%b0-memcached-redis-%eb%93%b1","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/38696\/","title":{"rendered":"DJango \uc11c\ubc84\uac1c\ubc1c, \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc \uc124\uc815\ud558\uae30 (Memcached, Redis \ub4f1)"},"content":{"rendered":"<article>\n<header>\n<p>\uc791\uc131\uc790: \uc870\uad11\ud615<\/p>\n<p>\ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c<\/p>\n<\/header>\n<section>\n<h2>1. \uce90\uc2dc\uc758 \ud544\uc694\uc131<\/h2>\n<p>\n            \uc6f9 \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0\uc11c \uc131\ub2a5\uc740 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uace0, \uc11c\ubc84 \uc790\uc6d0 \uc18c\ube44\ub97c \uc904\uc774\uae30 \uc704\ud574 caching\uc740 \ud544\uc218\uc801\uc785\ub2c8\ub2e4.<br \/>\n            \uce90\uc2dc\ub97c \uc0ac\uc6a9\ud558\uba74 \ub370\uc774\ud130\ubca0\uc774\uc2a4\ub098 \uc18c\uc2a4 \uc2dc\uc2a4\ud15c\uc5d0 \ub300\ud55c \uc694\uccad\uc744 \uc904\uc774\uace0, \uc774\uc804\uc5d0 \uc800\uc7a5\ub41c \uacb0\uacfc\ub97c \ube60\ub974\uac8c \ubc18\ud658\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n            \uc774\ub85c \uc778\ud574, \uc751\ub2f5 \uc2dc\uac04\uc774 \uc904\uc5b4\ub4e4\uace0 \uc11c\ubc84 \ubd80\ud558\ub3c4 \uac10\uc18c\ud569\ub2c8\ub2e4.\n        <\/p>\n<p>\n            Django\ub294 \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc\ub97c \uc9c0\uc6d0\ud558\uba70, \ub9e4\uc6b0 \uc720\uc5f0\ud55c \uce90\uc2dc \uc2dc\uc2a4\ud15c\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4.<br \/>\n            \uc774 \uae00\uc5d0\uc11c\ub294 Django\uc5d0\uc11c Memcached\uc640 Redis\uc640 \uac19\uc740 \uce90\uc2dc \ubc31\uc5d4\ub4dc\ub97c \uc124\uc815\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc0c1\uc138\ud788 \ub2e4\ub8e8\uaca0\uc2b5\ub2c8\ub2e4.\n        <\/p>\n<\/section>\n<section>\n<h2>2. Django\uc758 \uce90\uc2dc \ud504\ub808\uc784\uc6cc\ud06c \uac1c\uc694<\/h2>\n<p>\n            Django\uc758 \uce90\uc2dc \ud504\ub808\uc784\uc6cc\ud06c\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc7a5\uc810\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4:\n        <\/p>\n<ul>\n<li>\uace0\uc131\ub2a5: \uba54\ubaa8\ub9ac \uae30\ubc18 \uce90\uc2dc \uc2dc\uc2a4\ud15c\uc744 \uc0ac\uc6a9\ud558\uc5ec \ube60\ub978 \ub370\uc774\ud130 \uc811\uadfc\uc744 \uac00\ub2a5\ud558\uac8c \ud569\ub2c8\ub2e4.<\/li>\n<li>\uc720\uc5f0\uc131: \ub2e4\uc591\ud55c \uce90\uc2dc \uc218\ub2e8(Memory, Memcached, Redis \ub4f1)\uc744 \uc9c0\uc6d0\ud569\ub2c8\ub2e4.<\/li>\n<li>\ud655\uc7a5\uc131: \ud070 \uaddc\ubaa8\uc758 \ud504\ub85c\uc81d\ud2b8\uc5d0\uc11c\ub3c4 \uc720\uc6a9\ud558\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<p>\n            \uae30\ubcf8\uc801\uc73c\ub85c Django\ub294 \uce90\uc2dc\ub97c \uc124\uc815\ud558\uae30 \uc704\ud574 \ub450 \uac00\uc9c0 \ubc29\ubc95\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4:\n        <\/p>\n<ol>\n<li>\uc804\uccb4 \uce90\uc2dc \uc124\uc815<\/li>\n<li>\ubdf0 \ub808\ubca8 \uce90\uc2dc \uc124\uc815<\/li>\n<\/ol>\n<p>\n            \uc774\ub7ec\ud55c \uc124\uc815\uc744 \ud1b5\ud574 \uc0ac\uc6a9\uc790 \uc694\uccad\uc758 \uc77c\ubd80 \uacb0\uacfc\ub97c \uc800\uc7a5\ud558\uace0, \uc8fc\uae30\uc801\uc73c\ub85c \uac31\uc2e0\ud558\uc5ec \ubd88\ud544\uc694\ud55c \ub370\uc774\ud130\ubca0\uc774\uc2a4 \ucffc\ub9ac\ub97c \uc904\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n        <\/p>\n<\/section>\n<section>\n<h2>3. Memcached \uc124\uc815\ud558\uae30<\/h2>\n<h3>3.1 Memcached \uc124\uce58<\/h3>\n<p>\n            Memcached\ub294 \uba54\ubaa8\ub9ac \uae30\ubc18\uc758 \ubd84\uc0b0 \uce90\uc2dc \uc2dc\uc2a4\ud15c\uc73c\ub85c, \uc18d\ub3c4\uac00 \ube60\ub974\uace0 \uc0ac\uc6a9\uc774 \uac04\ud3b8\ud569\ub2c8\ub2e4.<br \/>\n            \uc124\uce58\ub97c \uc704\ud574\uc11c\ub294 \uc6b4\uc601\uccb4\uc81c\uc5d0 \ub530\ub77c \ub2e4\uc74c\uacfc \uac19\uc740 \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4.\n        <\/p>\n<pre><code>sudo apt-get install memcached<\/code><\/pre>\n<h3>3.2 Django\uc5d0\uc11c Memcached \uc124\uc815<\/h3>\n<p>\n            Django \ud504\ub85c\uc81d\ud2b8\uc5d0 Memcached\ub97c \uc0ac\uc6a9\ud558\ub824\uba74, settings.py \ud30c\uc77c\uc5d0\uc11c \uce90\uc2dc \uc124\uc815\uc744 \ucd94\uac00\ud574\uc57c \ud569\ub2c8\ub2e4.<br \/>\n            \uc544\ub798\ub294 Memcached\ub97c \uc0ac\uc6a9\ud558\ub294 \uc124\uc815 \uc608\uc81c\uc785\ub2c8\ub2e4:\n        <\/p>\n<pre><code> \n# settings.py\nCACHES = {\n    'default': {\n        'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',\n        'LOCATION': '127.0.0.1:11211',\n    }\n}\n        <\/code><\/pre>\n<h3>3.3 \ub370\uc774\ud130 \uce90\uc2f1 \uc608\uc81c<\/h3>\n<p>\n            \uce90\uc2dc\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc7a5\uace0\uc758 \ubdf0\uc5d0\uc11c \ub370\uc774\ud130\ub97c \uce90\uc2dc\ud558\ub294 \ubc29\ubc95\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.<br \/>\n            \uac04\ub2e8\ud55c \uc608\uc81c\uc5d0\uc11c \ud2b9\uc815 \uc0ac\uc6a9\uc790 \uc815\ubcf4\ub97c \uce90\uc2dc\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4:\n        <\/p>\n<pre><code>\nfrom django.core.cache import cache\nfrom django.shortcuts import render\nfrom .models import UserProfile\n\ndef user_profile(request, user_id):\n    # \uce90\uc2dc\uc5d0 \ub370\uc774\ud130\uac00 \uc788\ub294\uc9c0 \ud655\uc778\n    user_data = cache.get(f'user_profile_{user_id}')\n    \n    if not user_data:\n        # \uce90\uc2dc\uc5d0\uc11c \ub370\uc774\ud130\ub97c \ucc3e\uc9c0 \ubabb\ud558\uba74 DB\uc5d0\uc11c \uc870\ud68c\n        user_data = UserProfile.objects.get(id=user_id)\n        # \uce90\uc2dc\uc5d0 \ub370\uc774\ud130 \uc800\uc7a5 (5\ubd84 \ub3d9\uc548 \uc720\uc9c0)\n        cache.set(f'user_profile_{user_id}', user_data, timeout=300)\n    \n    return render(request, 'user_profile.html', {'user_data': user_data})\n        <\/code><\/pre>\n<\/section>\n<section>\n<h2>4. Redis \uc124\uc815\ud558\uae30<\/h2>\n<h3>4.1 Redis \uc124\uce58<\/h3>\n<p>\n            Redis\ub294 \ud0a4-\uac12 \uc800\uc7a5\uc18c\ub85c \uba54\ubaa8\ub9ac \uae30\ubc18\uc758 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc785\ub2c8\ub2e4. \uc124\uce58\ub294 \ub2e4\uc74c \uba85\ub839\uc5b4\ub85c \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n        <\/p>\n<pre><code>sudo apt-get install redis-server<\/code><\/pre>\n<h3>4.2 Django\uc5d0\uc11c Redis \uc124\uc815<\/h3>\n<p>\n            Django\uc5d0\uc11c Redis\ub97c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574 django-redis \ud328\ud0a4\uc9c0\ub97c \uc124\uce58\ud574\uc57c \ud569\ub2c8\ub2e4. \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4:\n        <\/p>\n<pre><code>pip install django-redis<\/code><\/pre>\n<p>\n            \uadf8 \ud6c4, settings.py \ud30c\uc77c\uc5d0 Redis \uce90\uc2dc \uc124\uc815\uc744 \ucd94\uac00\ud574\uc57c \ud569\ub2c8\ub2e4:\n        <\/p>\n<pre><code>\n# settings.py\nCACHES = {\n    'default': {\n        'BACKEND': 'django_redis.cache.RedisCache',\n        'LOCATION': 'redis:\/\/127.0.0.1:6379\/1',\n        'OPTIONS': {\n            'CLIENT_CLASS': 'django_redis.client.DefaultClient',\n        }\n    }\n}\n        <\/code><\/pre>\n<h3>4.3 \ub370\uc774\ud130 \uce90\uc2f1 \uc608\uc81c<\/h3>\n<p>\n            Redis\ub97c \uc0ac\uc6a9\ud558\uc5ec \uce90\uc2dc\ub41c \ub370\uc774\ud130\ub97c \uc774\uc6a9\ud558\ub294 \ubc29\ubc95\uc740 Memcached\uc640 \uc720\uc0ac\ud569\ub2c8\ub2e4.<br \/>\n            \ub2e4\uc74c \uc608\uc81c\uc5d0\uc11c\ub294 \ud2b9\uc815 \ud0a4\uc6cc\ub4dc\uc758 \uac80\uc0c9 \uacb0\uacfc\ub97c \uce90\uc2dc\ud558\ub294 \uae30\ub2a5\uc744 \uad6c\ud604\ud569\ub2c8\ub2e4:\n        <\/p>\n<pre><code>\nfrom django.core.cache import cache\nfrom django.shortcuts import render\nfrom .models import Product\n\ndef search_products(request):\n    query = request.GET.get('q')\n    cache_key = f'products_search_{query}'\n    products = cache.get(cache_key)\n\n    if not products:\n        products = Product.objects.filter(name__icontains=query)\n        cache.set(cache_key, products, timeout=600)\n    \n    return render(request, 'search_results.html', {'products': products})\n        <\/code><\/pre>\n<\/section>\n<section>\n<h2>5. \uce90\uc2dc \ubb34\ud6a8\ud654 \ubc0f \uad00\ub9ac<\/h2>\n<p>\n            \uce90\uc2dc\ub41c \ub370\uc774\ud130\ub294 \uc2dc\uac04\uc774 \uc9c0\ub098\uba74 \uc720\ud6a8\uc131\uc774 \ub5a8\uc5b4\uc9c0\uac70\ub098 \ubcc0\uacbd\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n            \uc774\ub7f4 \ub54c\ub294 \uce90\uc2dc\ub97c \ubb34\ud6a8\ud654\ud558\uac70\ub098 \uac31\uc2e0\ud574\uc57c \ud569\ub2c8\ub2e4. Django\uc5d0\uc11c\ub294 cache.delete() \uba54\uc18c\ub4dc\ub97c \ud1b5\ud574 \ud2b9\uc815 \ud0a4\uc758 \uce90\uc2dc\ub97c \uc0ad\uc81c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n        <\/p>\n<pre><code>\n# \ud2b9\uc815 \uce90\uc2dc \uc0ad\uc81c\ncache.delete(cache_key)\n        <\/code><\/pre>\n<p>\n            \ub610\ud55c \ubaa8\ub4e0 \uce90\uc2dc\ub97c \ud55c \ubc88\uc5d0 \uc0ad\uc81c\ud558\uace0 \uc2f6\ub2e4\uba74 cache.clear()\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n            \uc774\ub294 \uc9d1\ud569\uc801\uc73c\ub85c \ubaa8\ub4e0 \uce90\uc2dc\ub97c \ubb34\ud6a8\ud654\ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4.\n        <\/p>\n<pre><code>\n# \ubaa8\ub4e0 \uce90\uc2dc \uc0ad\uc81c\ncache.clear()\n        <\/code><\/pre>\n<\/section>\n<section>\n<h2>6. \uacb0\ub860<\/h2>\n<p>\n            Django\uc758 \uce90\uc2dc \ud504\ub808\uc784\uc6cc\ud06c\ub97c \ud65c\uc6a9\ud558\uba74 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc131\ub2a5\uc744 \ud06c\uac8c \ud5a5\uc0c1\uc2dc\ud0ac \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n            \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 Memcached\uc640 Redis \ub450 \uac00\uc9c0 \uce90\uc2dc \ubc31\uc5d4\ub4dc\ub97c \uc124\uc815\ud558\uace0 \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4.<br \/>\n            \uac01\uac01\uc758 \uce90\uc2dc\ub294 \ud2b9\uc815 \uc0c1\ud669\uacfc \uc6a9\ub3c4\uc5d0 \ub530\ub77c \uc7a5\ub2e8\uc810\uc774 \uc788\uc73c\ubbc0\ub85c, \ud544\uc694\uc5d0 \ub9de\ub294 \uac83\uc744 \uc120\ud0dd\ud558\uc5ec \uc0ac\uc6a9\ud558\uae38 \uad8c\uc7a5\ud569\ub2c8\ub2e4.\n        <\/p>\n<p>\n            \uce90\uc2dc \uad6c\uc131\uc740 \ucd08\uae30 \uc124\uc815\ub9cc\uc73c\ub85c \ub05d\ub098\ub294 \uac83\uc774 \uc544\ub2c8\ub77c, \uc8fc\uae30\uc801\uc778 \ubaa8\ub2c8\ud130\ub9c1\uacfc \uc870\uc815\uc774 \ud544\uc694\ud569\ub2c8\ub2e4.<br \/>\n            \uac01 \uce90\uc2dc\uc758 \uc131\ub2a5\uc744 \ubd84\uc11d\ud558\uace0, \uc0ac\uc6a9\uc790 \uc694\uad6c\uc5d0 \ub9de\ucdb0 \uc801\uc808\ud788 \uad00\ub9ac\ud574 \ub098\uac00\ub294 \uac83\uc774 \uc911\uc694\ud55c \ub9cc\ud07c<br \/>\n            \uc774 \uae00\uc774 Django\uc5d0\uc11c \uce90\uc2dc \uc2dc\uc2a4\ud15c\uc744 \uc774\ud574\ud558\uace0 \uad6c\ud604\ud558\ub294 \ub370 \ub3c4\uc6c0\uc774 \ub418\uc5c8\uae38 \ubc14\ub78d\ub2c8\ub2e4.\n        <\/p>\n<\/section>\n<footer>\n<p>\u00a9 \uc870\uad11\ud615 &#8211; All Rights Reserved.<\/p>\n<\/footer>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>\uc791\uc131\uc790: \uc870\uad11\ud615 \ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c 1. \uce90\uc2dc\uc758 \ud544\uc694\uc131 \uc6f9 \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0\uc11c \uc131\ub2a5\uc740 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uace0, \uc11c\ubc84 \uc790\uc6d0 \uc18c\ube44\ub97c \uc904\uc774\uae30 \uc704\ud574 caching\uc740 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. \uce90\uc2dc\ub97c \uc0ac\uc6a9\ud558\uba74 \ub370\uc774\ud130\ubca0\uc774\uc2a4\ub098 \uc18c\uc2a4 \uc2dc\uc2a4\ud15c\uc5d0 \ub300\ud55c \uc694\uccad\uc744 \uc904\uc774\uace0, \uc774\uc804\uc5d0 \uc800\uc7a5\ub41c \uacb0\uacfc\ub97c \ube60\ub974\uac8c \ubc18\ud658\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub85c \uc778\ud574, \uc751\ub2f5 \uc2dc\uac04\uc774 \uc904\uc5b4\ub4e4\uace0 \uc11c\ubc84 \ubd80\ud558\ub3c4 \uac10\uc18c\ud569\ub2c8\ub2e4. Django\ub294 \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc\ub97c \uc9c0\uc6d0\ud558\uba70, \ub9e4\uc6b0 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/38696\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;DJango \uc11c\ubc84\uac1c\ubc1c, \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc \uc124\uc815\ud558\uae30 (Memcached, Redis \ub4f1)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[185],"tags":[],"class_list":["post-38696","post","type-post","status-publish","format-standard","hentry","category-django"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>DJango \uc11c\ubc84\uac1c\ubc1c, \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc \uc124\uc815\ud558\uae30 (Memcached, Redis \ub4f1) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/38696\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DJango \uc11c\ubc84\uac1c\ubc1c, \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc \uc124\uc815\ud558\uae30 (Memcached, Redis \ub4f1) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc791\uc131\uc790: \uc870\uad11\ud615 \ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c 1. \uce90\uc2dc\uc758 \ud544\uc694\uc131 \uc6f9 \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0\uc11c \uc131\ub2a5\uc740 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uace0, \uc11c\ubc84 \uc790\uc6d0 \uc18c\ube44\ub97c \uc904\uc774\uae30 \uc704\ud574 caching\uc740 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. \uce90\uc2dc\ub97c \uc0ac\uc6a9\ud558\uba74 \ub370\uc774\ud130\ubca0\uc774\uc2a4\ub098 \uc18c\uc2a4 \uc2dc\uc2a4\ud15c\uc5d0 \ub300\ud55c \uc694\uccad\uc744 \uc904\uc774\uace0, \uc774\uc804\uc5d0 \uc800\uc7a5\ub41c \uacb0\uacfc\ub97c \ube60\ub974\uac8c \ubc18\ud658\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub85c \uc778\ud574, \uc751\ub2f5 \uc2dc\uac04\uc774 \uc904\uc5b4\ub4e4\uace0 \uc11c\ubc84 \ubd80\ud558\ub3c4 \uac10\uc18c\ud569\ub2c8\ub2e4. Django\ub294 \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc\ub97c \uc9c0\uc6d0\ud558\uba70, \ub9e4\uc6b0 &hellip; \ub354 \ubcf4\uae30 &quot;DJango \uc11c\ubc84\uac1c\ubc1c, \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc \uc124\uc815\ud558\uae30 (Memcached, Redis \ub4f1)&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/38696\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T19:08:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:43:35+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/38696\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38696\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"DJango \uc11c\ubc84\uac1c\ubc1c, \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc \uc124\uc815\ud558\uae30 (Memcached, Redis \ub4f1)\",\"datePublished\":\"2024-11-01T19:08:56+00:00\",\"dateModified\":\"2024-11-26T06:43:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38696\/\"},\"wordCount\":51,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"DJango\uc11c\ubc84\uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/38696\/\",\"url\":\"https:\/\/atmokpo.com\/w\/38696\/\",\"name\":\"DJango \uc11c\ubc84\uac1c\ubc1c, \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc \uc124\uc815\ud558\uae30 (Memcached, Redis \ub4f1) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T19:08:56+00:00\",\"dateModified\":\"2024-11-26T06:43:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38696\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/38696\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/38696\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DJango \uc11c\ubc84\uac1c\ubc1c, \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc \uc124\uc815\ud558\uae30 (Memcached, Redis \ub4f1)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DJango \uc11c\ubc84\uac1c\ubc1c, \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc \uc124\uc815\ud558\uae30 (Memcached, Redis \ub4f1) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/38696\/","og_locale":"ko_KR","og_type":"article","og_title":"DJango \uc11c\ubc84\uac1c\ubc1c, \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc \uc124\uc815\ud558\uae30 (Memcached, Redis \ub4f1) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc791\uc131\uc790: \uc870\uad11\ud615 \ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c 1. \uce90\uc2dc\uc758 \ud544\uc694\uc131 \uc6f9 \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0\uc11c \uc131\ub2a5\uc740 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uace0, \uc11c\ubc84 \uc790\uc6d0 \uc18c\ube44\ub97c \uc904\uc774\uae30 \uc704\ud574 caching\uc740 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. \uce90\uc2dc\ub97c \uc0ac\uc6a9\ud558\uba74 \ub370\uc774\ud130\ubca0\uc774\uc2a4\ub098 \uc18c\uc2a4 \uc2dc\uc2a4\ud15c\uc5d0 \ub300\ud55c \uc694\uccad\uc744 \uc904\uc774\uace0, \uc774\uc804\uc5d0 \uc800\uc7a5\ub41c \uacb0\uacfc\ub97c \ube60\ub974\uac8c \ubc18\ud658\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub85c \uc778\ud574, \uc751\ub2f5 \uc2dc\uac04\uc774 \uc904\uc5b4\ub4e4\uace0 \uc11c\ubc84 \ubd80\ud558\ub3c4 \uac10\uc18c\ud569\ub2c8\ub2e4. Django\ub294 \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc\ub97c \uc9c0\uc6d0\ud558\uba70, \ub9e4\uc6b0 &hellip; \ub354 \ubcf4\uae30 \"DJango \uc11c\ubc84\uac1c\ubc1c, \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc \uc124\uc815\ud558\uae30 (Memcached, Redis \ub4f1)\"","og_url":"https:\/\/atmokpo.com\/w\/38696\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T19:08:56+00:00","article_modified_time":"2024-11-26T06:43:35+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/38696\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/38696\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"DJango \uc11c\ubc84\uac1c\ubc1c, \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc \uc124\uc815\ud558\uae30 (Memcached, Redis \ub4f1)","datePublished":"2024-11-01T19:08:56+00:00","dateModified":"2024-11-26T06:43:35+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/38696\/"},"wordCount":51,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["DJango\uc11c\ubc84\uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/38696\/","url":"https:\/\/atmokpo.com\/w\/38696\/","name":"DJango \uc11c\ubc84\uac1c\ubc1c, \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc \uc124\uc815\ud558\uae30 (Memcached, Redis \ub4f1) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T19:08:56+00:00","dateModified":"2024-11-26T06:43:35+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/38696\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/38696\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/38696\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"DJango \uc11c\ubc84\uac1c\ubc1c, \ub2e4\uc591\ud55c \uce90\uc2dc \ubc31\uc5d4\ub4dc \uc124\uc815\ud558\uae30 (Memcached, Redis \ub4f1)"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=38696"}],"version-history":[{"count":2,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38696\/revisions"}],"predecessor-version":[{"id":43086,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38696\/revisions\/43086"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=38696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=38696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=38696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}