← Back
lua

OpenResty Edge における Edgelang を通じた Lua モジュールの呼び出し

  • Lua モジュールの作成
  • HTTP アプリケーションにおける Lua モジュールの呼び出し
  • Lua モジュール呼び出しの効果の検証
  • Lua モジュールの作成
  • HTTP アプリケーションにおける Lua モジュールの呼び出し
  • Lua モジュール呼び出しの効果の検証

OpenResty Edge で Lua 拡張機能を使用してゲートウェイサーバーのオフラインイベントに応答する

  • 新しい Lua 拡張機能の作成
  • オフラインゲートウェイサーバーを使用した Lua 拡張機能のトリガー
  • 新しい Lua 拡張機能の作成
  • オフラインゲートウェイサーバーを使用した Lua 拡張機能のトリガー

Pinpointing hottest Lua code paths in online OpenResty/Nginx servers (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the hottest Lua code paths
  • Automatic analysis and reports
  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the hottest Lua code paths
  • Automatic analysis and reports

How we solved a CPU bottleneck caused by Lua exceptions in a custom Kong plugin (using OpenResty XRay)

  • The problem: high CPU usage in Kong servers
  • The analysis & report
  • The result: improved performance and reduced CPU usage
Photo by Yichun Zhang
  • The problem: high CPU usage in Kong servers
  • The analysis & report
  • The result: improved performance and reduced CPU usage

Memory and CPU usage statistics among Kong plugins online (using OpenResty XRay)

  • CPU usage among all Kong plugins in a server process
  • Memory usage among all Kong plugins in a server process
  • Extra overhead for the servers
Photo by Yichun Zhang
  • CPU usage among all Kong plugins in a server process
  • Memory usage among all Kong plugins in a server process
  • Extra overhead for the servers

When Lua IPC Pipes Block OpenResty or Nginx's Event Loops

  • The Problem
  • Analyses
  • Solutions
  • Results
Photo by Yichun Zhang
  • The Problem
  • Analyses
  • Solutions
  • Results

Listing Loaded Lua Modules in OpenResty or Nginx Processes

  • System Environment
  • Names of Loaded Lua Modules
  • Running Directly in the Web Console
  • Tracing Applications inside Containers
  • How The Tools are Implemented
  • The Overhead of the Tools
Photo by Yichun Zhang
  • System Environment
  • Names of Loaded Lua Modules
  • Running Directly in the Web Console
  • Tracing Applications inside Containers
  • How The Tools are Implemented
  • The Overhead of the Tools

Streaming HTTP Response Output in OpenResty

Photo by Michal Matlon

Precompile Lua Modules into LuaJIT Bytecode to Speedup OpenResty Startup

Photo by Yichun Zhang

Timing Lua Code Correctly in OpenResty

Photo by Andrik Langfield

Share Data Across Requests Served by OpenResty

Photo by Gautam Ganguly

The resty Command-Line Utility Demo

Photo by Markus Spiske & Yichun Zhang

Write Your Own Lua Modules for OpenResty Applications

Photo by Gerry Roarty

Hello World HTTP Example in OpenResty

Photo by 2Photo Pots

Introduction to Lua-Land CPU Flame Graphs

  • What is a Flame Graph
  • Simple Lua samples
  • Complicated Lua applications
  • Sampling overhead
  • Safety
  • Compatibility
  • Other types of Lua-land Flame Graphs
Photo by Guido Jansen
  • What is a Flame Graph
  • Simple Lua samples
  • Complicated Lua applications
  • Sampling overhead
  • Safety
  • Compatibility
  • Other types of Lua-land Flame Graphs
お問い合わせ

ご意見・ご感想をお待ちしております 👋

メッセージを送信しました!

専門家チームが24時間以内にご連絡いたします。
x