2017/02/16 Developers Summit 2017
Recently, I've started implementing a number of Redis-based solutions for a Datablend customer. Redis is frequently referred to as the Swiss Army Knife of NoSQL databases and rightfully deserves that title. At its core, it is an in-memory key-value datastore.Recently, Iâve started implementing a number of Redis-based solutions for a Datablend customer. Redis is frequently referred to as the Swiss
openresty(ngx_openresty) ã¨ãã¦é å¸ããã¦ã tarãã¼ã«ã使ã㨠æã£åãæ©ã Nginx 㧠Lua +α ããç°å¢ãä½ãã¾ããè¶ ä¾¿å©ã ä¸ä¾: OSXã®å ´å äºåã« homebrew ãå ¥ãã¦ããã¦ã brew install prce wget http://agentzh.org/misc/nginx/ngx_openresty-1.0.11.28.tar.gz tar xvfz ngx_openresty-1.0.11.28.tar.gz cd ngx_openresty-1.0.11.28 ./configure --with-luajit \ --prefix=~/ngx_openresty-1.0.11.28 \ --with-cc-opt="-I/usr/local/Cellar/pcre/8.21/include" \ --with-ld-op
人éã¨ã¦ã§ãã®æªæ¥ï¼æ§ï¼ ãã¦ã§ãã®æ´å²ã¯äººé¡ã®æ´å²ã®ç¹°ãè¿ããã¨ãã観ç¹ããè²ã åå¼·ãã¦ãã¾ãã2014å¹´ã¾ã§ã®äººéã¨ã¦ã§ãã®æªæ¥ã®æ§ããã°ã§ãã ã¨ããã¤ã¤ããããã¾ã§å¤§ãããã¨ã¯ãã¦ããªãã luaã¨ããé«éã«åä½ããçµã¿è¾¼ã¿ç³»ã®ã¹ã¯ãªããè¨èªã§éãã§ã¿ããã£ãã®ã¨ãããã ã£ãmod_luaã§éãã§ã¿ãã°ãããªã¨æã£ãã ãã§ãããã§ãå®éã«mod_luaãã³ã³ãã¤ã«ãã¦éãã§ã¿ããã³ã³ãã¤ã«ãªãã·ã§ã³ã¯ä»¥ä¸ã ./configure --prefix=/usr/local/apache2.4 --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr --enable-modules=all --enable-mods-shared=all --enable-mpms-shared='prefork worker event' -
Lua ã¹ã¯ãªããæ©è½ãã¼ã¸ã§ã³ã®æ°ãããã¡ã¼ã ã¦ã§ã¢ã¯ãåºæ¬çã«ä»¥åã®ãã¼ã¸ã§ã³ã§ãµãã¼ãããæ©è½ãå«ã¿ã¾ãã詳細㯠Lua è¨èªã®ææ³ã¨ã©ã¤ãã©ãªé¢æ°ãåç §ãã¦ãã ããã ç¨èªã®å®ç¾© Lua ã¿ã¹ã¯ ... Lua ã¹ã¯ãªãããå®è¡ããããã«ã«ã¼ã¿ã¼ã® OS ã«ç¨æããã¦ããå°ç¨ã®ã¿ã¹ã¯ã§ãã lua ã³ãã³ãç¨ã« 8 åãDOWNLOAD ãã¿ã³ããã®å®è¡ç¨ã« 1 åãLua ã³ã³ãã¤ã©ç¨ã« 1 åã®è¨10å (*1) ãäºãç¨æããã¦ãã¾ããããããã®ã¿ã¹ã¯ã¯ç¬ç«ãã¦ããã®ã§ Lua ã¿ã¹ã¯ã®æ大æ°ã¾ã§åæèµ°è¡ãå¯è½ã§ãã (*1) DOWNLOAD ãã¿ã³éæè¼æ©ç¨®ãããã³ãSRT100ã§ã¯ãDOWNLOADãã¿ã³ããã®å®è¡ç¨ã®ã¿ã¹ã¯ãé¤ãã9åã®ã¿ã¹ã¯ãç¨æããã¦ãã¾ãã 詳細 Lua ã¹ã¯ãªããã®å®è¡æ¹æ³ã¨å®è¡ç°å¢ 管çã¦ã¼ã¶ã¼æ¨©éã§ã«ã¼ã¿ã¼ã«ãã°ã¤ã³ã㦠lua ã³ãã³ãã
ããã«ã¡ã¯ãéçºé¨æå¾ã®è¯å¿ãmikioã§ããä»åã¯Luaå¦çç³»ã®ä¸¦ååã¨ããã§ã®Kyoto Cabinetã®å©ç¨æ³ã«ã¤ãã¦ãç´¹ä»ãã¾ãã ãµã¼ããµã¤ãã¹ã¯ãªããã£ã³ã°ã¨ããã°Lua Kyoto Cabinetã®Luaãã¤ã³ãã£ã³ã°ã¯å¾åãã«ãã¦Kyoto Tyrantçãªãµã¼ãã®è¨è¨ãé²ãã¦ããã®ã§ããããã¯ããã®ãµã¼ãã«ãã¹ã¯ãªããã£ã³ã°æ©è½ãæãããããªãã¾ãããã¤ã¾ãããµã¼ããããã©ã«ãã§æä¾ããæ©è½ç¾¤ã ãã§ãªããã¦ã¼ã¶ãã¹ã¯ãªããè¨èªã§è¨è¿°ããä»»æã®æ©è½ã追å ãã¦å©ç¨ã§ããããã«ããã¨ãããã¨ã§ãã Tokyo Tyrantã§ã¯Luaæ¡å¼µã¨å¼ã°ããæ©è½ãç¨ãã¦ãããå®ç¾ãã¦ãã¾ãããµã¼ãã®èµ·åæã«Luaã®ã¹ã¯ãªãããè¨è¿°ãããã¡ã¤ã«ãèªã¿è¾¼ã¾ãã¦ãããã§å®ç¾©ããé¢æ°ããªã¢ã¼ãããå¼ã³åºããããã«ãã¦ãã¾ããããã§å®è¡ãããLuaã®å¦çç³»ã«ã¯TTã管çãããã¼ã¿ãã¼ã¹ãæä½ãããã
æè¿ãåºç¤ææ³æéãã¹ã¿ã¼ã¨ããããã°ã©ãã³ã°è¨èªã®è§£èª¬ãæµè¡ã£ã¦ããããªã®ã§ã便ä¹ãã¦ã¿ããå人çã«ã¯C++ãPythonã®æ¹ãæ £ã親ããã§ããã®ã ããèªåã§ãåå¼·ã§ããããã«æ®æ®µä½¿ã£ã¦ããªãè¨èªãæ¸ãã¦ã¿ããã¨ã«ããã以åã«ããã®ããã°ã§è¨åããè¨èªãProcessingãErlangãLuaãPowerShellãªã©ã®ä¸ã§ãErlangã¨Luaã«èå³ããã£ãã®ã§ãæ¯è¼çæ¸ããããLuaãé¸ãã§ã¿ãã ä½æ Luaãªã®ã? Wikipediaã«ããã¨ãLuaã¯ãã©ã¸ã«ã»ãªãªãã¸ã£ãã¤ãã®ã«ããªã«å¤§å¦ã§çã¾ããæç¶ãåè¨èªã ãé«éãªåä½ãé«ã移æ¤æ§ãçµã¿è¾¼ã¿ã®å®¹æããç¹å¾´ã ãã¾ãããã¹ãããã°ã©ã ã¸ã®çµã¿è¾¼ã¿ã容æã§ãããã¨ããã£ã¦ãã³ã³ãã¥ã¼ã¿ã²ã¼ã ãªã©ã§å©ç¨ããã¦ãããæåã©ããã§ã¯ãPlayStation HomeãWorld of Warcraftãªã©ããããã¾ããå°é£¼å¼¾æ°ããªãã¦
ãã©ã¯ã¨ã®ãã¬ã¼æéãã¤ãã«150æéãçªç ´ãã¦å¦»ã®è¦ç·ãçãmikioã§ããä»åã¯ãããããCMSãTokyo Promenadeãã«ã¹ã¯ãªããè¨èªLuaãçµã¿è¾¼ãã§ã«ã¹ã¿ãã¤ãºããæ¹æ³ã«ã¤ãã¦è¿°ã¹ã¾ãã ãªãã¹ã¯ãªããè¨èªå¦çç³»ãçµã¿è¾¼ãã®ã Tokyo Promenadeï¼TPï¼ã¯Cã§æ¸ããã¦ãã¦è»½éã§é«éã«å®è¡ã§ããCMSã§ããPerlãRubyãªã©ã®ã¹ã¯ãªããè¨èªã§æ¸ãããCMSã¯ãã®ã½ã¼ã¹èªä½ãç·¨éãã¦æ¹è¯ããã®ã容æã§ãããCã®å ´åã¯åã³ã³ãã¤ã«ä½æ¥ãå¿ è¦ã ãä¸æã«æãåºãã¨ã¡ã¢ãªç ´å£ãªã©ã®è´å½çãªãã°ãå ¥ãã¦ãã¾ãå¯è½æ§ãæ¯è¼çé«ãã®ã§ãã½ã¼ã¹èªä½ãç·¨éãã¦ã«ã¹ã¿ãã¤ãºãè¡ãã®ã¯ç¾å®çã§ã¯ããã¾ããã ããã§ãTPã§ã¯ãã¬ã¼ã³ãã¼ã·ã§ã³å±¤ã®æ©è½ãã§ããã ããã³ãã¬ã¼ãå´ã«å§è²ãããã¨ã¨ãã«ãããã«è£ 飾ã®å¤ãã¯CSSãç·¨éããã ãã§å¤æ´ã§ããããã«é æ ®ãã¦ãã¾ãããã³ãã¬ã¼ã
By Ilya Grigorik on July 13, 2009 Tokyo Cabinet is a trove of hidden of gems, the more you learn about it, the more you will appreciate the design and technical decisions behind it. By database standards it is a young project (started in 2007), but since it is a successor to the QDBM project developed by Hirabayashi-san (2000-2007), we could make the argument that it has been, in fact, nine years
apacheã®2.4ç³»ãã Luaã§apacheã®ããã¯ãå¶å¾¡ã§ãã mod_luaã¢ã¸ã¥ã¼ã«ãå ¥ãã¨ãããã¿ãè¦ãããã®ã§ãsvnã®trunkç(2.3.*) ãå¼ã£å¼µã£ã¦è©¦ãã¦ã¿ã¾ããã (å ã mod_wombatã¨ããååã§éçºããã¦ãã¢ã¸ã¥ã¼ã«ã2.4ç³»ããã¯mod_luaã¨ãã¦ãªãªã¼ã¹ãããã£ã¦çµç·¯ã½ããããã¥ã¡ã³ãã¯ãã¡ã) ç¾ç¶ã®mod_luaã§ãµãã¼ããã¦ãApacheã®ããã¯ã¯ä¸è¨ã®éãã«ãªãã¾ãã ap_hook_translate_name ap_hook_map_to_storage ap_hook_header_parser ap_hook_access_checker ap_hook_check_user_id ap_hook_auth_checker ap_hook_type_checker ap_hook_fixups ap_hook_insert_fil
The module formally known as mod_wombat was renamed mod_lua, and has pulled into the Apache HTTP Server trunk, and will be part of the future 2.4 stable release. For an example of why it is cool, lets look at replacing a common task with mod_rewrite: Blocking Image Theft. The HTTPD wiki even has an example of how to do this for us: RewriteEngine on RewriteCond %{HTTP_REFERER} !="" RewriteCond %{HT
é ãã®å¤ä¼ã¿ã§é£é å¡©åã«è¡ã£ã¦ããmikioã§ããç§å ´ã§ã¢ã«ãã«ã«è§¦ã£ã¦ããã®ã§ããããã¡ãããããã£ãã§ãããã¦ä»åã¯ãTokyo Tyrantï¼TTï¼ã«ã¹ã¯ãªããè¨èªLuaã®å¦çç³»ãçµã¿è¾¼ãã§ä½¿ãæ¹æ³ã«ã¤ãã¦è§£èª¬ãã¾ãã ã¤ããLuaã£ã¦ä½ï¼ Luaï¼å ¬å¼ãµã¤ãã«ããã¨ããã¼ãï¼LOO-ahï¼ãã¨çºé³ï¼ã¨ããè¨èªã®ååã¯èãããã¨ããã£ã¦ããæ°ãããã¤ãã¼è¨èªã®ã²ã¨ã¤ã¨æã£ã¦ç¹ã«æ°ã«ããã¦ããªã人ãå¤ãã¨æãã¾ããç§ãããã§ãããããããä»ã§ã¯ãCè¨èªä½¿ãã®ç¬¬2è¨èªã»ç¬¬3è¨èªã¨ãã¦ä½¿ãã«ã¯ã¨ã¦ãææãªè¨èªã ã¨æã£ã¦ãã¾ãã Luaã«é¢ããæ¥æ¬èªã®æ å ±ã¯ã¾ã å¤ãã¯ãªãã®ã§ããã以ä¸ã®ãµã¤ããé ã«èªãã¨ã ãããã®é°å²æ°ãæ´ããã¨æãã¾ãã Lua ã§çµãã§ã¿ã Lua 5.1 ãªãã¡ã¬ã³ã¹ããã¥ã¢ã« Luaã¯è¨èªä»æ§ãå°ããã®ã§ãã¨ã¦ãç¿å¾ããããã§ããä¸è¨ã®ãªãã¡ã¬ã³ã¹ããã¥ã¢ã«ã ãèªã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}