???????
????????????Щ???????????Web Service??????????????Java(REST+SOAP)??Node.js(REST)???Щ????????????????????????????Node??????????????Java???????????????1?????????
????NodeJS???????????????????????????沢????????????й?????????濪?????????ò???????????????????????????????????????д???/?????????????????????????NodeJS???и???????????????????????????????????????nodejs???????????????????????????????CPU???????????
??????μ?:?????????Ngix_Lua??Node.JS Python????????????????php????????PayPal?????Java????Node.js
???????????


?????1???????????????????????????????????????/???


?????2????????????????????

?????????????????????????REST??cache???????HTTP verbs??????Insert=PUT??Fetch=GET??Remove=DELETE)???????????????timeouts(Node)??scheduled threads(Java)????ɡ???????????????????????REST???????????????PUT/DELETE)
????????Java SOAP???????cache????????????HTTP POST SOAP????????
??????ò??


?????3??????Cache??Java REST????????Apache Tomcat+Jersey(servlet)???????


?????4??????Cache??Java SOAP????????Apache Tomcat+Axis2(servlet)???????


?????5???Node??á?????????????worker??


????????


?????6:??????????????

????Java+Node REST??????????
????ab-A username:password-u restput.txt-n 1000-c 1 https://server/ctispan/rest/key/111>results.txt
????restput.txt
????value=test111
????Java SOAP??????????
????ab-A client:password-T"application/soap+xml;charset=UTF-8"-p soapget.xml-n 1000-c 1
????https://server/ctispan/services/CacheProxyWS.CacheProxyWSHttpSoap11Endpoint/>
????results.txt
????soapget.xml
????<?xml version='1.0'encoding='UTF-8'?>
????<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body>
????<ns1:getValue xmlns:ns1="http://server.ctispan.jwisoft.com"><ns1:key>111</ns1:key>
????</ns1:getValue></soapenv:Body></soapenv:Envelope>
????Java SOAP??????????
????ab-A client:password-T"application/soap+xml;charset=UTF-8"-p soapput.xml-n 1000-c 1
????https://server/ctispan/services/CacheProxyWS.CacheProxyWSHttpSoap11Endpoint/>results.txt
????soapput.xml
????<?xml version='1.0'encoding='UTF-8'?>
????<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
????<soapenv:Body><ns1:putValue xmlns:ns1="http://server.ctispan.jwisoft.com">
????<ns1:key>111</ns1:key><ns1:value>text111</ns1:value></ns1:putValue>
????</soapenv:Body></soapenv:Envelope>