stress-testing

How to tune a Ruby on Rails application running on Heroku which uses production level Heroku Postgres?

我们两清 提交于 2019-12-05 06:22:13
问题 The Company I work for decided on moving their entire stack to Heroku. The main motivation was it's ease of use: No sysAdmin, no cry. But I still have some questions about it... I'm making some load and stress tests on both application platform and Postgres service. I'm using blitz as an addon of Heroku. I attack on the site with number of users between 1 to 250. There are some very interesting results I got and I need help on evaluating them. The Test Stack: Application specifications It

Brightness Issue during stress testing

孤街醉人 提交于 2019-12-05 00:27:43
My application has the ability to Wipe all contacts and calendar events. It has been working fine as far as we had not done stress testing. During this, it was observer that device brightness goes down when we execute following use case Sync Facebook, Gmail etc accounts with device so that there are lot of records in contacts and calendar. In our case we had about 477 contacts and 1500+ calendar events. Give Wipe command During wipe switch off the device and switch it on again. As per application design, it queries server if there have been any pending commands and starts the wipe again Now if

Why does SHA1.ComputeHash fail under high load with many threads?

≯℡__Kan透↙ 提交于 2019-12-04 19:25:26
问题 I'm seeing an issue with some code I maintain. The code below has a private static SHA1 member (which is an IDisposable but since it's static , it should never get finalized). However, under stress this code throws an exception that suggests it has been closed: Caught exception. Safe handle has been closed" Stack trace: Call stack where exception was thrown at System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& success) at System.Security.Cryptography.Utils.HashData

What are the current best practices for load testing and profiling ASP.NET web applications?

一笑奈何 提交于 2019-12-04 18:13:38
I am tasked with improving the performance of a particular page of the website that has an extremely high response time as reported by google analytics. Doing a few google searches reveals a product that came with VS2003 called ACT (Application Center Test) that did load testing. This doesn't seem to be distributed any longer I'd like to be able to get a baseline test of this page before I try to optimize it, so I can see what my changes are doing. Profiling applications such as dotTrace from Jetbrains may play into it and I have already isolated some operations that are taking a while within

How to test webservice simulating several concurrent requests

末鹿安然 提交于 2019-12-04 16:53:47
I've got this situation. I need to test a web application that was created with asp.net and c#. This application has one special process that does the heaviest and the most important process in all the application. This process is part of the webservice that I need to test. Now I've been asked to come up with any kind of program to simulate a specific number of simultaneous requests to the process, to see how it reacts to a certain number of user trying to call and use the same process. I've never done anything like this before, but some ideas have come to mind, like maybe creating a little

Load Testing Software [closed]

我只是一个虾纸丫 提交于 2019-12-04 08:35:37
I am working on a proposal for my company into purchasing some load testing software. I have to give 2 choices. One of my choices I am proposing is HP(Mecurary) Loadrunner. Is there another program out there that is comparible with Loadrunner? We are looking at using the software to test the performance of the following. C# .NET Template Microsoft® .NET 2.0, 3.0 Microsoft® SQL Server Informix Web (HTTP/HTML) Web Services Web and Multimedia Wireless Application Protocol (WAP) Domain Name System (DNS) Microsoft® Exchange (MAPI) OpenSourceTesting.com has a list of OSS performance tools . The

Load Testing and Benchmarking With siege vs wrk

吃可爱长大的小学妹 提交于 2019-12-04 07:40:01
问题 I have been looking around for tools that can help me to do load testing and benchmarking. I found couples like: https://github.com/wg/wrk , http://www.joedog.org/siege-home/ , https://github.com/rakyll/boom . I'm wondering if anyone has any experience with these tools and have any feedback pros vs cons of these tools. My load stress will include different test cases using DELETE, PUT, GET, POST... headers Thanks 回答1: I've used wrk and siege, siege is a really easy to use tool, but I'm not

NodeJs stress testing tools/methods [closed]

笑着哭i 提交于 2019-12-04 07:35:30
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I've searched a lot about stress testing a NodeJs application/module but I didn't find anything. I have a push server application (something like socket.io) and I want to test it to ensuring there's no memory leaks and that it exhibits optimal performance. What's the best method or tools for doing that? 回答1: You

C# Stress Test - Simulate multiple access to a given shared resource

僤鯓⒐⒋嵵緔 提交于 2019-12-04 05:22:57
How can you simulate/stress test about 100 users accessing a given shared resource (e.g. Database) in a c# unit test? Assuming you're accessing real DB you're in the scope of integration tests. The simplest way is to access the resource from multiple threads. For example: [Test] public void SimpleStressTest() { bool wasExceptionThrown = false; var threads = new Thread[100]; for(int i = 0; i < 100; i++) { threads[i] = new Thread(new ThreadStart((Action)(() => { try { AccessDB(); } catch(Exception) { wasExceptionThrown = true; } }))); } for(int i = 0; i < 100; i++) { threads[i].Start(); } for

How do I use the --header option to send cookies with Siege?

こ雲淡風輕ζ 提交于 2019-12-04 04:33:37
I have just started to use Siege to do load/stressing test on a new web server. I am trying to test on my most resource/performance heavy script, but the script requires cookies. What is the proper format for using the --header option in siege? I have tried this with no luck: siege --header="Set-Cookie: PHPSESSID=--COOKIE--; iptoken=--COOKIE--" http://www.myurl.com/script.php , There is no documentation on this that I could find, so any ideas/suggestions would be appreciated. Andrew The answer is to use --header="Cookie: --COOKIE_DATA--" (ref. wiki.wsmoak.net/cgi-bin/wiki.pl?Siege ). 来源: https