Re: Maintaining near constant TPS
Gary Mulder <[email protected]>
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <CAKy9zTBwK9p0stvK7b=mJxMwckCFzq7mdnebHtouRMN+Gjm02A@mail.gmail.com> |
If you're loading and parsing entire JSON or XML objects even 200 threads will create a huge amount of GC on The Grinder. Remember you're not writing native Java, you're writing Python translated to Java, not always efficiently in terms of memory management. As Marc suggested, a streaming parser like Jackson is much much better. With tuning I can run 100 threads per core in about 0.5GB of heap, all parsing JSON using Jackson. Gary ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ grinder-use mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/grinder-use