adtech-blog.united.jp
2月, 2015 | UNITED アドテクブログ
http://adtech-blog.united.jp/archives/date/2015/02
ユナイテッド株式会社(以下、弊社)では 高速 大量配信 を実現するための技術の一つとして、Lua言語やGo言語によるシステム開発を行っています。 などの理由から代替の言語を考えるようになり、 同じnginxの拡張モジュールである ngx lua. 比較環境 SakuraVPS 2G(仮想3core) PHP: httpd-2.4 php5 module APC Lua: nginx-1.7.1 LuaJIT ngx lua httpdはサーバスペックに合わせた設定を、nginxはworker数を4にだけ変更しました。 処理内容: memcachedからJSONをgetし、配列の要素(文字列)を連結して表示する ApacheBenchでlocalhost宛に計測 ( ab -c 100 -n 10000 ‘http:/ 127.0.0.1:8000/test.php’ ). HTTP INTERNAL SERVER ERROR. HTTP INTERNAL SERVER ERROR. HTTP INTERNAL SERVER ERROR. Proudly powered by WordPress.
melikedev.com
CentOS Archives » Me Like Dev
http://melikedev.com/category/centos
Development tips, help, and suggestions for building performant websites. Linux – SELinux – SEModule – Compile .pp module from .te file. I recently ran into a situation where I needed to grant access to certain /home dirs in order to get puppetmaster started with SELinux enforcing. And I had to do it in such a way that I could keep the resulting “type enforcement” (.te) file in version control, this would allow me to track human readable changes. So I was able to create the audit policy to allow rsyslogd...
github.com
GitHub - cmarmo/iipsrv-astro: iipsrv is an advanced high-performance feature-rich image server for web-based streamed viewing and zooming of ultra high-resolution images.
https://github.com/cmarmo/iipsrv-astro
Iipsrv is an advanced high-performance feature-rich image server for web-based streamed viewing and zooming of ultra high-resolution images. Use Git or checkout with SVN using the web URL. This branch is 11 commits ahead, 79 commits behind ruven:master. Cannot retrieve the latest commit at this time. Failed to load latest commit information. IIPImage - High Resolution Streaming Image Server. Fast lightweight embeddable FastCGI server module. High performance with inbuilt configurable cache. If you use II...
docs.libmemcached.org
Flushing client buffers — libmemcached 1.1.0 documentation
http://docs.libmemcached.org/memcached_flush_buffers.html
Libmemcached 1.1.0 documentation. Flush and senf buffered commands. Compile and link with -lmemcached. Is used in conjunction with. MEMCACHED BEHAVIOR BUFFER REQUESTS. See memcached behavior(3) to flush all buffers by sending the buffered commands to the server for processing. A value of type. Is returned On success that value will be. To translate this value to a printable string. To find out more information please check: http:/ libmemcached.org/. Brian Aker, brian @. Trond Norbye, trond .
docs.libmemcached.org
Configuring Libmemcached — libmemcached 1.1.0 documentation
http://docs.libmemcached.org/libmemcached_configuration.html
Libmemcached 1.1.0 documentation. Include libmemcached-1.0/memcached.h. Compile and link with -lmemcached. Libmemcached implements a custom language for configuring and modifying servers. By passing in an option string you can generate a. Object that you can use in your application directly. SERVER= servername : optional port /? Provide a servername to be used by the client. Providing a weight will cause weighting to occur with all hosts with each server getting a default weight of 1. Set the nummber of ...
docs.libmemcached.org
Retrieving errors — libmemcached 1.1.0 documentation
http://docs.libmemcached.org/libmemcached/memcached_last_error_message.html
Libmemcached 1.1.0 documentation. Memcached last error message. Compile and link with -lmemcached. Memcached last error message(). Is used to return the last error message that the server responded too. If this error came from a specific server, its hostname and port will be provided in the error message. Memcached last error message returns a const char* which does not need to be de-allocated. If no error has occurred then it will return NULL. Incrementing and Decrementing Values.
docs.libmemcached.org
Introducing the C Client Library for memcached — libmemcached 1.1.0 documentation
http://docs.libmemcached.org/libmemcached.html
Libmemcached 1.1.0 documentation. Introducing the C Client Library for memcached. Compile and link with -lmemcached. LibMemcached is an open source C/C client library and tools for the memcached server ( http:/ memcached.org/. It has been designed to be light on memory usage, thread safe, and provide full access to server side methods. LibMemcached was designed to provide the greatest number of options to use Memcached. Some of the features provided:. Asynchronous and Synchronous Transport Support. Struc...
docs.libmemcached.org
Wiping clean the contents of a server — libmemcached 1.1.0 documentation
http://docs.libmemcached.org/memcached_flush.html
Libmemcached 1.1.0 documentation. Wiping clean the contents of a server. Wipe contents of memcached servers. Compile and link with -lmemcached. Is used to wipe clean the contents of memcached. A value of type. Is returned On success that value will be. To translate this value to a printable string. To find out more information please check: http:/ libmemcached.org/. Brian Aker, brian @. Wiping clean the contents of a server. Retrieving data from the server. Libmemcached 1.1.0 documentation.
docs.libmemcached.org
Incrementing and Decrementing Values — libmemcached 1.1.0 documentation
http://docs.libmemcached.org/memcached_auto.html
Libmemcached 1.1.0 documentation. Incrementing and Decrementing Values. Memcached increment with initial. Memcached decrement with initial. Memcached increment by key. Memcached decrement by key. Memcached increment with initial by key. Memcached decrement with initial by key. Compile and link with -lmemcached. Servers have the ability to increment and decrement keys (overflow and underflow are not detected). This gives you the ability to use memcached to generate shared sequences of values.