All of Perconaâs open-source software products, in one place, to download as much or as little as you need.
All of Perconaâs open-source software products, in one place, to download as much or as little as you need.
TheC10kProblem - ãC10Kåé¡ãï¼ã¯ã©ã¤ã¢ã³ã1ä¸å°åé¡ï¼ã¨ã¯ããã¼ãã¦ã§ã¢ã®æ§è½ä¸ã¯åé¡ããªãã¦ãããã¾ãã«ãã¯ã©ã¤ã¢ã³ãã®æ°ãå¤ããªãã¨ãµã¼ãããã³ã¯ããåé¡ã®ã㨠ç®æ¬¡ ãã®ææ¸ã«ã¤ã㦠C10K åé¡ é¢é£ãµã¤ã ã¾ãèªãã¹ãæ¬ I/O ãã¬ã¼ã ã¯ã¼ã¯ I/O æ¦ç¥ 1. åã¹ã¬ãããè¤æ°ã®ã¯ã©ã¤ã¢ã³ããåãä»ãã. ããã¦ãã³ããããã³ã° I/O 㨠ã¬ãã«ã»ããªã¬åã®å®äºéç¥ãå©ç¨ãã. ä¼çµ±ç㪠select() ä¼çµ±ç㪠poll() /dev/poll kqueue() 2. åã¹ã¬ãããè¤æ°ã®ã¯ã©ã¤ã¢ã³ããåãä»ãã. ããã¦ãã³ããããã³ã° I/O 㨠å¤æ´åã®å®äºéç¥(readiness change notification)ãå©ç¨ãã. kqueue() epoll ãªã¢ã«ã¿ã¤ã ã»ã·ã°ãã« fd åä½ã®ã·ã°ãã« (Signal-per-fd)
ããã«ã¡ã¯ãtagomorisã§ããISUCON2 ã¨ããã¤ãã³ãã§ä¸»ã«ã¬ã®ã¥ã¬ã¼ã·ã§ã³ãèããããã³ããã¼ã¯ãã¼ã«ãä½ã£ãããã¦ãã¾ãããæ®æ®µã¯NHN Japan ã¦ã§ããµã¼ãã¹æ¬é¨ã¨ããã¨ããã§åãã¦ãã¾ãã å æ¥ISUCON2ã¯å¹¸ãã«ã大好è©ã®ãã¡ã«çµäºãã¾ãããããã®ãé¡ããã³é¢ä¿ãã話é¡ããã²å¤ãã®äººã«ãç¥ã£ã¦ããã ãããï¼ ã¨ããããã®ã¾ã¾æ¨ã¦ãã¨ãã¡ãã£ã¨ãã£ãããªãï¼ ã¨ãããã¨ããããä½æ¥å¯¾è±¡ã®ã¢ããªã±ã¼ã·ã§ã³ã³ã¼ããããã³ãã³ããã¼ã¯ãã¼ã«ä¸å¼ãå ¬éãã¦ãã¾ãã ãã®ã¨ã³ããªã§ã¯ããããç¨ãã¦ä¸å¼ãåä½ãããã家åºã§ãISUCON2ãåç¾ã§ãããããããã¤ãã®æé ãã説æãã¦ããã¾ãããã²ã¿ãªããã楽ããISUCON2ã©ã¤ããæºå«ãã¦ãã ããã ããããã ã½ã¼ã¹ã³ã¼ãä¸å¼ http://github.com/tagomoris/isucon2 ISUCON2éå¬æã®ã³
Twitterãããã³ãã¨ã³ãã®ã¢ã¼ããã¯ãã£ãè¦ç´ããWebãã¼ã¸ã®èªã¿è¾¼ã¿é度ãæ¹åãããã¨ãããã°ã§æããã«ãã¦ãã¾ãã æ°ããã¢ã¼ããã¯ãã£ã§ã¯ãããã¾ã§Webãã©ã¦ã¶ä¸ã§JavaScriptã®å¦çã«ãã£ã¦è¡ã£ã¦ããWebãã¼ã¸ã®ã¬ã³ããªã³ã°ãè¦ç´ãããµã¼ãå´ã§ã¬ã³ããªã³ã°æ¸ã¿ã®HTMLãã¼ã¸ãéä¿¡ã表示ãããã¨ã«ãã¦ãã¾ããããã«ãã£ã¦Webãã¼ã¸ã®èªã¿è¾¼ã¿ããæåã®ãã¤ã¼ãã®è¡¨ç¤ºã¾ã§ã®æéãå¤§å¹ ã«ç縮ããããã¨ã«ãªãã¾ããã When we shipped #NewTwitter in September 2010, we built it around a web application architecture that pushed all of the UI rendering and logic to JavaScript running on our usersâ
PHPã使ãä¸ã§ãã©ãæ¸ãã°é«éã«ãªããï¼ããã®å ´ã§è©¦ãããã³ããã¼ã¯çµææºè¼ãªãµã¤ã 2011å¹´05æ23æ¥- Benchmarks PHPã使ãä¸ã§ãã©ãæ¸ãã°é«éã«ãªããï¼ããã®å ´ã§è©¦ãããã³ããã¼ã¯çµææºè¼ãªãµã¤ããããããã§ãã åããã¨ãããã®ã«è¤æ°ã®æ¸ãæ¹ããã£ãããã¾ããã2ã¤ã®æ¸ãæ¹ã並ã¹ã¦ããããã©ã¡ããã©ãã ãããã£ããã¨ããçµæãè¨è¼ããã¦ãã¦é¢ç½ãã§ãã ã§ããã®ãããããã£ããï¼ã¨ããç§æ°ãããã¼ã¸ä¸ã§ãªã¢ã«ã¿ã¤ã ã«è¨ç®ããããªãã¼ãããã¨å®è¡ãããå®è¡ã¿ã¤ã ã表示ããã¾ãã ãµã¤ãã®ä½è ç°å¢ã«ããæ¯è¼ã§ã¯ãªãããã®å ´ã§åãã¦ä½åº¦ã試ããã®ã§èªåã§ãã®å·®ã確èªã§ããã®ãGoodã å人çã«ã¯é·å¹´PHPããã£ã¦ããã®ã§ããç¥ããªãã£ãç©ãå¤ã ãããé常ã«åå¼·ã«ãªãã¾ããã 1åã®ãã¼ãã§ã¯çµæãå¤ã«ãªããã¨ãããã®ã§ããµã¼ãã®è² è·ã«ãªããªãç¨åº¦ã«æ°å確èªããã¦ãã
December 2014Â (1) February 2014Â (1) January 2014Â (1) September 2012Â (1) April 2012Â (1) March 2012Â (2) October 2011Â (1) June 2011Â (5) May 2011Â (1) April 2011Â (1) March 2011Â (1) February 2011Â (1) January 2011Â (1) December 2010Â (1) September 2009Â (1) April 2009Â (1) March 2009Â (1) January 2009Â (3) November 2008Â (2) October 2008Â (1) December 2005Â (2) October 2005Â (2) September 2005Â (2) August 2005Â (7)
T/O CTOããæãã¦ããã£ããã§ãããæ¤ç´¢çµæã®ãã¼ã¸ãFireBugã®Netã§è¦ãã¨ãããªæãã«ï¼ èªãã§ãã¤ã¡ã¼ã¸ã¯ããã ãã¶ãjsã§åã£ã¦ããã ã¨æãã¾ããããã¡ããè¶ å§ç¸®ããã¦ãå¾¹åºã¶ãã åå·çããã¨ã¯ãã®æ¥çããè³ã«ããæ ¼è¨ã§ãããã»ãã¨ã«è±å¸½ãã®ã®åå·çã£ã·ãã§ããGoogleããããã
AWSã¢ããã³ã¹ãã³ã³ãµã«ãã£ã³ã°ãã¼ããã¼ã®ä¸å¡ã¨ãã¦æ´»åããæ ªå¼ä¼ç¤¾ã¹ã¿ã¤ã«ãºããAWSå°å ¥ã移è¡ãéçºãã»ãã¥ãªãã£ãéç¨ä¿å®ãªã©ããã¹ã¦ã®ãç¸è«ã«ä¹ããã¦ããã ãã¾ãã AWSãå°å ¥ããããä½ããå§ããããããããããªã æ¢åã®ãã³ãã¼ãæ°æè¡ã«å¼±ããè¯ãææ¡ãããããªã ã¯ã©ã¦ãã®å°å ¥ã«ã»ãã¥ãªãã£ã®ä¸å®ããã AWSãã¨ããããå°å ¥ããããããã«æ´»ç¨ãã¦ãããã 社å ã«AWSã®ç¥è¦ãæã£ã¦ãã人ãããªã AWSãªãã§ã¯ã®ã·ã¹ãã éçºã詳ããç¥ããã
以åãã»ãã·ã§ã³ç®¡çã«åãã¦ãããã¼ã¿ãã¼ã¹ã¯ MySQL ? Oracle ?ãã¨ããè¨äºã§ Oracle 㨠MySQL ã®ããã©ã¼ãã³ã¹å·®ã«ã¤ãã¦æ¸ãããã¨ãããã¾ãããæ°å¹´åº¦ã®æè¡éçºã«åãã¦ã¾ãæ¹ãã¦æ¤è¨¼ããã¦ãã¾ããä¸ã®ä¸ãããããªäºæ 㧠åç¨ DB ã使ã£ã¦ãã人ã¯å¤§å¢ããã§ããããOracle ã使ã£ã¦ã»ãã·ã§ã³ç®¡çãããå¿ è¦ã ã£ã¦ãããããããªãã ã¨è¨ãããã§ä»åã¯ãOracle ã§ã»ãã·ã§ã³ç®¡çãããªãã©ãããï¼ç·¨ã§ããæ¯è¼å¯¾è±¡ã¨ã㦠MySQL ã§ã®ããã©ã¼ãã³ã¹ãè¨æ¸¬ãã¦ãã¾ããOracle ã¨ã MySQL ã¯å®è¡ç°å¢ã§ããã©ã¼ãã³ã¹ãçµæ§ç°ãªãã®ã§ãä¸å¿æ¤è¨¼ç°å¢ã¯ãããªãããã æ¤è¨¼ãã·ã³ã¹ãã㯠VMware 6.0.6000 ä¸ã«æ§ç¯ãã raw-disk ã¿ã¤ãã®ä»®æ³ç°å¢ Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz mem
調ã¹ãã¨ãããã®ã§ blog ã«æ¸ãã¦ç解ãæ·±ãããã®ã³ã¼ãã¼ã§ããé·æã§ãã Linux ã§ã·ã¹ãã è² è·ãè¦ãå ´åã«ãä¸è©±ã«ãªãã®ã top ã sar (sysstat ããã±ã¼ã¸ã«å梱ããã¦ãã³ãã³ã) ãªã©ã®ãã¼ã«ã§ãã top ã§ã¯ã·ã¹ãã çµ±è¨ã®ã¹ãããã·ã§ãããè¦ããã¨ãã§ãã¾ããä»ã·ã¹ãã ãã©ãããç¶æ ããªã¼ã¨ããã¨ã㯠top ã便å©ã top - 08:16:54 up 3 days, 14:43, 6 users, load average: 0.18, 0.07, 0.03 Tasks: 43 total, 2 running, 41 sleeping, 0 stopped, 0 zombie Cpu(s): 18.2% us, 0.0% sy, 0.0% ni, 81.8% id, 0.0% wa, 0.0% hi, 0.0% siä¸æ¹ã® sar ã§ã¯10åãã¨ã®ã·
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}