Skip to content

xqpmjh/Trickle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 

Repository files navigation

Name

Trickle - Being a fast, light weight, full stack web development framework based on OpenResty/Lua

Table of Contents

Status

This framework is production on Billion-Level service and under active development.

Synopsis

    # nginx.conf

	http {
		# usually you need to configure these path
	    lua_package_path "?.lua;./?.lua;/path/to/Trickle/openresty/?.lua;;";
	    # usually you need to local cache for high performance
	    lua_shared_dict lcache 10m;

		server {
		    listen 80;
		    server_name www.example.com;
		    ......

		    location / {
		    	# you need to turn it on when developing
	            #lua_code_cache off;
	            content_by_lua_file '/path/to/Trickle/openresty/index.lua';
		    }
		}
	}

Description

This framework is aim at replacing the very slow PHP at the beginning. After 2 years of gradually improvement and under billion level service practicing. It's time to let it exposure to help more people.

NOTICE: this framework only tell you what you SHOULD do with OpenResty/Lua, but not what you MUST do!

Back to TOC

Prerequisites

And nothing else...

Back to TOC

Caveat

The framework is not panacea, but depends on how you use it wisely.

Back to TOC

Author

Hao Jin "kim" (金昊) xqpmjh@gmail.com, kimbs.cn

Back to TOC

Copyright and License

This module is licensed under the BSD license.

Copyright (C) 2014, by Hao Jin "kim", kimbs.cn

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Back to TOC

See Also

Back to TOC

Releases

No releases published

Packages

No packages published

Languages