Friday, April 27, 2012
Spring short vacation 2012
In Japan, last week of April and first week of May are short vacation weeks. Of course, I take a short vacation, so I suspend posts and comments to this blog for a moment. Resume will be May 7, 2012.
Tuesday, April 24, 2012
Arguments of set command on memcached telnet (2)
Labels:
memcached
(continued from phosphorescence: Arguments of set command on memcached telnet (1))
3rd argument : expiration time
3rd argument(e.g. 0) is the expiration time. If you set zero to this argument, there is no expiration. If you set any positive numbers, value is deleted automatically after the seconds of expiration time.set some_key 2 15 1 c STORED get some_key VALUE some_key 2 1 c ENDAfter 15 seconds,
get some_key
END4th argument : byte length
4th argument(e.g. 1) is the byte length of value.set some_key 3 0 1 d STORED replace some_key 3 0 1 HeCLIENT_ERROR bad data chunk llo World ERROR replace some_key 3 0 11 Hello World STORED get some_key VALUE some_key 3 11 Hello World END
Saturday, April 21, 2012
Ruby 1.9.3-p194 has been released, and mruby
Labels:
Ruby
In yesterday, Ruby 1.9.3 p194 has bean released.
And, mruby has opened its repository. This is the first release not only for embedded environment but also based on Ruby's ISO. Currently, mruby is a pre-trial version, but, I checked succeeding to compile with gcc/bison(Linux, MinGW) and to do "Hello World".
And, mruby has opened its repository. This is the first release not only for embedded environment but also based on Ruby's ISO. Currently, mruby is a pre-trial version, but, I checked succeeding to compile with gcc/bison(Linux, MinGW) and to do "Hello World".
Thursday, April 19, 2012
Arguments of set command on memcached telnet (1)
Labels:
memcached
On memcached telnet, set command has 4 arguments:
Of course, 1st argument(e.g. some_key) is the key. But, what are rest of arguments?
set some_key 0 0 1
Of course, 1st argument(e.g. some_key) is the key. But, what are rest of arguments?
Monday, April 16, 2012
Subscribe to:
Posts (Atom)