本文已被:浏览 1757次 下载 3166次
Received:November 09, 2015 Revised:December 12, 2015
Received:November 09, 2015 Revised:December 12, 2015
中文摘要: Lua是一种小巧的脚本语言,它的易扩展性与整合性,使得它可以与别的语言很好的融合在一起,实现各种各样的需求,因此它的应用非常的广泛.本文利用Lua脚本语言与标准C语言相结合,在Linux操作系统上设计并实现了一个轻量级的Web服务器程序.Lua脚本语言的引入,使Web服务器不仅易于配置和安装,而且可以在那些无法负担IIS的主机上顺畅地运行;还进一步提高了服务器的运行速度,并增强了服务器的灵活性和扩展性.
Abstract:Lua is a tiny script language. Its good expansibility and integration make it easy to integrate to other languages and then implements all kinds of applications. So it is widely used. This paper designs and realizes a lightweight web server procedure in linux operating system by using lua scripting language and standard c language. Using the Lua scripting language, not only makes a Web server easy to configure and install, but also can run smoothly in those who cannot afford the IIS hosts; it further improves the running speed of the server, and enhance the flexibility and extensibility of the server.
文章编号: 中图分类号: 文献标志码:
基金项目:浙江省教育厅项目(Y201328256)
引用文本:
林巧,杨坚坚.Lua语言在轻量级Web服务器设计中的应用.计算机系统应用,2016,25(7):124-129
LIN Qiao,YANG Jian-Jian.Application of Lua Language in Lightweight Web Server Design.COMPUTER SYSTEMS APPLICATIONS,2016,25(7):124-129
林巧,杨坚坚.Lua语言在轻量级Web服务器设计中的应用.计算机系统应用,2016,25(7):124-129
LIN Qiao,YANG Jian-Jian.Application of Lua Language in Lightweight Web Server Design.COMPUTER SYSTEMS APPLICATIONS,2016,25(7):124-129