Programming OpenResty
Free

Programming OpenResty

By Yichun Zhang
Free
Book Description

OpenResty (aka. ngx_openresty) is a full-fledged web platform by integrating the standard Nginx core, LuaJIT, many carefully written Lua libraries, lots of high quality 3rd-party Nginx modules, and most of their external dependencies. It is designed to help developers easily build scalable web applications, web services, and dynamic web gateways.



By taking advantage of various well-designed Nginx modules (most of which are developed by the OpenResty team themselves), OpenResty effectively turns the nginx server into a powerful web app server, in which the web developers can use the Lua programming language to script various existing nginx C modules and Lua modules and construct extremely high-performance web applications that are capable to handle 10K ~ 1000K+ connections in a single box.

This is an official guide on OpenResty programming written by the OpenResty creator, Yichun Zhang. You can updated versions from the book's website. The latest source of the book can be found in the GitHub repository.

 

Table of Contents
  • Introduction
  • Automated Testing
    • Introduction
    • Test::Nginx
    • Test Suite Layout
    • Test File Layout
    • Running Tests
    • Preparing Tests
    • Testing Erroneous Cases
    • Test Modes
    No review for this book yet, be the first to review.
      No comment for this book yet, be the first to comment
      You May Also Like
      Also Available On
      Categories
      Curated Lists