Bloggerã«ç§»è¡ãã¦ã¿ãï¼ã®å·»ï¼
ã¯ãï¼ã®ã¥ã³ã°ããï¼
ãã¯ã¦ãªãã¤ã¢ãªã¼ãéããªããããã¨ã³ããªã¼æ¸ãæãè¥å¹²ã¹ãã¬ã¹ãæããããã
ãã¨ãã©ãã©ã¤ãã®æåãè¥å¹²ä¸æºããããã
ã¨ãããã¨ã§ãããå®å®ãã¦ãããéãããã°ç°å¢ãæ±ãã¦ãBloggerã«ç§»è¡ãã¦ã¿ããã¨ã
段éçã«è² è·ãããã¦ãOpenPNE3.6beta13ã¨OpenPNE2.14.9ã®è² è·æ§è½ãæ¯è¼ãã¦ã¿ãï¼ã®å·»ï¼
昨日ã«å¼ãç¶ãè² è·æ§è½ã®æ¯è¼ã§ããã¨ã
段éçã«è² è·ãå¢ããã¦ã®éçãã¹ãããã£ã¦ã¿ã¾ãããã¨ã
å¹³åã¬ã¹ãã³ã¹ã¿ã¤ã ã5ç§ä»¥å ãªã¨ããã§ããã¨ã
- OpenPNE3.6beta13(Doctrineçã»ã³ã¢ã ãã»ãã¤ãã¼ã ã«ã¢ã¯ã»ã¹)
- PVã¯ãç´700PV/å(ç´11PV/ç§)
- httpdã®å¹³åã¡ã¢ãªä½¿ç¨éã¯ãç´35MB
- å¹³åã¬ã¹ãã³ã¹ã¿ã¤ã ã¯ãç´5ç§
- OpenPNE2.14.9(ãã¤ãã¼ã ã«ã¢ã¯ã»ã¹)
- PVã¯ãç´1500PV/å(ç´25PV/ç§)
- httpdã®å¹³åã¡ã¢ãªä½¿ç¨éã¯ãç´13MB
- å¹³åã¬ã¹ãã³ã¹ã¿ã¤ã ã¯ãç´2.5ç§
ãªæãã§ãããã¼
段éçãªè² è·ã®ä¸ãæ¹ã¯ã15ç§ã«1æ¥ç¶ãã¤å¢ããã¦ããæãã§ããã¾ããã
ãªããOpenPNE2.14.9ãå°»ãã¼ã¿ãªã®ãæ°ã«ãªã(ãããã¯ã¼ã¯ã®èª¿åããããããªã£ãå¯è½æ§ãã)ãªã®ã§ãå試é¨ãã¦ã¿ãããªããwww
è² è·ããããã®ã«ä½¿ã£ãã®ã¯ãä»åãããã«ä½ã£ãâã§ããã¾ãã
https://github.com/rysk92/webapp_monitor/blob/master/reqsan_manager.py
OpenPNE3.6beta13ã¨OpenPNE2.14.9ã®è² è·æ§è½ã®æ¯è¼ãã¦ã¿ãï¼ã®å·»ï¼
å
æ¥ã®芭蕉1,2,3サーバ達ã§ãOpenPNE3.6ç³»ã¨OpenPNE2.14ç³»ã§ã©ã®ãããã®è² è·æ§è½ã®å·®ãããã®ãæ°ã«ãªã£ãã®ã§ãã£ã¦ã¿ãã
- OpenPNE3.6beta13(Doctrineçã»ã³ã¢ã ãã»ãã¤ãã¼ã ã«ã¢ã¯ã»ã¹)
- PVã¯ãç´290PV/å(ç´4.8PV/ç§)
- httpdã®å¹³åã¡ã¢ãªä½¿ç¨éã¯ãç´34MB
- å¹³åã¬ã¹ãã³ã¹ã¿ã¤ã ã¯ãç´2ç§
- OpenPNE2.14.9(ãã¤ãã¼ã ã«ã¢ã¯ã»ã¹)
- PVã¯ãç´500PV/å(ç´8.3PV/ç§)
- httpdã®å¹³åã¡ã¢ãªä½¿ç¨éã¯ãç´13MB
- å¹³åã¬ã¹ãã³ã¹ã¿ã¤ã ã¯ãç´1ç§
OpenPNE2.14.9ã®æ¹ã¯Apacheã®MaxClientã¨ããããã°ãããå°ãæ績ä¸ãããããªæ°ããããªã
ã¡ãªã¿ã«ã¡ã³ãã¼æ¤ç´¢ã§ããã¨âã2.14.9ã¯æ¡ä»¶ãªãã®æ¤ç´¢ã§ãè¤éãªã¯ã¨ãªæã£ã¦ããããã¾ããããªãããã
- OpenPNE3.6beta13(Doctrineçã»ã³ã¢ã ãã»38ä¸äººã®ãã¼ã¿ã§ã¡ã³ãã¼æ¤ç´¢ã«ã¢ã¯ã»ã¹)
- PVã¯ãç´150PV/åããã
- httpdã®å¹³åã¡ã¢ãªä½¿ç¨éã¯ãç´37MB
- å¹³åã¬ã¹ãã³ã¹ã¿ã¤ã ã¯ã3ã4ç§
- OpenPNE2.14.9(38ä¸äººã®ãã¼ã¿ã§ã¡ã³ãã¼æ¤ç´¢ã«ã¢ã¯ã»ã¹)
- PVã¯ãç´5PV/å
- httpdã®å¹³åã¡ã¢ãªä½¿ç¨éã¯ãç´55MB
- å¹³åã¬ã¹ãã³ã¹ã¿ã¤ã ã¯ãç´50ç§
- time time ab -n 10000 -c 10 -C PHPSESSID=[ã»ãã·ã§ã³ã®å¤] "http://op214.example.com/?m=pc&a=page_h_search_result&nickname=&birth_year=&birth_month=&birth_day=&profile[sex]=0&profile[blood_type]=0&profile[pre_addr_pref]=0&profile[old_addr_pref]=0&profile[self_intro]=" ã¿ãããªæãã
ã§ãèå³æ¬ä½ã§ããã ã®Hello World!ã ã¨ã©ã®ããããªãã ããï¼ãã¨æã£ãã®ã§ããã£ã¦ã¿ãã
- OpenPNE2.14.9(38ä¸äººã®ãã¼ã¿ã§ã¡ã³ãã¼æ¤ç´¢ã«ã¢ã¯ã»ã¹)
- PVã¯ãç´9000PV/å(150PV/ç§)
- httpdã®å¹³åã¡ã¢ãªä½¿ç¨éã¯ãç´5MB
- å¹³åã¬ã¹ãã³ã¹ã¿ã¤ã ã¯ãç´0.2ããªç§
ãªãã»ã©ã
ã¡ãªã¿ä½¿ã£ãã¹ã¯ãªããã¨ãã¯âã«ç½®ããã
https://github.com/rysk92/doc/tree/master/20110824_webapp_monitor_openpne
ã¯ãï¼OpenPNE3.2.7.5(Doctrineçã»ã³ã¢ã ã)ã®è² è·æ¤è¨¼ç°å¢æ§ç¯æ¹æ³ï¼ã®å·»ï¼
1) ã¾ãèè1ãèè3ã«OpenPNE3ãã»ããã¢ãã
git clone git://github.com/openpne/OpenPNE3.git op32doctrine.example.com cd op32doctrine.example.com git checkout OpenPNE-3.2.7.5 cp config/ProjectConfiguration.class.php{.sample,} cp config/OpenPNE.yml{.sample,} php symfony openpne:permission cd plugins/ git clone git://github.com/ebihara/opAuthMailAddressPlugin.git cd ../ php symfony plugin:publish-assets mysql -h [èè3ã®IP] -u db_user -p CREATE DATABASE op32doctrine_example_com DEFAULT CHARACTER SET utf8; cat > config/databases.yml <
2) èè2ããè² è·ãããã
time ab -n 10000 -c 10 -C OpenPNE_pc_frontend=[cookieã®å¤] http://op32doctrine.example.com/member/search
(大ä½103åãããã ã£ã)
ã¯ãï¼OpenPNE3.4.15(Doctrineçã»ã³ã¢ã ã)ã®è² è·æ¤è¨¼ç°å¢æ§ç¯æ¹æ³ï¼ã®å·»ï¼
1) ã¾ãèè1ãèè3ã«OpenPNE3ãã»ããã¢ãã
git clone git://github.com/openpne/OpenPNE3.git op34doctrine.example.com cd op34doctrine.example.com git checkout OpenPNE-3.4.15 cp config/ProjectConfiguration.class.php{.sample,} cp config/OpenPNE.yml{.sample,} php symfony openpne:permission cd plugins/ git clone git://github.com/ebihara/opAuthMailAddressPlugin.git cd ../ php symfony plugin:publish-assets mysql -h [èè3ã®IP] -u db_user -p CREATE DATABASE op34doctrine_example_com DEFAULT CHARACTER SET utf8; cat > config/databases.yml <
2) èè2ããè² è·ãããã
time ab -n 10000 -c 10 -C OpenPNE_pc_frontend=[cookieã®å¤] http://op34doctrine.example.com/member/search
(大ä½103åãããã ã£ã)
ã¯ãï¼OpenPNE3.6beta13(Doctrineçã»ã³ã¢ã ã)ã®è² è·æ¤è¨¼ç°å¢æ§ç¯æ¹æ³ï¼ã®å·»ï¼
1) ã¾ãèè1ãèè3ã«OpenPNE3ãã»ããã¢ãã
git clone git://github.com/openpne/OpenPNE3.git op36doctrine.example.com cd op36doctrine.example.com git checkout OpenPNE-3.6beta13 cp config/ProjectConfiguration.class.php{.sample,} cp config/OpenPNE.yml{.sample,} php symfony openpne:permission cd plugins/ git clone git://github.com/ebihara/opAuthMailAddressPlugin.git cd ../ php symfony plugin:publish-assets mysql -h [èè3ã®IP] -u db_user -p CREATE DATABASE op36doctrine_example_com DEFAULT CHARACTER SET utf8; cat > config/databases.yml <
2) èè2ããè² è·ãããã
time ab -n 10000 -c 10 -C OpenPNE_pc_frontend=[cookieã®å¤] http://op36doctrine.example.com/member/search
(大ä½70åãããã ã£ã)
ã¯ãï¼OpenPNE3.6beta11(Propelæ¹é çã»ã³ã¢ã ã)ã®è² è·æ¤è¨¼ç°å¢æ§ç¯æ¹æ³ï¼ã®å·»ï¼
1) ã¾ãèè1(Web)ãèè3(DB)ã«OpenPNE3ãã»ããã¢ãã
git clone -b propel git://github.com/upsilon/OpenPNE3.git op36propel.example.com git submodule init git submodule update cd plugins/sfPropel15Plugin/lib git clone -b 1.6 git://github.com/Xosofox/propelVendor.git vendor cd ../../../ cp config/ProjectConfiguration.class.php{.sample,} cp config/OpenPNE.yml{.sample,} php symfony openpne:permission cd plugins/ git clone git://github.com/ebihara/opAuthMailAddressPlugin.git cd ../ php symfony plugin:publish-assets cat > config/databases.yml <insert.php < beginTransaction(); for ($i = 2; $i <= 380000; $i++) { echo 'member: '.$i."\n"; $member = new Member(); $member->setName('dummy'.$i); $member->setIsActive(true); $member->save(); } $con->commit(); EOF time php insert.php (大ä½5åãããã ã£ã)
2) èè2ããè² è·ãããã
time ab -n 10000 -c 10 -C OpenPNE_pc_frontend=[cookieã®å¤] http://op36propel.example.com/member/search
(大ä½50åãããã ã£ã)