Best way to stress test a rails web app? [closed] - ruby-on-rails

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 9 years ago.
Improve this question
Are there any good (preferably free) tools out there?
Can they give accurate estimates that reflect production results when the app goes live?

I would personally go with Apache Bench http://httpd.apache.org/docs/2.0/programs/ab.html
It's free, straight forward to use and lightweight.
If you are looking for a something a little more robust then I think Apache JMeter might be worth looking at. http://jmeter.apache.org/. Again, it's free, a bit of a learning curve and has a GUI so a little heavier.
You might also want to take a look at this Q/A Performing a Stress Test on Web Application?

WebLoad is open source:
http://www.webload.org/

There's a good summary of tools here.

This is definitely not a free solution, but webmetrics will get the job done. (As well as any website monitoring company in general). They give thorough reports on your web site's performance, and when you schedule load tests you can specify how much load you want to simulate (e.g. simulate 2000 users using my site at once).
I don't think it will break it down and tell you your CPU usage and such, as they stress your website from their servers.

Rails comes with performance testing built in: http://guides.rubyonrails.org/performance_testing.html

You can try Trample, it is load simulation tool here

If you want to visualize performance instead of just look at the numbers you might try Engulf. It's Open Source Software, distributed, and high-performance. http://engulf-project.org/#usage Disclaimer: It's a project I work on.

Related

TeamCity vs Jenkins for small startup devshop working in javascript tenchologies [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
What is a good option for a continuous integration server for a small startup devshop?
We work in javascript technologies and make some hybrid apps, among other things.
I was looking into this issue, and came across Jenkins and TeamCity.
It seems like TeamCity is the way we'd prefer to go. I've read numerous blog posts about how TeamCity has a much smoother user experience and things just generally laid out with more clarity. With TeamCity we won't be going on too many a wild goose chase. But for the moment we're trying to skirt our expenses, too.
The free version of TeamCity comes with a server, and 3 build agents. The server delegates the tests to the agents. Is that enough for a small dev shop? I'm thinking probably, but what do I know. We need to test on two different platforms as well as web view (actually that considered maybe 5 platforms - chrome, firefox, safari, android, iOS).
What do you guys think, does a free TeamCity server have enough bandwidth to take on a small dev shop? We have 3-5 people working on a project at a time.
Please add any thoughts you may have about Jenkins vs TeamCity, too
Thanks
Managing your own build servers can end up being quite time consuming, and as such, expensive, even if the licence is free. You also need to remember that while the licence may be free, servers are not. I say this because if I were in your shoes, I would look into something like TravisCI or CodeShip.
It looks expensive compared to a free Teamcity licence, but you owe it to yourselves to atleast consider such an option. (There are others, those are two of the popular choices)
To answer the original question: I do believe that Teamcity will have the "bandwidth" to support your needs, but setup will take some time and effort.

Future-like MMO, engine choice? [closed]

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 10 years ago.
Improve this question
We are a small group of developers and we want to create a Future-like MMO which will combine City building, RTS, Economic and Political type of games.
We are unsure if we should develop a DirectX9 engine from scratch or use tools like XNA, DXstudio.(we have experience creating a simple FPS-like engine using DirectX)
Another question is if engines like UnrealEngine/ UDK, Unity are really an option for a complex game like ours(most games developed with these engines are FP/3rdP Shooters)?
Any idea for where to start with the engine will be helpful.
You allways endup with engine that prefectly fits your needs if you build it your self. but this takes time and is costy.
On the other hand picking a engine like UDK/CryEngine, you will save some time but probably need to give time to be able to do exactly what you want.
If i would suggest a start is to nail down every technical aspect of the game.
For example, things like this :
Graphics, Content handling/pipeline, SocialSupport(Facebook, Twitter), Target platform, How to solve most of your programming problems (How to use the economy system, building systems etc)
And when all that is done, just try this out in a easy alpha in all the engines you would like to test. (including writing a own, but with limited stuff to just make it prototype)
from there, pick what feelt best and hope that it will work out, :)
hope that helps some!

