Memcachedã¿ããã«ãã£ãã·ã¥ãã¦ãããWebãµã¼ãã¹ãããã°ä¾¿å©ããã ã¨æã£ãã®ã§ï¼ä½ã£ã¦ã¿ãï¼ ããããã«HTTPã¢ã¯ã»ã¹ããã¨ï¼JSONããããï¼ set, get, delete, statsã®APIãããï¼ä½¿ãæ¹ã¯ä¸ã®ãªã³ã¯å ã«æ¸ããï¼ãªã³ã¯å ã®ã³ã¼ããã¯ãªãã¯ããã¨ãã®å ´ã§XHRãã¦è©¦ããï¼ ãã£ãã·ã¥ãªã®ã§ï¼Webãã¼ã¸ãã使ã£ã¦ä¾¿å©ã¿ãããªæããããªãã¦ï¼ä½ããã£ãã·ã¥ãå©ç¨ãããããã°ã©ã ãã使ãï¼ Rubyããå¤ãè¤æ°setãã¦åãå¤ãgetããä¾ï¼ãã®ããã«ï¼è¤æ°åæã«æä½ã§ããï¼ require 'net/http' require 'open-uri' http = Net::HTTP.new('webmemcache.appspot.com') response = http.post('/set', 'pi=3.14&e=2.7&namespace=te
{{#tags}}- {{label}}
{{/tags}}