<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Comments for page &quot;我的文章&quot;</title>
		<link>http://xsw.wikidot.com/forum/t-263856/</link>
		<description>Posts in the discussion thread &quot;我的文章&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Sun, 12 Jul 2026 18:46:52 +0000</lastBuildDate>
		
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-8150246</guid>
				<title>(no title)</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-8150246</link>
				<description></description>
				<pubDate>Sun, 24 May 2026 00:05:34 +0000</pubDate>
				<wikidot:authorName>QNYcoeMRWLQOsALKY</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>KCzbnQFHbrjdhcrG</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-8012252</guid>
				<title>(no title)</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-8012252</link>
				<description></description>
				<pubDate>Fri, 08 May 2026 13:28:16 +0000</pubDate>
				<wikidot:authorName>jfahnAyHVAYKxoRqpExjAN</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>PXxUVRvExBARWPrRoN</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-8011405</guid>
				<title>(no title)</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-8011405</link>
				<description></description>
				<pubDate>Fri, 08 May 2026 03:15:38 +0000</pubDate>
				<wikidot:authorName>gTeKFWvPxIcwrDOPcz</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>CUvFpndoxJqNtKvGYqnTVLe</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-7951636</guid>
				<title>(no title)</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-7951636</link>
				<description></description>
				<pubDate>Thu, 30 Apr 2026 06:29:06 +0000</pubDate>
				<wikidot:authorName>DIUTheacDMdGGLNCBhILrub</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>FiNSvJXoMdxKVTmiEeAdUQ</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-7803620</guid>
				<title>(no title)</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-7803620</link>
				<description></description>
				<pubDate>Tue, 14 Apr 2026 09:23:30 +0000</pubDate>
				<wikidot:authorName>hPoXDeOiVXUUOerdTxeCk</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>vvjCVOGhzmxBOGTxNgrFe</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-7645063</guid>
				<title>(no title)</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-7645063</link>
				<description></description>
				<pubDate>Thu, 19 Mar 2026 03:27:55 +0000</pubDate>
				<wikidot:authorName>poOTuafXrHCpVdPNqXWA</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>WjJZDpOUYJYDIJPpwapca</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-7629246</guid>
				<title>(no title)</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-7629246</link>
				<description></description>
				<pubDate>Sun, 15 Mar 2026 00:15:34 +0000</pubDate>
				<wikidot:authorName>pzybnABPMsNHHtXLq</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>YBXjiNCOVrxBMumRUt</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-7609635</guid>
				<title>(no title)</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-7609635</link>
				<description></description>
				<pubDate>Tue, 10 Mar 2026 13:37:22 +0000</pubDate>
				<wikidot:authorName>nwcmMFcCSkLVugGO</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>xnLggbAFiVOgHtFvVgEphV</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-7540196</guid>
				<title>(no title)</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-7540196</link>
				<description></description>
				<pubDate>Sat, 07 Feb 2026 17:30:35 +0000</pubDate>
				<wikidot:authorName>IodiOTPevJdvGsHGGpJq</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>LJdFfzxrrpUeMVnwmjL</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-7502672</guid>
				<title>(no title)</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-7502672</link>
				<description></description>
				<pubDate>Thu, 15 Jan 2026 11:56:24 +0000</pubDate>
				<wikidot:authorName>ISvNzhOCwkYDPGaPXfm</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>wvzIfLoEOarpTQPohLC</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-7367608</guid>
				<title>(no title)</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-7367608</link>
				<description></description>
				<pubDate>Mon, 27 Oct 2025 20:17:26 +0000</pubDate>
				<wikidot:authorName>tIGIimSzhMItOCaicqLYvwS</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>sElPzKfETSwNheIcRiU</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-2312976</guid>
				<title>请教许哥go动态创建对象问题</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-2312976</link>
				<description></description>
				<pubDate>Mon, 08 Jun 2015 15:07:57 +0000</pubDate>
				<wikidot:authorName>cinsue</wikidot:authorName>				<wikidot:authorUserId>2175780</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>许哥：go如何通过一个字串动态创建对象？<br /> 比如java里面，有myObject = class.forName(&quot;my.com.myObject&quot;);<br /> 假设有一个mysql库字串是 &quot;github/mysql&quot;，我如何像java一样动态得到这个mysql的接口或结构？比如假设可以 sqltest=newObject(&quot;github/mysql&quot;)?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-2240899</guid>
				<title>(no title)</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-2240899</link>
				<description></description>
				<pubDate>Fri, 27 Feb 2015 06:48:22 +0000</pubDate>
				<wikidot:authorName>嘿大伟</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>许哥您好，请教一个问题：<br /> golang http.ResponseWriter 的Write()方法，服务的QPS由3万降到7000。附上我的测试代码和boom测试结果：<br /> 现在我测试到的情况是这样的，如果我只填写http的header，那么服务端的处理速度很高，单纯测试（没有业务逻辑），QPS能达到3万，但是如果我添加payload，那么QPS就只能达到不足8000了，只有6000的样子。这个落差太大了，我尝试直接使用http.ResponseWriter 接口中的Write方法写入一个［50］Byte，效果一样。根据我的测试和你们的分析，应该是IO的问题，不过这个也太夸张了。<br /> func handleHeader(w http.ResponseWriter, r *http.Request) { w.Header().Set(&quot;Content-Length&quot;, &quot;0&quot;) }</p> <p>func handlePayload50(w http.ResponseWriter, r *http.Request) { w.Header().Set(&quot;Content-Length&quot;, &quot;50&quot;) w.Write(make([]byte, 50)) }</p> <p>func handlePayload128(w http.ResponseWriter, r *http.Request) { w.Header().Set(&quot;Content-Length&quot;, &quot;128&quot;) w.Write(make([]byte, 128)) }</p> <p>func handlePayload1024(w http.ResponseWriter, r *http.Request) { w.Header().Set(&quot;Content-Length&quot;, &quot;1024&quot;) w.Write(make([]byte, 1024)) }</p> <p>func main() { runtime.GOMAXPROCS(runtime.NumCPU()) http.HandleFunc(&quot;/header&quot;, handleHeader) http.HandleFunc(&quot;/payload50&quot;, handlePayload50) http.HandleFunc(&quot;/payload128&quot;, handlePayload128) http.HandleFunc(&quot;/payload1024&quot;, handlePayload1024) host := fmt.Sprintf(&quot;%s:%d&quot;, &quot;0.0.0.0&quot;, 5001) http.ListenAndServe(host, nil) }</p> <p>and the boom test result: ./boom -c 1000 -n 500000 -cpus 12 XXXXXX/header 500000 / 500000 Boooooooooooooooooooooooooooooooooooooooooooooooooooo! 100.00&#160;%</p> <p>Summary: Total: 12.8799 secs. Slowest: 3.2799 secs. Fastest: 0.0018 secs. Average: 0.0239 secs. Requests/sec: 38810.4907</p> <p>Status code distribution: [200] 499875 responses</p> <p>Response time histogram: 0.002 [1] | 0.330 [499306] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎ 0.657 [0] | 0.985 [0] | 1.313 [312] | 1.641 [0] | 1.969 [0] | 2.297 [0] | 2.624 [0] | 2.952 [0] | 3.280 [256] |</p> <p>Latency distribution: 10% in 0.0125 secs. 25% in 0.0172 secs. 50% in 0.0216 secs. 75% in 0.0257 secs. 90% in 0.0295 secs. 95% in 0.0327 secs. 99% in 0.0549 secs.</p> <p>./boom -c 500 -n 500000 -cpus 12 XXXXXX／payload128&#160;500000 / 500000 Boooooooooooooooooooooooooooooooooooooooooooooooooooo! 100.00&#160;%</p> <p>Summary: Total: 62.5205 secs. Slowest: 3.0714 secs. Fastest: 0.0112 secs. Average: 0.0601 secs. Requests/sec: 7997.1501 Total Data Received: 63998208 bytes. Response Size per Request: 128 bytes.</p> <p>Status code distribution: [200] 499986 responses</p> <p>Response time histogram: 0.011 [1] | 0.317 [495652] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎ 0.623 [0] | 0.929 [0] | 1.235 [4092] | 1.541 [0] | 1.847 [0] | 2.153 [0] | 2.459 [0] | 2.765 [0] | 3.071 [241] |</p> <p>Latency distribution: 10% in 0.0405 secs. 25% in 0.0436 secs. 50% in 0.0481 secs. 75% in 0.0546 secs. 90% in 0.0629 secs. 95% in 0.0731 secs. 99% in 0.1054 secs.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-1910891</guid>
				<title>(no title)</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-1910891</link>
				<description></description>
				<pubDate>Sun, 08 Dec 2013 09:03:11 +0000</pubDate>
				<wikidot:authorName>POPGO</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>我用erlang做过手机银行的服务端，效果还是不错的</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-1569022</guid>
				<title>(no title)</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-1569022</link>
				<description></description>
				<pubDate>Thu, 20 Sep 2012 08:57:00 +0000</pubDate>
				<wikidot:authorName>jianjun</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>许哥您好:</p> <p>看到您编写的winx, 我有一个问题请教, 为什么MFC的消息映射要提供_AFXDLL和非_AFXDLL两个implementation, 比如<br /> #ifdef _AFXDLL<br /> #define DECLARE_MESSAGE_MAP() private: static const AFX_MSGMAP_ENTRY _messageEntries[]; protected: static AFX_DATA const AFX_MSGMAP messageMap; static const AFX_MSGMAP* PASCAL _GetBaseMessageMap(); virtual const AFX_MSGMAP* GetMessageMap() const;<br /> #else<br /> #define DECLARE_MESSAGE_MAP() private: static const AFX_MSGMAP_ENTRY _messageEntries[]; protected: static AFX_DATA const AFX_MSGMAP messageMap; virtual const AFX_MSGMAP* GetMessageMap() const; #endif<br /> 为什么直接用非_AFXDLL的版本的不行? 非要用一个函数_GetBaseMessageMap()去取基类的messageMap?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-1338776</guid>
				<title>(no title)</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-1338776</link>
				<description></description>
				<pubDate>Sat, 31 Dec 2011 06:27:48 +0000</pubDate>
				<wikidot:authorName>cba</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>在执行单元的公平调度方面，还是请指点下：<br /> 比如我要做一个管理大量设备(成千上万)的程序，需要即时监控设备状态，erlang进程的公平调度性是适合这个场景的，golang在这点上机制如何？</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-1259155</guid>
				<title>(no title)</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-1259155</link>
				<description></description>
				<pubDate>Thu, 15 Sep 2011 06:28:11 +0000</pubDate>
				<wikidot:authorName>junlin</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>多谢许哥这么详细的说明，这样就清楚怎么选择了，多谢</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-1257457</guid>
				<title>golang vs. erlang</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-1257457</link>
				<description></description>
				<pubDate>Tue, 13 Sep 2011 09:40:41 +0000</pubDate>
				<wikidot:authorName>xushiwei</wikidot:authorName>				<wikidot:authorUserId>43919</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>如果你不考虑具体的使用场景，建议选择 golang。erlang 的适用范围相对狭窄。<br /> 两者目前都重服务端，所以客户端开发来说，都不是特别适合，如果非要用，建议用 golang。<br /> 服务端开发，如果团队比较小，喜欢函数式编程，而且网络模块偏重 io，逻辑不复杂，用 erlang 可以获得比 go 更好的性能，目前 go 语言在性能上还没做过非常大力度的优化。其他情况我建议用 golang。</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-1257400</guid>
				<title>(no title)</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-1257400</link>
				<description></description>
				<pubDate>Tue, 13 Sep 2011 07:36:49 +0000</pubDate>
				<wikidot:authorName>junlin</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>许哥，能说一下，go和erlang的一些比较吗？<br /> 哪一个更适合大规模的实际应用？<br /> 多谢</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://xsw.wikidot.com/forum/t-263856#post-867908</guid>
				<title>如何让本站不出现广告？</title>
				<link>http://xsw.wikidot.com/forum/t-263856/#post-867908</link>
				<description></description>
				<pubDate>Wed, 08 Sep 2010 17:04:16 +0000</pubDate>
				<wikidot:authorName>xushiwei</wikidot:authorName>				<wikidot:authorUserId>43919</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>这些广告的受益者并非本人，而是 Wikidot。我个人从不掩饰对 Wikidot 的喜爱，它给了我想要的东西，我们为它赚点广告费，我觉得这是很正常事情。Wikidot 也是很有原则的一家公司，她对客户的尊重是我喜爱她的另一个重要原因，<strong>要想进入本站而不出现广告很简单，注册个 Wikidot 账号，在浏览本站的时候保持登录状态就好了，你会看到一个很干净的界面。</strong></p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>