此簡報為 Will 保哥 於 2015/6/25 (四) 接受 SQL PASS Taiwan 邀請演講的內容。
現場錄影: http://www.microsoftvirtualacademy.com/training-courses/sql-server-realase-management?mtag=MVP4015686
[ Will 保哥的部落格 - The Will Will Web ]
http://blog.miniasp.com
[ Will 保哥的技術交流中心 ] (Facebook 粉絲專頁)
https://www.facebook.com/will.fans
[ Will 保哥的噗浪 ]
http://www.plurk.com/willh/invite
[ Will 保哥的推特 ]
https://twitter.com/Will_Huang
[ Will 保哥的 G+ 頁面 ]
http://gplus.to/willh
1. Introduction to Lua and it's features
2. OpenResty: full-fledged web application server
3. Installation and "Hello World"
4. Nonblocking
5. Reconstruction of infov
6. Configuration skills
7. Table and JSON output problem
8. DNS and Hosts parser
9. More features
This document discusses using NGINX with embedded Lua scripting via OpenResty. Lua is a lightweight scripting language used in many applications and games. OpenResty bundles NGINX with LuaJIT and modules to allow full control over every stage of request processing with non-blocking Lua scripts. Examples show how to build a REST API for user scores with Redis using Lua scripts to handle data retrieval, modification and aggregation directly from NGINX.
1. Introduction to Lua and it's features
2. OpenResty: full-fledged web application server
3. Installation and "Hello World"
4. Nonblocking
5. Reconstruction of infov
6. Configuration skills
7. Table and JSON output problem
8. DNS and Hosts parser
9. More features
This document discusses using NGINX with embedded Lua scripting via OpenResty. Lua is a lightweight scripting language used in many applications and games. OpenResty bundles NGINX with LuaJIT and modules to allow full control over every stage of request processing with non-blocking Lua scripts. Examples show how to build a REST API for user scores with Redis using Lua scripts to handle data retrieval, modification and aggregation directly from NGINX.
Nginx Scripting - Extending Nginx Functionalities with LuaTony Fabeen
?
The document discusses extending Nginx functionalities with Lua. It provides an overview of Nginx architecture and how the lua-nginx-module allows running Lua scripts inside Nginx. This provides a powerful and performant programming environment while taking advantage of Nginx's event-driven architecture. Examples show how to access Nginx variables and APIs from Lua, issue subrequests, and do non-blocking I/O including with cosockets. Libraries like lua-resty-memcached reuse these extensions. In summary, Nginx is excellent for scalable apps and Lua extends its capabilities through embedded scripts and subrequests.
Script up your application with Lua! -- RyanE -- OpenWest 2014ryanerickson
?
Lua is a lightweight scripting language embedded in many applications and games to provide flexibility. It was created in 1993 and focuses on simplicity, portability, and being easily embedded in other applications. Lua runs faster than other dynamic languages like Python and Ruby. It is used extensively in games and by companies like Adobe, and was the first interpreted language allowed on iOS. Lua code runs safely sandboxed, and the host application controls exposed modules. Control4 embedded Lua in its C++ drivers to allow dynamic XML configuration. Lua has few types and is dynamically typed with tables serving as arrays/hashes. Functions are first-class objects and control structures include if/else, while, repeat/until, and for
The document provides an overview of the GNU Debugger (GDB). It lists common GDB commands for debugging programs like breakpoints, watching variables, backtracing functions, and examining runtime behavior. Additional debugger tools are also mentioned like gdbtui, Xcode, and Emacs plugins that build on GDB. The document ends with references to online resources for learning more about using GDB and debugging with it.
This document provides a tutorial on using the GNU Debugger (GDB) to debug C and C++ programs. It discusses starting GDB, loading programs into it, setting breakpoints to pause execution, single-stepping or continuing execution, and querying values of variables. It also covers conditional breakpoints, using GDB with pointers and data structures, and other useful commands like backtrace and watchpoints. The goal is to demonstrate how GDB can be used to inspect program execution and help debug issues like segmentation faults.
This document discusses using GDB to relearn C programming. It provides background on using GDB to debug a simple embedded Ajax system called eServ. Key steps outlined include downloading and compiling eServ, using basic GDB commands like run, break, list, and next to observe the program's execution and set breakpoints. The goal is to analyze the system and gain skills in UNIX system programming development.
This document provides an overview of Lua tables and their use as different data structures. It discusses how Lua tables can be used as arrays, hash tables, matrices, linked lists, stacks, queues, sets and more. It covers common table operations like creation, accessing and modifying elements, iterating over elements, and more. The document aims to explain how to adapt Lua tables to represent multiple data structures.
The document discusses load balancing for a large GitHub Enterprise cluster with zero downtime requirements. It describes using OpenResty (Nginx + Lua) as a scripting platform to conduct traffic via code and enable features like customized request rate limiting. It also discusses using a blue/green deployment approach with two load balancer stacks and switching DNS records to route traffic between stacks for experiments. Key aspects of the infrastructure include testing Docker images and hosts with RSpec and Serverspec, using Vault for secret management, and blocking mode protection with Signal Sciences.
This document discusses making Linux capable of hard real-time performance. It begins by defining hard and soft real-time systems and explaining that real-time does not necessarily mean fast but rather determinism. It then covers general concepts around real-time performance in Linux like preemption, interrupts, context switching, and scheduling. Specific features in Linux like RT-Preempt, priority inheritance, and threaded interrupts that improve real-time capabilities are also summarized.
TIP1 - Overview of C/C++ Debugging/Tracing/Profiling ToolsXiaozhe Wang
?
This document provides an overview and comparison of various tools for debugging, profiling, and tracing C/C++ programs on Linux. It discusses concepts and implementations of debugging tools like gdb and Valgrind, profiling tools like gprof and perf, and tracing tools like strace, SystemTap, and LTTng. For each tool, it provides examples of common use cases and highlights strengths and limitations. The document aims to help developers select the appropriate tool based on their specific needs such as debugging memory errors, profiling performance bottlenecks, or tracing system calls.
This conference was .NET CONF Taiwan in 2022/12/10.
LangChain is one of the most mainstream frameworks for developing large language model applications. Its ease of use and simplicity enable developers to quickly build product prototypes. Azure Machine Learning is currently one of the most mainstream tools for AI research and application development. It offers comprehensive features and is well integrated with the Python and AI ecosystem.
This talk will introduce the basic concepts of LangChain, including key components such as Model, Chain, and Retriever, and will use the capabilities of Azure Machine Learning as examples. Additionally, it will discuss how to integrate LangChain into Azure Machine Learning and Azure Open AI, allowing developers to leverage the advantages of Azure Machine Learning to rapidly develop large language model applications.
Azure Web App on Linux @ Global Azure Bootcamp 2017 TaiwanWill Huang
?
這是 Will 保哥 於 2017/4/22 在 Global Azure Bootcamp 2017 Taiwan 的演講簡報,分享 Azure Web App on Linux 的服務架構、運作方式與注意事項。
Azure Web App on Linux 透過 Docker 容器技術,讓應用程式可以執行在原生 Linux 作業系統之上,這讓 Azure App Service 正式邁向跨平台的 PaaS 雲端服務。