FogBugz Evidence Based Scheduling: How well does it work in the real world? [closed]

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 11 years ago.
Improve this question
My company has been using FogBugz for a while now and we are generally happy with it as a bug-tracking tool. I've been reading Joel Spolsky's articles about their Evidence Based Scheduling feature. It sounds great in theory, but I haven't seen much discussion about how well it actually works in practice. Before I spend a lot of time and effort trying to convince my co-workers to buy in to using it, I'd like to hear from people who have been using this feature in their development.
Have you been using FogBugz' EBS? If so, are you happy with it? Have its estimates been accurate enough to be helpful? With the benefit of hindsight, do you think it was worth the effort to set it up and input all of the information/estimates it requires? Is there some other mechanism that you found that works better?
(Note: I've deliberately posted this to stackoverflow.com rather than fogbugz.stackexchange.com, since I suspect that the user base at fogbugz.stackexchange.com might be unduly biased in favor of FogBugz -- in particular, ex-Fogbugz users who've moved on to something better are unlikely to read or post there)

Is there a web application equivalent of Hypercard? [closed]

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 10 years ago.
Improve this question
Recently, I found an interesting Wiki/CMS/Database hybrid called Wagn, where the most important unit of information is the 'Card'. That terminology immediately made me think of Hypercard. As expected, there is some "Hypercard-ness" in that application.
Do you know of other web applications/frameworks with that "Hypercard-ness" thing, or if its successor still must be invented?
Note: I insist on web applications because I already know the desktop ones.
Check out Runtime Revolution at http://www.runrev.com they have a language/IDE that is the spiritual successor to HyperCard. They also have a product in beta called RevWeb which is a plugin not unlike Flash that is able to execute stacks.
Now more on the web framework front, checkout Rodeo at http://alltiera.com/ which is a HyperCard like web application that generates HTML/CSS/JS stuff for you.
I am a customer of Runtime Revolution but I haven't used Rodeo so I can only help with building web applications using RevTalk (like HyperTalk) and not with Rodeo.
There was http://tilestack.com for a while. Sadly it closed down again. It even imported HyperCard stacks.
I have found that quote from Dan Ingalls in the book "Coders At Work" (p.382):
"A decade or two ago there was Hypercard [...] It's really strange that that whole experience didn't naturally go right into the web. I think there's still a role to be filled there with tools as simple as HyperCard and as immediate as the web. It would be cool if it went that way.".
If one of the inventor of Smalltalk is asking that question too, I'm almost sure that there is no valid answers...
Anyone interested in inventing that future?
Google's AppEngine is being called the web Hypercard.
http://www.skrenta.com/2008/04/appengine_web_hypercard_finall.html
Googel App Engine - http://code.google.com/appengine/

Finding software development contracts [closed]

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 10 years ago.
Improve this question
For the last few years I've been working as a self-employed software developer. Doing various gigs as they came my way. For the most part I've been fairly lucky, as my own personal network has yielded all the work I need to sustain myself and then some. As I said, I've been lucky to get all my contracts, I haven't had to put any real effort into finding work yet.
Although I'm currently employed, I'm unhappy and thinking about moving on.
My question is for the experienced self-employed contractors, how did you find your contracts? Are recruiters/headhunters/agencies helpful? What is the best way to expand your professional network? Can the internet be useful?
Thanks for the tips
Craigslist, network with former co-workers. Stay away from rent-a-slave and elame sites. They will only waste your time and frustrate you (I want a youtube/facebook/amazon clone for under $500).
Local is better. Clients love to have you come onsite and talk with them.
It will take a bit but after a while, you will find enough clients who keep you busy and you won't have time to look for new ones :D.
Start off moonlighting so you can keep the lights on and the internet paid while this ramp up happens.
Good luck!

Resources