Web??????????????????Gor
???????????? ???????[ 2015/9/10 13:40:08 ] ??????????????? ??????????
?????????? Web ??????????????
????Web ??????????????к?????? Apache ab??node-ab??Apache JMeter?? LoadRunner?? httperf????????Щ?????????????????
???????????????????????????
??????? Web ????????÷???????????????????????????? ????? RPC ???ù??????????? GET ?????Щ URL ???? API ????????????????????????????? HTTP ??????????????鷳??Tcpcopy ??????????????????????????????????????????????????????? Gor ????????
????Gor ?? Web ???????????????????
??????????????????????????????????????? Gor ??Gor ???? Golang д????? HTTP ???????????????????? LB ???? Varnish ??????????????????????????????????????????????κε???????? Staging ??????Dev ??????????????? HTTP ?????????????????????????
????Gor ?????
????Gor ??????????????С?????????????????????????????????μ??????????????????????Gor ?????????????????????????????ζ??????????????? API ????????????? HTTP ????????????滻 User-Agent?? ?????????Щ HTTP Header ??
????Gor ????????????????????????????????Gor ???? ElasticSearch ??????????????? ES ????????????
????Gor ?????????
???????? HTTP ?????????
????gor –input-raw :80 –output-http “http://staging.com”
????HTTP ???????????????
????gor –input-tcp :28020 –output-http “http://staging.com|10″
????HTTP ??????????С??
????gor –input-raw :80 –output-tcp “replay.local:28020|10%”
????HTTP ??????????????????
????gor –input-raw :80 –output-file requests.gor
????HTTP ???????????
????gor –input-file “requests.gor|200%” –output-http “staging.com”
????HTTP ????????????
????gor –input-raw :8080 –output-http staging.com –output-http-url-regexp ^www.
??????
??????? Golang д?? Gor ?????????ζ?????????????????????У??????????????????????????????????ò???????????檔
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11