Advanced

How to benchmark, Stress, your Apache, Nginx or IIS server

Posted by ggarron on · 24 comments
Go2Linux
Mail this story
Print this story

When you run a webserver, which could be Apache, Nginx or Lighttpd, you may want to know how it is performing, actually, usually any web server can handle a normal day of work, but what happens when the server under your administration gets, stumbled, or appears in Slashdot, or digg front pages, now a days even twitter may drive a lot of traffic to a webpage. If that event occurs your server will be under real stress, and it is in that day when you want it to perform well, and survive the "attack". It is usually not possible to know how it will do that day, until the D. day arrives, but you can figure out how it will be. In this article you will find how to perform a simple test to have an idea of the health of your web server.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (24)

4 earlier comments in the full thread.

@thebeez, Hi, Spanish is my native tongue, thanks for your clarifitacion about long sentences in English. I will keep that in mind for my future posts, I really like constructive critics about my content. As I like to make it nice and useful for the readers.
Ever read the Declaration of Independence? The penultimate sentence has 127 words!
gus3 --

And not a one of them was "penultimate"!

Besides, the Declaration of Independence was an all-out attack on English.
Ggarron -

English, by virtue of its mongrel heritage, is one of the most difficult languages to write well.

After all this time, we in the United States have yet to learn how it's done.
Guillermo: Readers will understand the article fine, but because of some tiny mistakes it takes more energy to read. And some people just like complaining. You might think about asking someone whose native tongue is English to proofread your articles. It's what I do, and it helps a lot preventing mistakes which could have been prevented.

Much in the same way stress-testing servers can prevent mistakes which could have been prevented I guess, so you might think of 'proofreading' as a kind of stress-testing. Or maybe teaching all of us Spanish, that might work too!

Long sentences is what I suffer from too, even according to Dutch measures, and it's hard to get rid of. Comma-syndrome I guess. It becomes worse when you discover the semicolon. I advice at least letting some article rest for a night and reading it again the next day before publishing. Reading my own 'past' articles, I easily discover multiple flaws in them, and I think you might too.

Keep the articles coming, eventually it's the content that matters most!
>it's the content that matters most!

Hey look, none of us is immune to the grammar police. Just don't say nucular and you'll be fine.
Hans: same here, in Polish; and the same with the semicolon :) But in languages like mine it's quite easy to make multiply-complex (it's an ugly direct translation of the Polish term) sentences without making too much unintelligible mess. Something I can't tell about English.
I'm going to be translating some of my technical technical writing from English to français and you can bet Ill have a native French speaker review it before publication. My French would make Guillermo's English look very good by comparison. Basically Hans gave very good advice.

I also tend to write long sentences, use too many commas and generally make the same sort of mistakes you describe, Hans, and I don't have the excuse of being Dutch or German or Polish.
I find a good rule of thumb to be: no more than two clauses or conjunctions in a sentence. Beyond that is time to re-phrase it.
@Guillermo Something that was very useful to me was the following sentence:

(1) The button, with which the sharpness can be adjusted, is on the front of the projector (BAD); (2) The sharpness is adjusted with the button on the front (GOOD).

It gave me an idea of how direct English really is.
@dinotrac If you say "nucular" I go ballistic. ;-)
Eliminate the passive voice: "The front button adjusts the sharpness."
gus,

It's time to call khess to teach how to write it properly as he does so well in his DaniWeb summaries [no snark there*]. He might no be succinct, but he leaves enticing promises.

YBT

* His summaries are excellent, it's just when I see the author I skip by.
beez -

Can't bring myself to do it. Ten years in Texas, Texan wife, oldest child born in Texas, Mom, brother and sisters, In-law all in Texas.

Still can't do it.
I thought that Bushism was spelled "nukular". Shows you what I know...
@gus3 The native speaker speaks: I just learned something again! Tnx!
@caitlyn:

Pres. Jimmy Carter was the first president to say it that way. And he said it every single bloody time! I don't think he has ever said "new-klee-urr" in his life.

@Beez:

Many English speakers in the USA over-use passive voice. (Maybe elsewhere as well.) Sometimes, it's deliberate, to draw attention away, especially when it's in the form, "Mistakes were made," instead of, "I screwed up."
Actually Carter was not the first president to use that pronunciation. Eisenhower did it as well.

http://www.slate.com/id/2071155/

The word did not come into widespread usage until recently, thus many of those who learned it at an older age - specifically not in school - pronounced it incorrectly. When I was growing up "nucular" was the dominant way to talk about nuclear weapons. Merriam-Webster's dictionary even lists it as an alternative (though not correct) pronunciation.
gus3 and bigg --

Shame on you! It is unfair and unreasonable to introduce reality into some people's elitist little worlds.

It was pretty much nucular when and where I was growing up. Not sure why I don't say it that way, but never have and never (except for effect) will.
@hkwint Thanks for your kind words, and advice.

@Beez hi, thanks I will that into account.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post