<p>I'm working on an imageboard (think 4chan, Futaba, etc) server written in Go. It's designed to be powerful and easy to use, with an intuitive GUI. It can run as a standalone server or a FastCGI backend. It's very fast and responsive, but this is with a few users. What would be the best way to test many requests, something like what 4chan deals with, ISP speed bottleneck aside?</p>
<hr/>**评论:**<br/><br/>Thomasdezeeuw: <pre><p>Try wrk (<a href="https://github.com/wg/wrk" rel="nofollow">https://github.com/wg/wrk</a>), it can create a lot of requests to simulate a high traffic situation.</p></pre>eggbertx: <pre><p>Sounds good. But could this reliably account for posts (it uses MySQL/MariaDB) and image uploads? Or would I be better of creating my own custom one, possibly based on wrk?</p></pre>elithrar_: <pre><p>wrk allows you to write custom Lua to generate request bodies, POSTs, etc. </p></pre>shovelpost: <pre><p>Is the project open source? </p>
<p>Edit: Nevermind, I think I found it: <a href="https://github.com/Eggbertx/gochan" rel="nofollow">gochan</a></p></pre>eggbertx: <pre><p>Yeah, that's it.</p></pre>xrstf: <pre><p>JMeter is always a good stress testing tool, though it has its learning curve.</p></pre>elithrar_: <pre><p>Also: don't use FastCGI in Go. The FCGI server hasn't been optimized and is substantially lower than the HTTP server. Reverse proxy over HTTP (i.e. nginx to Go). </p></pre>
