---
title: "OpenResty Learning Center: NGINX, Lua, Performance, and API Gateway Tutorials - API7.ai"
description: "Learn OpenResty with practical NGINX and Lua tutorials for performance, caching, traffic control, and API gateway patterns in production systems."
url: "https://api7.ai/ko/learning-center/openresty"
---

# OpenResty (NGINX + Lua)

[![OpenResty와 NGINX의 차이점은 무엇인가요?](https://static.api7.ai/2022/10/02/6338eea79f757.png)](https://api7.ai/ko/learning-center/openresty/openresty-vs-nginx)

OpenResty (NGINX + Lua)

September 9, 2022

#### [OpenResty와 NGINX의 차이점은 무엇인가요?](https://api7.ai/ko/learning-center/openresty/openresty-vs-nginx)

OpenResty란 무엇이며, 왜 지금 많은 기업들이 OpenResty를 사용하고 있을까요? 이 게시물을 통해 OpenResty의 동적이고 비차단적인 기능에 대해 알아보세요.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![첫 번째 OpenResty 프로그램: Hello World](https://static.api7.ai/2022/10/02/6338ecfc5d6c2.png)](https://api7.ai/ko/learning-center/openresty/hello-world-in-openresty)

OpenResty (NGINX + Lua)

September 9, 2022

#### [첫 번째 OpenResty 프로그램: Hello World](https://api7.ai/ko/learning-center/openresty/hello-world-in-openresty)

이 포스트를 따라 OpenResty에서 Hello World를 구현해 보세요!

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![Subprojects Behind OpenResty](https://static.api7.ai/2022/10/02/6338ed50a167c.png)](https://api7.ai/ko/learning-center/openresty/subprojects-behind-openresty)

OpenResty (NGINX + Lua)

September 12, 2022

#### [Subprojects Behind OpenResty](https://api7.ai/ko/learning-center/openresty/subprojects-behind-openresty)

이 게시물은 OpenResty의 디렉토리 구조와 관련 도구들, 예를 들어 NGINX C Modules, test-nginx, lua-resty 프로젝트 등을 소개합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![How to Manage Third-Party Packages of OpenResty Through LuaRocks and OPM?](https://static.api7.ai/2022/10/02/6338ee48e0c56.png)](https://api7.ai/ko/learning-center/openresty/how-to-manage-openresty-packages)

OpenResty (NGINX + Lua)

September 17, 2022

#### [How to Manage Third-Party Packages of OpenResty Through LuaRocks and OPM?](https://api7.ai/ko/learning-center/openresty/how-to-manage-openresty-packages)

OpenResty의 서드파티 패키지를 관리하기 위해 OPM 또는 LuaRocks를 사용할 수 있습니다. 이 글을 읽어보고 더 자세히 알아보세요.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![OpenResty에서 사용되는 NGINX 지식](https://static.api7.ai/2022/10/02/6338edbe6f0be.png)](https://api7.ai/ko/learning-center/openresty/knowledge-of-nginx-used-in-openresty)

OpenResty (NGINX + Lua)

September 17, 2022

#### [OpenResty에서 사용되는 NGINX 지식](https://api7.ai/ko/learning-center/openresty/knowledge-of-nginx-used-in-openresty)

Nginx는 Master-Worker 모델과 요청 실행 단계를 제공합니다. 이 글을 통해 Nginx의 기본 개념을 더 잘 이해할 수 있습니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![Lua 시작하기](https://static.api7.ai/2022/10/02/6338ec7449840.png)](https://api7.ai/ko/learning-center/openresty/getting-started-with-lua)

OpenResty (NGINX + Lua)

September 23, 2022

#### [Lua 시작하기](https://api7.ai/ko/learning-center/openresty/getting-started-with-lua)

Lua는 주로 애플리케이션 내에 내장되어 사용되도록 설계된 가볍고 고수준의 프로그래밍 언어입니다. 여기서 Lua를 시작해 보세요!

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![LuaJIT와 표준 Lua의 차이점은 무엇인가요?](https://static.api7.ai/2022/10/02/6338ebfdd2da2.png)](https://api7.ai/ko/learning-center/openresty/luajit-vs-lua)

OpenResty (NGINX + Lua)

September 23, 2022

#### [LuaJIT와 표준 Lua의 차이점은 무엇인가요?](https://api7.ai/ko/learning-center/openresty/luajit-vs-lua)

LuaJIT는 Lua 프로그래밍 언어를 위한 Just-In-Time 컴파일러(JIT)입니다. LuaJIT가 Lua보다 빠른 이유는 무엇일까요? 그리고 둘 사이의 차이점은 무엇인가요?

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![Why Does lua-resty-core Perform Better？](https://static.api7.ai/2022/10/02/6338e9e855ca0.png)](https://api7.ai/ko/learning-center/openresty/why-lua-resty-core-perform-better)

OpenResty (NGINX + Lua)

September 30, 2022

#### [Why Does lua-resty-core Perform Better？](https://api7.ai/ko/learning-center/openresty/why-lua-resty-core-perform-better)

The lua-resty-core is a new FFI-based API for lua-nginx-module, which provides higher performance. Learn more from this post.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![JIT 컴파일러의 단점: NYI를 피해야 하는 이유](https://static.api7.ai/2022/10/02/6338eb0183eea.png)](https://api7.ai/ko/learning-center/openresty/avoid-lua-not-yet-implemented-features)

OpenResty (NGINX + Lua)

September 30, 2022

#### [JIT 컴파일러의 단점: NYI를 피해야 하는 이유](https://api7.ai/ko/learning-center/openresty/avoid-lua-not-yet-implemented-features)

LuaJIT에는 아직 구현되지 않은 몇 가지 기능(LuaJIT NYI)이 있습니다. 고성능 Lua 코드를 작성하기 위해 이 기능들을 잘 익혀두세요.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![Lua에서 table과 metatable이란 무엇인가?](https://static.api7.ai/2022/10/14/634974e027871.png)](https://api7.ai/ko/learning-center/openresty/lua-table-and-metatable)

OpenResty (NGINX + Lua)

October 11, 2022

#### [Lua에서 table과 metatable이란 무엇인가?](https://api7.ai/ko/learning-center/openresty/lua-table-and-metatable)

Table은 Lua에서 유일한 데이터 구조화 메커니즘입니다. Table을 사용하여 일반적인 배열, 심볼 테이블, 집합, 레코드, 큐 및 기타 데이터 구조를 표현할 수 있습니다. 이 글에서 더 자세히 알아보세요.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![최고의 팁: Lua에서 독창적인 개념과 함정 식별하기](https://static.api7.ai/2022/10/14/634974e2dd70a.png)](https://api7.ai/ko/learning-center/openresty/lua-basic-concepts-and-pitfalls)

OpenResty (NGINX + Lua)

October 12, 2022

#### [최고의 팁: Lua에서 독창적인 개념과 함정 식별하기](https://api7.ai/ko/learning-center/openresty/lua-basic-concepts-and-pitfalls)

다음은 Lua의 독특한 개념들입니다. 예를 들어, Weak Table, Closure, 그리고 upvalue 등이 있습니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![Lua 규칙과 NGINX 설정 간에 충돌이 발생하면 어떻게 될까요?](https://static.api7.ai/2022/10/14/634974e117ebd.png)](https://api7.ai/ko/learning-center/openresty/conflict-between-lua-rules-and-nginx)

OpenResty (NGINX + Lua)

October 13, 2022

#### [Lua 규칙과 NGINX 설정 간에 충돌이 발생하면 어떻게 될까요?](https://api7.ai/ko/learning-center/openresty/conflict-between-lua-rules-and-nginx)

OpenResty, API Gateway, Lua에 관한 몇 가지 Q\&A.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![OpenResty가 특별한 이유는 무엇인가요?](https://static.api7.ai/2022/10/14/634974e090ab4.png)](https://api7.ai/ko/learning-center/openresty/openresty-getting-started)

OpenResty (NGINX + Lua)

October 14, 2022

#### [OpenResty가 특별한 이유는 무엇인가요?](https://api7.ai/ko/learning-center/openresty/openresty-getting-started)

OpenResty는 NGINX와 LuaJIT로 구축되어 있으며, 여기서부터 시작하여 기본 개념과 작동 방식을 배울 수 있습니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![문서화와 테스트 케이스: OpenResty 개발 문제 해결을 위한 강력한 도구](https://static.api7.ai/2022/10/23/635548f2bbb62.png)](https://api7.ai/ko/learning-center/openresty/openresty-documentation-and-test-cases)

OpenResty (NGINX + Lua)

October 23, 2022

#### [문서화와 테스트 케이스: OpenResty 개발 문제 해결을 위한 강력한 도구](https://api7.ai/ko/learning-center/openresty/openresty-documentation-and-test-cases)

OpenResty는 API 매개변수, 반환 값 타입, 샘플 코드와 함께 상세한 문서를 제공할 뿐만 아니라, 테스트 케이스를 통해 철저히 테스트되어 개발자들이 OpenResty를 사용하는 데 도움이 됩니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![OpenResty는 동적 요청과 응답을 지원하는 강화된 NGINX입니다.](https://static.api7.ai/2022/10/23/635548f2dd41e.png)](https://api7.ai/ko/learning-center/openresty/handling-requests-responses-dynamically)

OpenResty (NGINX + Lua)

October 23, 2022

#### [OpenResty는 동적 요청과 응답을 지원하는 강화된 NGINX입니다.](https://api7.ai/ko/learning-center/openresty/handling-requests-responses-dynamically)

OpenResty는 동적 요청과 응답을 지원하는 강화된 NGINX입니다. 이 글에서는 OpenResty에서 요청(Request)과 응답(Response)을 조작하기 위한 API들, 예를 들어 "ngx.req.set\_method", "ngx.req.set\_uri\_args", "ngx.req.set\_header" 등에 대해 설명합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![NGINX 작업자 간의 통신 마법: 가장 중요한 데이터 구조 중 하나인 \`shared dict\`](https://static.api7.ai/2022/10/28/635ba9ebe407a.png)](https://api7.ai/ko/learning-center/openresty/communication-magic-between-nginx-workers-shared-dict)

OpenResty (NGINX + Lua)

October 27, 2022

#### [NGINX 작업자 간의 통신 마법: 가장 중요한 데이터 구조 중 하나인 `shared dict`](https://api7.ai/ko/learning-center/openresty/communication-magic-between-nginx-workers-shared-dict)

shared dict는 NGINX와 OpenResty에서 중요한 데이터 구조입니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![OpenResty의 핵심: cosocket](https://static.api7.ai/2022/10/28/635bae79cdffd.png)](https://api7.ai/ko/learning-center/openresty/the-core-of-openresty-cosocket)

OpenResty (NGINX + Lua)

October 28, 2022

#### [OpenResty의 핵심: cosocket](https://api7.ai/ko/learning-center/openresty/the-core-of-openresty-cosocket)

cosocket은 다양한 lua-resty-\* 비동기 라이브러리의 기반이 됩니다. 이 글에서는 cosocket의 기본 개념과 일반적인 API를 소개합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![웹 서버를 넘어서: Privileged Process와 Timer Tasks](https://static.api7.ai/2022/11/04/6364e41a51e18.png)](https://api7.ai/ko/learning-center/openresty/privileged-process-and-timer-tasks)

OpenResty (NGINX + Lua)

November 3, 2022

#### [웹 서버를 넘어서: Privileged Process와 Timer Tasks](https://api7.ai/ko/learning-center/openresty/privileged-process-and-timer-tasks)

Privileged Process와 Timer Tasks는 OpenResty가 NGINX 및 다른 웹 서버와 차별화되는 중요한 기능입니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![OpenResty에서 일반적으로 사용되는 API 소개](https://static.api7.ai/2022/11/03/63638d7f43be0.png)](https://api7.ai/ko/learning-center/openresty/introduction-openresty-common-apis)

OpenResty (NGINX + Lua)

November 4, 2022

#### [OpenResty에서 일반적으로 사용되는 API 소개](https://api7.ai/ko/learning-center/openresty/introduction-openresty-common-apis)

이 글에서는 OpenResty의 일반적인 API를 사용하여 시간 조작, 정규 표현식 및 기타 일반적인 문제를 다루는 방법을 소개합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![Layer 4 트래픽 처리 및 OpenResty를 통한 Memcached 서버 구현](https://static.api7.ai/2022/11/11/636e1cd19ec42.png)](https://api7.ai/ko/learning-center/openresty/implementing-memcached-server)

OpenResty (NGINX + Lua)

November 10, 2022

#### [Layer 4 트래픽 처리 및 OpenResty를 통한 Memcached 서버 구현](https://api7.ai/ko/learning-center/openresty/implementing-memcached-server)

OpenResty is easy to implement Memcached Server using the stream module provided by NGINX, which can handle layer 4 of traffic.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![OpenResty FAQ | 권한 있는 프로세스 권한, 실행 단계 등](https://static.api7.ai/2022/11/13/6370ea6a2e791.png)](https://api7.ai/ko/learning-center/openresty/faq-2)

OpenResty (NGINX + Lua)

November 11, 2022

#### [OpenResty FAQ | 권한 있는 프로세스 권한, 실행 단계 등](https://api7.ai/ko/learning-center/openresty/faq-2)

NGINX + Lua (OpenResty) FAQ는 권한 있는 프로세스 권한, 단계별 실행 및 디버깅, ngx.exit 사용 방법, 변수, 그리고 경쟁 조건에 대한 질문에 답변합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![코드 기여의 장애물: \`test::nginx\`](https://static.api7.ai/2022/11/18/637726197c166.png)](https://api7.ai/ko/learning-center/openresty/introduction-to-test-nginx)

OpenResty (NGINX + Lua)

November 17, 2022

#### [코드 기여의 장애물: `test::nginx`](https://api7.ai/ko/learning-center/openresty/introduction-to-test-nginx)

test::nginx는 OpenResty에서 TDD를 위해 사용되는 DSL이며, NGINX 및 HTTP 테스트에 사용될 수 있습니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![\`test::nginx\`의 테스트 방법: 설정, 요청 전송 및 응답 처리](https://static.api7.ai/2022/11/18/63772706eb042.png)](https://api7.ai/ko/learning-center/openresty/all-inclusive-testing-methods-test-nginx)

OpenResty (NGINX + Lua)

November 18, 2022

#### [`test::nginx`의 테스트 방법: 설정, 요청 전송 및 응답 처리](https://api7.ai/ko/learning-center/openresty/all-inclusive-testing-methods-test-nginx)

이 글은 test::nginx를 사용하여 테스트 케이스에서 요청을 보내고 응답을 처리하는 방법에 대해 설명합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![\`test::nginx\`의 잘 알려지지 않은 사용법](https://static.api7.ai/2022/11/25/63802a7fb4697.png)](https://api7.ai/ko/learning-center/openresty/little-known-usage-of-test-nginx)

OpenResty (NGINX + Lua)

November 24, 2022

#### [`test::nginx`의 잘 알려지지 않은 사용법](https://api7.ai/ko/learning-center/openresty/little-known-usage-of-test-nginx)

test::nginx는 preprocessor, custom functions, shuffle, reindex와 같은 기능을 제공합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![\`wrk\`를 사용한 정확한 성능 테스트](https://static.api7.ai/2022/11/25/63802abdc3b1b.png)](https://api7.ai/ko/learning-center/openresty/performance-testing-tool-wrk)

OpenResty (NGINX + Lua)

November 25, 2022

#### [`wrk`를 사용한 정확한 성능 테스트](https://api7.ai/ko/learning-center/openresty/performance-testing-tool-wrk)

이 글은 성능 테스트 도구 \`wrk\`의 기능과 이를 활용해 효율적이고 정확한 성능 테스트를 수행하는 방법에 대해 설명합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![OpenResty FAQ | 테스트를 위한 네트워크 구조, SSL 관련 기능, DSL, \`ab\` 도구](https://static.api7.ai/2022/12/02/63896c177fde1.png)](https://api7.ai/ko/learning-center/openresty/faq-3)

OpenResty (NGINX + Lua)

December 1, 2022

#### [OpenResty FAQ | 테스트를 위한 네트워크 구조, SSL 관련 기능, DSL, `ab` 도구](https://api7.ai/ko/learning-center/openresty/faq-3)

이 글은 테스트 네트워크 환경을 구축하는 방법, test::nginx의 SSL 및 DSL 지원, 그리고 \`ab\` 도구에 대해 설명합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![Non-blocking I/O - OpenResty 성능 향상의 핵심](https://static.api7.ai/2022/12/05/638dce5075e0f.png)](https://api7.ai/ko/learning-center/openresty/blocking-io)

OpenResty (NGINX + Lua)

December 2, 2022

#### [Non-blocking I/O - OpenResty 성능 향상의 핵심](https://api7.ai/ko/learning-center/openresty/blocking-io)

OpenResty에서 성능에 영향을 미치는 blocking I/O 작업의 사용을 피해야 합니다. 자주 오용되는 작업으로는 외부 명령어 실행, 디스크 I/O 처리, 그리고 lusockets 사용 등이 있습니다.

[OpenResty](https://api7.ai/tags/openresty)

[Lua](https://api7.ai/tags/lua)

[Nginx](https://api7.ai/tags/nginx)

[![OpenResty에서 \`string\`의 장단점](https://static.api7.ai/2022/12/09/6392eeb028c7f.png)](https://api7.ai/ko/learning-center/openresty/advantages-and-disadvantages-of-string)

OpenResty (NGINX + Lua)

December 8, 2022

#### [OpenResty에서 `string`의 장단점](https://api7.ai/ko/learning-center/openresty/advantages-and-disadvantages-of-string)

이 글은 OpenResty에서 따라야 할 최적화 기법을 소개합니다: 요청을 짧고, 간단하며, 빠르게 처리하고 중간 데이터 생성을 피하는 방법을 다룹니다. 또한 문자열에 대한 최적화 기법도 설명합니다.

[OpenResty](https://api7.ai/tags/openresty)

[Lua](https://api7.ai/tags/lua)

[Nginx](https://api7.ai/tags/nginx)

[![OpenResty에서 10배 성능 향상을 위한 팁: \`Table\` 데이터 구조](https://static.api7.ai/2022/12/09/6392ea632a2b0.png)](https://api7.ai/ko/learning-center/openresty/tips-10x-performance-improvement-openresty-table-data-structure)

OpenResty (NGINX + Lua)

December 9, 2022

#### [OpenResty에서 10배 성능 향상을 위한 팁: `Table` 데이터 구조](https://api7.ai/ko/learning-center/openresty/tips-10x-performance-improvement-openresty-table-data-structure)

openresty에서 table은 성능에 큰 영향을 미칩니다. 이 글에서는 수동으로 subscripts를 관리하고, table을 재사용하며, tablepool을 활용하여 성능을 최적화하는 방법에 대해 설명합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![OpenResty 코딩 스타일 가이드](https://static.api7.ai/2022/12/15/639adf5d98bc3.png)](https://api7.ai/ko/learning-center/openresty/openresty-coding-style-guide)

OpenResty (NGINX + Lua)

December 15, 2022

#### [OpenResty 코딩 스타일 가이드](https://api7.ai/ko/learning-center/openresty/openresty-coding-style-guide)

OpenResty 스타일 가이드는 OpenResty, Lua, NGINX 코드를 "어떻게 작성할지"에 대한 일반적인 규칙을 담고 있습니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![OpenResty의 다양한 디버깅 방법](https://static.api7.ai/2022/12/15/639ade5d3f4f3.png)](https://api7.ai/ko/learning-center/openresty/debugging-methods-openresty)

OpenResty (NGINX + Lua)

December 16, 2022

#### [OpenResty의 다양한 디버깅 방법](https://api7.ai/ko/learning-center/openresty/debugging-methods-openresty)

이 글에서는 OpenResty에서 breakpoint와 print log를 사용한 디버깅, Binary Search Algorithm과 Comment, 동적 디버깅, flame graph 등을 활용하는 방법에 대해 설명합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![고성능의 열쇠: \`shared dict\`와 \`lru\` 캐시](https://static.api7.ai/2022/12/23/63a54acc69330.png)](https://api7.ai/ko/learning-center/openresty/high-performance-keys-shared-dict-lru-cache)

OpenResty (NGINX + Lua)

December 22, 2022

#### [고성능의 열쇠: `shared dict`와 `lru` 캐시](https://api7.ai/ko/learning-center/openresty/high-performance-keys-shared-dict-lru-cache)

이 글은 Openresty에서 \`shared dict\`와 \`lru\` 캐시의 사용 시나리오, 사용법, 그리고 구현 원리를 소개합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![\`systemtap-toolkit\`과 \`stapxx\`: 데이터를 활용하여 어려운 문제를 해결하는 방법은?](https://static.api7.ai/2022/12/23/63a548149b18c.png)](https://api7.ai/ko/learning-center/openresty/systemtap-toolkit-and-stapxx)

OpenResty (NGINX + Lua)

December 22, 2022

#### [`systemtap-toolkit`과 `stapxx`: 데이터를 활용하여 어려운 문제를 해결하는 방법은?](https://api7.ai/ko/learning-center/openresty/systemtap-toolkit-and-stapxx)

systemtap 기반의 래핑 도구 세트인 systemtap-toolkit과 stapxx는 NGINX와 OpenResty의 실시간 분석 및 진단 문제를 해결하는 데 사용될 수 있습니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![캐시 스탬피드를 피하는 방법은?](https://static.api7.ai/2022/12/30/63ae8b050ab9e.png)](https://api7.ai/ko/learning-center/openresty/how-to-avoid-cache-stampede)

OpenResty (NGINX + Lua)

December 29, 2022

#### [캐시 스탬피드를 피하는 방법은?](https://api7.ai/ko/learning-center/openresty/how-to-avoid-cache-stampede)

NGINX와 OpenResty에서 캐시 스탬피드를 해결하기 위해 active update cache, lua-resty-lock, lua-resty-shcache 및 NGINX 지시어를 사용할 수 있습니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![\`lua-resty-\*\` 캡슐화로 개발자가 다단계 캐싱에서 해방됩니다](https://static.api7.ai/2022/12/30/63aeaa94b24c8.png)](https://api7.ai/ko/learning-center/openresty/lua-resty-encapsulation-releases-developers-from-caching)

OpenResty (NGINX + Lua)

December 30, 2022

#### [`lua-resty-*` 캡슐화로 개발자가 다단계 캐싱에서 해방됩니다](https://api7.ai/ko/learning-center/openresty/lua-resty-encapsulation-releases-developers-from-caching)

이 글은 두 가지 캐시 캡슐화 라이브러리인 \`lua-resty-memcached-shdict\`와 \`lua-resty-mlcache\`의 구현 원리와 사용 방법을 소개합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![버스트 트래픽 처리 방법: Leaky Bucket 및 Token Bucket 알고리즘](https://static.api7.ai/2023/01/05/63b6948f84a38.png)](https://api7.ai/ko/learning-center/openresty/how-to-deal-with-bursty-traffic)

OpenResty (NGINX + Lua)

January 5, 2023

#### [버스트 트래픽 처리 방법: Leaky Bucket 및 Token Bucket 알고리즘](https://api7.ai/ko/learning-center/openresty/how-to-deal-with-bursty-traffic)

이 글은 NGINX와 OpenResty에서 leaky bucket 및 token bucket 알고리즘을 사용하여 버스트 트래픽을 해결하는 방법을 설명합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![OpenResty에서의 Dynamic Rate-Limiting](https://static.api7.ai/uploads/2023/01/06/hkkLMlET_Hello%20World%20in%20OpenResty%20%2810%29.png)](https://api7.ai/ko/learning-center/openresty/flexible-dynamic-rate-limiting)

OpenResty (NGINX + Lua)

January 6, 2023

#### [OpenResty에서의 Dynamic Rate-Limiting](https://api7.ai/ko/learning-center/openresty/flexible-dynamic-rate-limiting)

\`lua-resty-limit-traffic\`에서 \`limit-req\`, \`limit-count\`, \`limit-conn\`, 그리고 \`limit.traffic\`의 구현을 사용하여 속도 제한을 수행하는 방법을 배워봅시다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![OpenResty의 킬러 기능: 동적](https://static.api7.ai/uploads/2023/01/12/kluDFiQ6_Hello%20World%20in%20OpenResty%20%287%29.png)](https://api7.ai/ko/learning-center/openresty/openresty-killer-feature-dynamic)

OpenResty (NGINX + Lua)

January 12, 2023

#### [OpenResty의 킬러 기능: 동적](https://api7.ai/ko/learning-center/openresty/openresty-killer-feature-dynamic)

Openresty는 LuaJIT이 제공하는 동적 기능을 통해 FaaS, Edge Computing, Dynamic Upstream 등을 가능하게 합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![OpenResty에서 자주 사용되는 세 가지 Lua Resty 라이브러리](https://static.api7.ai/uploads/2023/01/15/sIYDRQAH_Hello%20World%20in%20OpenResty.png)](https://api7.ai/ko/learning-center/openresty/lua-resty-libraries-in-openresty)

OpenResty (NGINX + Lua)

January 13, 2023

#### [OpenResty에서 자주 사용되는 세 가지 Lua Resty 라이브러리](https://api7.ai/ko/learning-center/openresty/lua-resty-libraries-in-openresty)

OpenResty에서 자주 사용되는 Lua Resty 라이브러리인 \`lua-resty-ngxvar\`, \`lua-rapidjson\`, 그리고 \`lua-resty-worker-events\`에 대해 배워봅시다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![OpenResty FAQ | 동적 로드, NYI, 공유 Dict 캐싱](https://static.api7.ai/uploads/2023/01/28/JNIy07vr_Hello%20World%20in%20OpenResty%20%289%29.png)](https://api7.ai/ko/learning-center/openresty/faq-4)

OpenResty (NGINX + Lua)

January 19, 2023

#### [OpenResty FAQ | 동적 로드, NYI, 공유 Dict 캐싱](https://api7.ai/ko/learning-center/openresty/faq-4)

이 글은 동적 로딩(dynamic loading), 블로킹 작업(blocking operations), NYI, 동적 업스트림(dynamic upstream), 그리고 공유 사전 캐싱(caching of shared dictionaries)에 대해 설명합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![파트 1: OpenResty를 사용하여 마이크로서비스 API 게이트웨이를 구축하는 방법](https://static.api7.ai/uploads/2023/02/07/FY0wz1b6_43.png)](https://api7.ai/ko/learning-center/openresty/how-to-build-a-microservice-api-gateway-part-1)

OpenResty (NGINX + Lua)

January 20, 2023

#### [파트 1: OpenResty를 사용하여 마이크로서비스 API 게이트웨이를 구축하는 방법](https://api7.ai/ko/learning-center/openresty/how-to-build-a-microservice-api-gateway-part-1)

이 글은 microservice API gateway의 역할, 핵심 구성 요소 및 개념을 소개합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![파트 2: OpenResty를 사용하여 마이크로서비스 API 게이트웨이 구축하기](https://static.api7.ai/uploads/2023/02/07/FDLX3VMh_44.png)](https://api7.ai/ko/learning-center/openresty/how-to-build-a-microservice-api-gateway-part-2)

OpenResty (NGINX + Lua)

February 2, 2023

#### [파트 2: OpenResty를 사용하여 마이크로서비스 API 게이트웨이 구축하기](https://api7.ai/ko/learning-center/openresty/how-to-build-a-microservice-api-gateway-part-2)

API Gateway의 네 가지 핵심 구성 요소인 storage, routing, schema, 그리고 plugins에 대한 기술적 선택 사항이 각각 소개됩니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![파트 3: OpenResty를 사용하여 마이크로서비스 API 게이트웨이 구축하기](https://static.api7.ai/uploads/2023/02/07/3XJXY9Jy_45.png)](https://api7.ai/ko/learning-center/openresty/how-to-build-a-microservices-api-gateway-part-3)

OpenResty (NGINX + Lua)

February 3, 2023

#### [파트 3: OpenResty를 사용하여 마이크로서비스 API 게이트웨이 구축하기](https://api7.ai/ko/learning-center/openresty/how-to-build-a-microservices-api-gateway-part-3)

NGINX 구성을 통해 API 게이트웨이를 실행하고, 초기화, 라우트 및 플러그인 매칭, 플러그인 로딩, 플러그인 작성 방법에 대한 최소한의 예제를 소개합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)

[![OpenResty FAQ | OpenResty의 실제 활용 사례](https://static.api7.ai/uploads/2023/02/12/jbv9M0zi_Hello%20World%20in%20OpenResty%20%283%29.png)](https://api7.ai/ko/learning-center/openresty/faq-5)

OpenResty (NGINX + Lua)

February 10, 2023

#### [OpenResty FAQ | OpenResty의 실제 활용 사례](https://api7.ai/ko/learning-center/openresty/faq-5)

이 글은 OpenResty가 실제로 어떻게 사용되는지, OpenResty 데이터베이스 캡슐화, OpenResty 웹 프레임워크 및 기타 관련 문제에 대해 설명합니다.

[OpenResty](https://api7.ai/tags/openresty)

[NGINX](https://api7.ai/tags/nginx)

[Lua](https://api7.ai/tags/lua)
