???????? ???????????????
??????????


????
???????????


????
??????? ?????????????
????1. ??????????
????DataFactory??????????????????????????????????QA????????????????????????????????????ù??????DB2??Oracle?? Sybase??SQL Server????????ODBC?????????????????MySQL?????????????
????2. ???????????
??????1?? ???????????Ч?????????????????C???????????????JS??????????????Loadrunner ?? Node.js ??IDE???????п?????
??????2?? ???????????Ч???????????????????????????????????C#??Java?????????????????VS2008??????汾 + ???LR.NET??? ???? Eclipse4.0??????汾 + JDK1.7??????汾??
????HTTP??Socket??Э?????????????????????????????????
????HTTP???????????????????????????????.pdf
????????LR.Net?????????????????д????.pdf
????Node.js?????????.pdf
????3. ????????
??????1?? ???Java?????????????????????500?????????Jmeter???? Loadrunner??
??????2?? ???WebService?????????????????????500?????????SoapUI????Loadrunner??
??????3?? ???????????????500???????5000?????????Loadrunner??
??????4?? ???????????????5000??????????????????????“?п??Control Center??+ ???????Load Generator??”??????
????4. ?????????
????4.1 ??????
????????Windows??Linux???????????????????????????????????????Loadrunner ?? Nmon ???????????????????????Щ??????????????????????????????????????????????÷?????????????????£?

????4.2 ?????
???????????????????????????????????????????м????????????????????MRTG??????????CACTI??????????????????Smokeping:IDC ??????????????Nagios??Zenoss??Ganglia ??Zabbix??Sitescope??Hyperic HQ ????????????

????4.3 ??????????????APM??
????APM???????????????????????????????????????????????????????????????????????????磬?????????????????Java??.NET??PHP??Ruby??Python??Node.js??iOS??Android??HTML5????????????????????????????????OneAPM????????????

??????? ?????????????
????1. ??????

???????????????????????????????????????????????????????????????????????????????????????檔?????????????????????????????????????????????????????????????????

??????1?? ???????????????
????????????????????????????Ч?????????β?????????????????????????????????????????????????????????????????
????a.?????b.?????c.??????
??????2?? ???????????????
??????????????????????????????
????a.??????????????????????????????????????????????????
????b.?????:????????7*24С?(???)?????????
??????3?? ???????????????
????????????????????????????????????

????????????????????????????????????????????????????????????????????????????????????????????????????????????
???????????????????????????????????????????????Mysql??Oracle??SQLServer?????????????迼????????????????′洢??????????????????????????????????£?
??????1?? ????????Connections??
??????2?? ???????/???????????QPS/TPS??
??????3?? ??????IO????IOPS??
??????4?? ???????????Buffer Hits??
??????5?? ???????????????Dead Locks/sec??
??????6?? ????/д???????Read/Write Bytes/sec??
????????Windows??Linux?????????????????????????????????
??????Windows??????????????????????V1.0??.pdf
??????Linux??????????????????V1.0??.docx
????2. ???????
????2.1 ????????

?????????????1?????????????????????????????????????????????????????Utilization????????????????????????????????Throughput?????????????????????????????Response Time?????????????????????????????????????Number of Concurrent Users?????????????
?????????????????????????????????????????????????????????????????????????????????????????仯????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????ü???????????????????????????????????????????????????????????Χ???????????????????????????????????
??????????????????????л??????????????????Light Load??????????????Heavy Load??????????????Buckle Zone?????????????????????????Light Load??Heavy Load ?????????紦??????????????????“????????????The Optimum Number of Concurrent Users??”????Heavy Load??Buckle Zone?????????紦??????????????“???????????The Maximum Number of Concurrent Users??”??
????????????????????????????????????Ч????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Щ???????????????????????????????????????????????????Щ????????????????????????????????????????????????????????????????????
????2.2 ????仯???

?????????λ????????????????????????????????????????????????????????TPS ????????Щ??????????仯????????????????ɡ?
??????У?
????a ???????????
????b ?????????????????????????
????c ???????????????
????d ?????????????????
????2.3 ???????????

????????????????????????
????1. ????????????????????????????С??????PV??
????2. ?????????????????????С??????PV??
???????????
???????С?PV????????? = ???С??????PV?? — ???С??????PV??
??????????????????????????????????????????????70????????????????1??????????????????1000??????????14????????????
???????С?PV?????????? = ??????С??????PV?? * 14 — ??????С??????PV??
??????????????????? = / 365 = 2.74 % ????????????δ???????????1000?????????? ??
?????????PV?????????? = ???С?PV?????????? * ??????????????? * 24
??????????????????????????????????£?
??????????????????????? = ???С?PV????????? * 24 / ?????PV??????????
??????????????????????????????????????????????????????????????
??????????????????????? — ??????????????
??????? ?????????????
????1. ???м????????????ɡ?
????2. ???м????????????????????á?
????3. ???????????????????????????