<?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;Task&quot;</title>
		<link>http://www.wikidot.com/job:task/comments/show</link>
		<description></description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://www.wikidot.com/job:task/comments/show#post-604895</guid>
				<title>Submitting my solution</title>
				<link>http://www.wikidot.com/job:task/comments/show#post-604895</link>
				<description></description>
				<pubDate>Fri, 09 Oct 2009 13:13:56 +0000</pubDate>
				<wikidot:authorName>slawekwu</wikidot:authorName>				<wikidot:authorUserId>387724</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>After the T/O but anyway :)</p> <p>4000/5000 req / sec, C2D, no matter cache is populated or not ;)</p> <div class="code"> <pre> <code>Concurrency Level: 100 Time taken for tests: 2.148 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 33527250 bytes HTML transferred: 31050000 bytes Requests per second: 4654.52 [#/sec] (mean) Time per request: 21.484 [ms] (mean) Time per request: 0.215 [ms] (mean, across all concurrent requests) Transfer rate: 15239.59 [Kbytes/sec] received</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/job:task/comments/show#post-604856</guid>
				<title>(no title)</title>
				<link>http://www.wikidot.com/job:task/comments/show#post-604856</link>
				<description></description>
				<pubDate>Fri, 09 Oct 2009 12:01:16 +0000</pubDate>
				<wikidot:authorName>michal frackowiak</wikidot:authorName>				<wikidot:authorUserId>1</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Yep, we are digging through solutions — we will try to meet a few authors next week.</p> <p>Thanks for all the submissions!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/job:task/comments/show#post-604830</guid>
				<title>(no title)</title>
				<link>http://www.wikidot.com/job:task/comments/show#post-604830</link>
				<description></description>
				<pubDate>Fri, 09 Oct 2009 11:16:17 +0000</pubDate>
				<wikidot:authorName>TeRq</wikidot:authorName>				<wikidot:authorUserId>381827</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>time out :&gt;</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/job:task/comments/show#post-604768</guid>
				<title>(no title)</title>
				<link>http://www.wikidot.com/job:task/comments/show#post-604768</link>
				<description></description>
				<pubDate>Fri, 09 Oct 2009 08:38:31 +0000</pubDate>
				<wikidot:authorName>michal frackowiak</wikidot:authorName>				<wikidot:authorUserId>1</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Still 82 minutes left for submissions…</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/job:task/comments/show#post-601536</guid>
				<title>(no title)</title>
				<link>http://www.wikidot.com/job:task/comments/show#post-601536</link>
				<description></description>
				<pubDate>Mon, 05 Oct 2009 12:42:26 +0000</pubDate>
				<wikidot:authorName>michal frackowiak</wikidot:authorName>				<wikidot:authorUserId>1</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>@terq<br /> I did some tuning to my PHP config, and see the whooping performance of your solution:</p> <div class="collapsible-block"> <div class="collapsible-block-folded"><a class="collapsible-block-link" href="javascript:;" >+&nbsp;with&nbsp;empty&nbsp;cache&nbsp;-c&nbsp;5</a></div> <div class="collapsible-block-unfolded" style="display:none"> <div class="collapsible-block-unfolded-link"><a class="collapsible-block-link" href="javascript:;" >-&nbsp;hide</a></div> <div class="collapsible-block-content"> <div class="code"> <pre> <code>mf ~$ ab -n 10000 -c 5 http://127.0.0.3/wikidot This is ApacheBench, Version 2.3 &lt;$Revision: 655654 $&gt; Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 127.0.0.3 (be patient) Completed 1000 requests Completed 2000 requests Completed 3000 requests Completed 4000 requests Completed 5000 requests Completed 6000 requests Completed 7000 requests Completed 8000 requests Completed 9000 requests Completed 10000 requests Finished 10000 requests Server Software: lighttpd/1.4.22 Server Hostname: 127.0.0.3 Server Port: 80 Document Path: /wikidot Document Length: 3799 bytes Concurrency Level: 5 Time taken for tests: 14.626 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 39867866 bytes HTML transferred: 37990000 bytes Requests per second: 683.72 [#/sec] (mean) Time per request: 7.313 [ms] (mean) Time per request: 1.463 [ms] (mean, across all concurrent requests) Transfer rate: 2661.98 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.3 0 7 Processing: 1 7 135.2 3 6029 Waiting: 0 7 134.4 3 6029 Total: 1 7 135.2 3 6029 Percentage of the requests served within a certain time (ms) 50% 3 66% 4 75% 4 80% 5 90% 6 95% 7 98% 9 99% 10 100% 6029 (longest request)</code> </pre></div> </div> </div> </div> <div class="collapsible-block"> <div class="collapsible-block-folded"><a class="collapsible-block-link" href="javascript:;" >+&nbsp;with&nbsp;pre-populated&nbsp;cache&nbsp;-c&nbsp;5</a></div> <div class="collapsible-block-unfolded" style="display:none"> <div class="collapsible-block-unfolded-link"><a class="collapsible-block-link" href="javascript:;" >-&nbsp;hide</a></div> <div class="collapsible-block-content"> <div class="code"> <pre> <code>mf ~$ ab -n 10000 -c 5 http://127.0.0.3/wikidot This is ApacheBench, Version 2.3 &lt;$Revision: 655654 $&gt; Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 127.0.0.3 (be patient) Completed 1000 requests Completed 2000 requests Completed 3000 requests Completed 4000 requests Completed 5000 requests Completed 6000 requests Completed 7000 requests Completed 8000 requests Completed 9000 requests Completed 10000 requests Finished 10000 requests Server Software: lighttpd/1.4.22 Server Hostname: 127.0.0.3 Server Port: 80 Document Path: /wikidot Document Length: 3657 bytes Concurrency Level: 5 Time taken for tests: 8.840 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 38440100 bytes HTML transferred: 36570000 bytes Requests per second: 1131.17 [#/sec] (mean) Time per request: 4.420 [ms] (mean) Time per request: 0.884 [ms] (mean, across all concurrent requests) Transfer rate: 4246.33 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.3 0 10 Processing: 1 4 12.0 3 414 Waiting: 0 4 12.0 3 414 Total: 1 4 12.0 3 414 Percentage of the requests served within a certain time (ms) 50% 3 66% 4 75% 4 80% 5 90% 6 95% 7 98% 9 99% 13 100% 414 (longest request)</code> </pre></div> </div> </div> </div> <div class="collapsible-block"> <div class="collapsible-block-folded"><a class="collapsible-block-link" href="javascript:;" >+&nbsp;with&nbsp;pre-populated&nbsp;cache&nbsp;-c&nbsp;100</a></div> <div class="collapsible-block-unfolded" style="display:none"> <div class="collapsible-block-unfolded-link"><a class="collapsible-block-link" href="javascript:;" >-&nbsp;hide</a></div> <div class="collapsible-block-content"> <div class="code"> <pre> <code>mf ~$ ab -n 10000 -c 100 http://127.0.0.3/wikidot This is ApacheBench, Version 2.3 &lt;$Revision: 655654 $&gt; Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 127.0.0.3 (be patient) Completed 1000 requests Completed 2000 requests Completed 3000 requests Completed 4000 requests Completed 5000 requests Completed 6000 requests Completed 7000 requests Completed 8000 requests Completed 9000 requests Completed 10000 requests Finished 10000 requests Server Software: lighttpd/1.4.22 Server Hostname: 127.0.0.3 Server Port: 80 Document Path: /wikidot Document Length: 3758 bytes Concurrency Level: 100 Time taken for tests: 7.912 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 39462824 bytes HTML transferred: 37583758 bytes Requests per second: 1263.88 [#/sec] (mean) Time per request: 79.121 [ms] (mean) Time per request: 0.791 [ms] (mean, across all concurrent requests) Transfer rate: 4870.73 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 2 4.1 1 44 Processing: 14 77 15.7 76 147 Waiting: 14 74 14.8 73 138 Total: 17 79 15.0 77 148 Percentage of the requests served within a certain time (ms) 50% 77 66% 81 75% 85 80% 88 90% 97 95% 106 98% 122 99% 126 100% 148 (longest request)</code> </pre></div> </div> </div> </div> <p>I cannot complete the test with -c 100 the cache is not populated, because I am getting <tt>apr_poll: The timeout specified has expired (70007)</tt> — probably to many concurrent outgoing connections and the thing is not reliable. Also could be Mac-specific. Strange, since I am using only 10 PHP processes to handle the traffic. Should work.</p> <p>Anyway, nice performance.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/job:task/comments/show#post-601439</guid>
				<title>(no title)</title>
				<link>http://www.wikidot.com/job:task/comments/show#post-601439</link>
				<description></description>
				<pubDate>Mon, 05 Oct 2009 09:41:22 +0000</pubDate>
				<wikidot:authorName>TeRq</wikidot:authorName>				<wikidot:authorUserId>381827</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>@michal frackowiak<br /> thx,<br /> but I thought about my script on U testing Environment ;) [starting with clean cache]<br /> (test was mailed from: <span class="wiki-email">lp.qret|tkatnok#lp.qret|tkatnok</span>)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/job:task/comments/show#post-601435</guid>
				<title>(no title)</title>
				<link>http://www.wikidot.com/job:task/comments/show#post-601435</link>
				<description></description>
				<pubDate>Mon, 05 Oct 2009 09:32:37 +0000</pubDate>
				<wikidot:authorName>michal frackowiak</wikidot:authorName>				<wikidot:authorUserId>1</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <div class="code"> <pre> <code>ab -n 10000 -c 100 http://127.0.0.4:8081/task.php</code> </pre></div> <div class="collapsible-block"> <div class="collapsible-block-folded"><a class="collapsible-block-link" href="javascript:;" >+&nbsp;Show&nbsp;the&nbsp;result</a></div> <div class="collapsible-block-unfolded" style="display:none"> <div class="collapsible-block-unfolded-link"><a class="collapsible-block-link" href="javascript:;" >-&nbsp;Hide</a></div> <div class="collapsible-block-content"> <div class="code"> <pre> <code>This is ApacheBench, Version 2.3 &lt;$Revision: 655654 $&gt; Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 127.0.0.1 (be patient) Completed 1000 requests Completed 2000 requests Completed 3000 requests Completed 4000 requests Completed 5000 requests Completed 6000 requests Completed 7000 requests Completed 8000 requests Completed 9000 requests Completed 10000 requests Finished 10000 requests Server Software: lighttpd/1.4.22 Server Hostname: 127.0.0.4 Server Port: 8081 Document Path: /task.php Document Length: 2861 bytes Concurrency Level: 100 Time taken for tests: 12.056 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 29920000 bytes HTML transferred: 28610000 bytes Requests per second: 829.44 [#/sec] (mean) Time per request: 120.563 [ms] (mean) Time per request: 1.206 [ms] (mean, across all concurrent requests) Transfer rate: 2423.52 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 1 0.9 0 21 Processing: 31 119 15.5 119 217 Waiting: 28 116 15.2 115 211 Total: 34 120 15.4 120 217 WARNING: The median and mean for the initial connection time are not within a normal deviation These results are probably not that reliable. Percentage of the requests served within a certain time (ms) 50% 120 66% 123 75% 125 80% 127 90% 133 95% 142 98% 161 99% 196 100% 217 (longest request)</code> </pre></div> </div> </div> </div> <p>This is on a 64-bit Mac. FastCGI and eAccelerator might be adding some extra boost here, but this setup is new so I did not bother to much tuning. The real application have other bottlenecks.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/job:task/comments/show#post-601431</guid>
				<title>(no title)</title>
				<link>http://www.wikidot.com/job:task/comments/show#post-601431</link>
				<description></description>
				<pubDate>Mon, 05 Oct 2009 09:22:24 +0000</pubDate>
				<wikidot:authorName>TeRq</wikidot:authorName>				<wikidot:authorUserId>381827</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>@michal frackowiak</p> <blockquote> <p>BTW: are you using APC or eAccelerator?</p> </blockquote> <p>no i dont… (as I know)</p> <p>could u past me benchmark from U testing Environment 10000/100<br /> I`m so curious</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/job:task/comments/show#post-601423</guid>
				<title>(no title)</title>
				<link>http://www.wikidot.com/job:task/comments/show#post-601423</link>
				<description></description>
				<pubDate>Mon, 05 Oct 2009 09:06:05 +0000</pubDate>
				<wikidot:authorName>michal frackowiak</wikidot:authorName>				<wikidot:authorUserId>1</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Well, not necessarily to anyone particular, but we have solutions that go down below 1 req/s. Honestly I have not seen your solution yet (Piotr did not share it, still waiting), but 80 req/s is reasonable, especially if you machine can do 400 max.</p> <p>And we have also written our own solutions to this task and we are getting ~ 800 req/s when data is in the cache, on a dual-core 2.6GHz machine. But there are many external factors, hardware and software.</p> <p>We will go through it, probably together with authors of solutions. No worries.</p> <p>BTW: are you using APC or eAccelerator?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/job:task/comments/show#post-601405</guid>
				<title>(no title)</title>
				<link>http://www.wikidot.com/job:task/comments/show#post-601405</link>
				<description></description>
				<pubDate>Mon, 05 Oct 2009 08:24:45 +0000</pubDate>
				<wikidot:authorName>TeRq</wikidot:authorName>				<wikidot:authorUserId>381827</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I‘m not sure, is that hint for me…<br /> if so, the higher performance on my PC its a some kind of abstraction :&gt;<br /> ma machine handle ~400req/s on<br /> &lt;?php echo ’Hello world.'; ?&gt;<br /> script ;)<br /> so 80req/s its an magnificent result<br /> Of course in my opinion.</p> <p>Yes, I could throw out OO api (from main page cache) and use some inline scripting but is it wourth ??</p> <p>regards</p> <p>PS. Script was already send to <span class="wiki-email">moc.todikiw|rtoip#moc.todikiw|rtoip</span></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/job:task/comments/show#post-601384</guid>
				<title>(no title)</title>
				<link>http://www.wikidot.com/job:task/comments/show#post-601384</link>
				<description></description>
				<pubDate>Mon, 05 Oct 2009 07:33:56 +0000</pubDate>
				<wikidot:authorName>michal frackowiak</wikidot:authorName>				<wikidot:authorUserId>1</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>A small hint is that if</p> <p>1. the data is already in the cache,<br /> 2. you optimize the part of your script that displays the data</p> <p>you could get a few hundreds of req/s quite easily. But performance aside, we really look much more at overall design (even with such a small task) and elegance of code, which reflects your coding habits.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/job:task/comments/show#post-601082</guid>
				<title>Benchmark ;&gt;</title>
				<link>http://www.wikidot.com/job:task/comments/show#post-601082</link>
				<description></description>
				<pubDate>Sun, 04 Oct 2009 20:03:48 +0000</pubDate>
				<wikidot:authorName>TeRq</wikidot:authorName>				<wikidot:authorUserId>381827</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hello,</p> <p>testing environment:<br /> CPU: AMD Athlon 2000+<br /> RAM: 768MB DDR1<br /> HDD: 40GB Seagate Baracuda</p> <p>My test :D</p> <div class="collapsible-block"> <div class="collapsible-block-folded"><a class="collapsible-block-link" href="javascript:;" >+&nbsp;10000/100&nbsp;(starting&nbsp;with&nbsp;clean&nbsp;cache)&nbsp;Memcached</a></div> <div class="collapsible-block-unfolded" style="display:none"> <div class="collapsible-block-unfolded-link"><a class="collapsible-block-link" href="javascript:;" >-&nbsp;hide</a></div> <div class="collapsible-block-content"> <div class="code"> <pre> <code>terq@kotki:~$ ab -n 10000 -c 100 http://localhost/wikidot This is ApacheBench, Version 2.3 &lt;$Revision: 655654 $&gt; Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking localhost (be patient) Completed 1000 requests Completed 2000 requests Completed 3000 requests Completed 4000 requests Completed 5000 requests Completed 6000 requests Completed 7000 requests Completed 8000 requests Completed 9000 requests Completed 10000 requests Finished 10000 requests Server Software: Apache/2.2.11 Server Hostname: localhost Server Port: 80 Document Path: /wikidot Document Length: 3879 bytes Concurrency Level: 100 Time taken for tests: 120.146 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 41762240 bytes HTML transferred: 38941281 bytes Requests per second: 83.23 [#/sec] (mean) Time per request: 1201.461 [ms] (mean) Time per request: 12.015 [ms] (mean, across all concurrent requests) Transfer rate: 339.45 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 516 204.7 519 1136 Processing: 25 680 515.2 614 6593 Waiting: 5 612 519.2 522 6593 Total: 607 1196 433.7 1139 6747 Percentage of the requests served within a certain time (ms) 50% 1139 66% 1145 75% 1154 80% 1168 90% 1326 95% 1410 98% 1534 99% 4426 100% 6747 (longest request)</code> </pre></div> </div> </div> </div> <p>Cant make 10000/1000… its kiling my PC :&gt;</p> <p>Now writeing readme, then pack everything and sending it to wikidot.com</p> <p>gl ALL</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/job:task/comments/show#post-600811</guid>
				<title>(no title)</title>
				<link>http://www.wikidot.com/job:task/comments/show#post-600811</link>
				<description></description>
				<pubDate>Sun, 04 Oct 2009 11:48:49 +0000</pubDate>
				<wikidot:authorName>Gabrys</wikidot:authorName>				<wikidot:authorUserId>2462</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>@plisken: Featured Sites section is on the very center of <a href="http://www.wikidot.com/">http://www.wikidot.com/</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/job:task/comments/show#post-600790</guid>
				<title>(no title)</title>
				<link>http://www.wikidot.com/job:task/comments/show#post-600790</link>
				<description></description>
				<pubDate>Sun, 04 Oct 2009 10:47:34 +0000</pubDate>
				<wikidot:authorName>plisken</wikidot:authorName>				<wikidot:authorUserId>385390</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Just of the curiosity — this "Featured Sites" section is where exactly?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/job:task/comments/show#post-599203</guid>
				<title>(no title)</title>
				<link>http://www.wikidot.com/job:task/comments/show#post-599203</link>
				<description></description>
				<pubDate>Fri, 02 Oct 2009 07:36:07 +0000</pubDate>
				<wikidot:authorName>michal frackowiak</wikidot:authorName>				<wikidot:authorUserId>1</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Here is a small hint for developers:</p> <p>The displayed result <span style="text-decoration: underline;">does not need to be shockingly up-to-date</span>. The information listed on the main page (<a href="http://www.wikidot.com">http://www.wikidot.com</a>) is also cached for some period of time.</p> <p>It should be more important to create an efficient way of fetching and displaying data and handling dozens of req/s than displaying up-to-date content. This is why we encourage using Memcached.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>