Slashdot Mirror


Surviving Slashdotting with a Small Server

S.BartFarst writes "Our little departmental server has been slashdotted twice in the last year and survived! Implementation of a two-headed redundant hardware scheme using linux virtual server and backup and failover capabilities enhanced by the linux high-availability tools has produced a nifty low-cost solution. Gotta love those little white boxes! (also having a university-supplied BIG PIPE doesn't hurt). More interesting is the documentation of the apparent exponentially decaying attention span of slashdotters. Anybody else observed similar phenomena?"

87 of 307 comments (clear)

  1. Third Time's a Charm? by sweeney37 · · Score: 5, Funny

    Our little departmental server has been slashdotted twice in the last year and survived!

    Wait... is this a challenge?

    Mike

    1. Re:Third Time's a Charm? by bad_fx · · Score: 3, Funny
    2. Re:Third Time's a Charm? by BWJones · · Score: 5, Insightful

      Our little departmental server has been slashdotted twice in the last year and survived!

      Oh, come on. Even my little old G3 iMac is capable of handling quite a load from Slashdot and this site is serving up graphics intensive stuff. What you need to prevent a good Slashdotting is bandwidth that universities provide. T3 backbone connections are a wonderful thing. :-)

      Go ahead click all you want.

      --
      Visit Jonesblog and say hello.
    3. Re:Third Time's a Charm? by Anonymous Coward · · Score: 3, Insightful
      a friend of mine had his site featured on the front page of slashdot without any problems. Page hits spiked for a couple days, but his setup (P4 x86 linux box, apache, busines DSL) handled it fine. And, after being hit he discovered his bandwidth was being capped too low by his ISP :).

      Most slashdottings come from limited bandwidth or php/perl/asp/mysql/ etc being unable to handle it. Most dynamic content could be static content. (Most slashdot pages are static caches).

    4. Re:Third Time's a Charm? by FCKGW · · Score: 5, Interesting

      Even though only a small percentage of Slashdot readers look at the comments, Slashdot's readership is so huge that the number of people reading the comments is still significant. It's not enough to kill a server, but I posted links to three images, around 80KB each, on my home server a few days ago fairly deep down in the discussion and got 3904 hits from it. It didn't kill my server (Pentium 133MHz, 64MB RAM, Debian 3.0, Apache 1.3.26, 3000/256 cable) and didn't result in any nasty letters from my ISP.

      OT: It was interesting reading the logs. There are quite a few Linux users on here (but even more Windows users), and I saw lots of people using Mozilla, Opera, Safari, etc. Compare that to sites aimed at the average user where 95% of visitors are using IE or AOL and don't know that there's anything better out there.

      --
      It's an operating system, not a religion.
    5. Re:Third Time's a Charm? by Anonymous Coward · · Score: 2, Interesting

      What's the big deal? .... KPLUG.ORG (http://www.kplug.org) survived a slashdotting just fine... and we run on a P75 w/ 48 megs of RAM.

      Static pages and a big pipe. What's the mystery?

    6. Re:Third Time's a Charm? by Syre · · Score: 4, Informative

      Static content is right.

      In 1998 I was working at a startup and we served Olympics news to Excite.com, which was one of the very largest sites on the web back then. Excite linked to pages on our server which were at some URL like olympics.excite.com that pointed to us.

      What they didn't know was that we were serving all this off of ONE Sun Ultra 1 workstation on my desk (which was all we could afford at the time). I had it set up with Squid so everything was coming out of memory.

      It worked fine, even at peak times everything popped up about as fast as any other page on Excite.

      Moral: if you need speed and the page doesn't really have to be dynamic make it static or cache it.

    7. Re:Third Time's a Charm? by TheMidget · · Score: 2, Funny
      It's not enough to kill a server, but I posted links to three images, around 80KB each, on my home server a few days ago fairly deep down in the discussion and got 3904 hits from it.

      Wow. Impressive. However, I would have hoped that by now the Slashbots would have learned not to click on image links occuring in a random Slashdot comment...

  2. Apparently... by yanbusa · · Score: 5, Funny

    They are asking for another test.

    --
    What's in a sig?
  3. Weeee.... by Ridge · · Score: 2, Funny

    Third time's a char... DOH!

    Heh, well they're actually still kicking, oh well, it would've been so apropos.

  4. Thou shall not by Anonymous Coward · · Score: 5, Funny

    Thou shall not survive thrice. You're insolence will not be tolerated. You'll servers will suffer a slashdotting not hence seen....

    1. Re:Thou shall not by Sethus · · Score: 3, Funny

      Are you sure this is the third time? I count five...

      [Arthur, King of the Britons] One, Two, Five!
      [Knight] Three, Sir!
      [Arthur, King of the Britons] Three!
      **HALLELUIAH**
      *BooM*

      --
      Posting with out proof reading since 2001.
  5. Clever, clever by Frodo2002 · · Score: 4, Insightful

    Notice this comment was posted on a slow Sunday afternoon (EST). Very clever, because they know that /.'ers can't resist a challenge like that. Feel sorry for them on Monday morning though...

    1. Re:Clever, clever by ashitaka · · Score: 4, Funny

      Feel sorry for them on Monday morning though...

      Monday morning!!?? You're kidding, right?

      They have already noticed the "exponentially decaying attention span" of Slashdotters.

      By Monday morning this story and the site will be relegated to un-clicked graveyard of "Older Stuff"

      --
      If you don't want to repeat the past, stop living in it.
    2. Re:Clever, clever by Anonymous Coward · · Score: 4, Funny

      Commander Taco will repost it on Tuesday....

  6. Wouldn't you need an expensive switch? by Billly+Gates · · Score: 4, Interesting
    I find it hard to believe that a cheap dual channel switch for 2 pc's could handle the slashdot effect.

    I was under the impression that a 20k fiber or 100mbs one that can dynamically shift traffic would be needed.

    1. Re:Wouldn't you need an expensive switch? by OverlordQ · · Score: 2, Insightful

      From the Article:
      Each machine has its own independent 100 Mbit connection to the Gigabit SMU internet service,

      I really didn't see 'cheap dual-channel switch' in there anywhere . . I DID see independent 100 Mbit connection though.

      --
      Your hair look like poop, Bob! - Wanker.
    2. Re:Wouldn't you need an expensive switch? by PurpleFloyd · · Score: 3, Insightful
      Assuming the page was fairly small, without lots of pictures or movies, I'd imagine that a small 10/100 switch would handle the load fairly well.

      On the stats link provided for a January slashdotting, the most bandwidth used in a day was a little under 7.4 GB. Assume that it was posted on /. at noon, so there were 12 hours to spread the big hit over: about 617 MB/hr. That's a little over 10 MB/Min, or 170 KB/sec. Even if we assume that the initial hit was double that, I can easily stream a 1000 KB/sec Divx movie over my 100 Mbps switched home LAN. The limiting factors here are the servers, routers and bandwidth to the Internet, not the local network connecting the servers.

      --

      That's it. I'm no longer part of Team Sanity.
    3. Re:Wouldn't you need an expensive switch? by Limburgher · · Score: 4, Interesting
      It's not the switch/throughput that's the issue. It's the amount of page generation being done by the servers themselves. The high throughput and individual links merely allows the maximum possible number of simulatneous hits from a bandwidth standpoint. The trick here is to do that, AND have your webserver survive, hence the dual box Linux Virtual Server setup. That's the piece that smells the /.ing and tries to load-balance the page generation. That ability should allow this setup to survive most /.ings.

      Very inexpensively, I might add. Beats having to buy the hardware for an, I dunno, . . .

      Beowulf cluster?

      --

      You are not the customer.

    4. Re:Wouldn't you need an expensive switch? by jonadab · · Score: 2, Insightful

      > After that, your cheap ide disk might have a hard time

      You do realise, don't you, that a cheap IDE disk can handle
      more throughput than a T3 line or a 10/100 switch? Refer to
      the speed chart below.

      Although, if you don't have adequate cooling, making it do so
      continually for a few hours could have a detrimental impact on
      its lifespan. But a university department server is probably
      in an air-conditioned building, which makes adequate cooling
      fairly easy, because ambient temperature stays low no matter
      how much heat you blow out the back of the box. So you slap
      a cooler on the HD and add one case fan and you're set, yes?

      Speed Chart:
      CPU, RAM, HD, Ethernet/T3, T1, Dialup, Keyboard
      Each step is _at least_ an order of magnitude slower than the
      previous step on the chart. Thus, if your bottleneck is the
      T3 line, even the cheapest IDE hard drive can easily keep up.
      Removable drives are well slower than the HD, but I don't know
      how they compare to the networking technologies. Residential
      broadband is generally not better than T1 and often is closer
      to dialup. (Dialup at "56k" gets real speeds up to 45kbps; T1
      is about 1500kbps, so 128 or even 256kbps is closer to dialup
      than it is to T1. 512kbps is (geometrically) closer to the T1,
      however, and so can be classified as true broadband.)

      --
      Cut that out, or I will ship you to Norilsk in a box.
  7. well golly gee... by JeanBaptiste · · Score: 5, Insightful
    (also having a university-supplied BIG PIPE doesn't hurt).


    well there you go... having a massive amount of bandwidth will allow you to survive a slashdotting. In most cases of slashdotting, I dont think the server was the bottleneck... its no problem for a server to dish out static pages... its the bandwidth, especially for serving pictures or videos....
    1. Re:well golly gee... by Lumpy · · Score: 4, Informative

      nahhh... you can survuve a slashdotting much easier...

      simply use thttpd.

      it has throttling built in so that the slashdotting wont take down the server. It simply stops serving images at anything but a really slow rate and eliminates multiple requests from same hosts... (A bitch for NAT'ed companies)

      There are httpd servers out there that are much better than apache for handling insane loads.

      --
      Do not look at laser with remaining good eye.
    2. Re:well golly gee... by mo · · Score: 4, Insightful

      You're right. Bandwidth also serves a big purpose in finishing requests quickly. For example, let's see what happens when I have a 1.5mbps line with 512 concurrent requests. First of all, if you're using apache 1.3.X or 2.0 prefork, you've filled 2 gigs of ram by spawning 512 clients. Furthermore, you're bandwidth allocation per-client is 384 bytes/sec. This means you're spoon feeding your pages to your clients which makes it really hard for your server to get that 512 number down to something manageable.

      The problem here, is that the bandwidth bottleneck will make your server either (a) run out of processes/threads, (b) run out of ports/sockets, or (c) run out of memory from spawning all of the processes/threads to handle all of the stalled connections.

      Once this happens, people no longer can connect to you, and you're toast. The crazy thing here is that this can happen even at 10mbit/sec if you're machine is configured well enough, and if the content you're serving is large enough (IE: image/media serving).

      So cheers for these guys at keeping their bandwidth/server ratio high, I actually really like their architecture. But note that the greatest architecture in the world won't save you from a slashdotting if your server(s) are on a business dsl line.

    3. Re:well golly gee... by Jeremiah+Blatz · · Score: 4, Interesting
      JeanBaptiste writes:
      well there you go... having a massive amount of bandwidth will allow you to survive a slashdotting. In most cases of slashdotting, I dont think the server was the bottleneck... its no problem for a server to dish out static pages... its the bandwidth, especially for serving pictures or videos....

      With static web pages, server power is rarely a problem, it's all about the pipes. However, if the pages are dynamically generated, and don't have a lot of caching, then you've got yourself a big problem.

      So take, for example, loading a forum page in UltimateBB. AntiOnline handily tells you how many db requests it takes to create a page, and how long it took. This one over here says 61 requests and .3 seconds. Now, the poster claims to be peaking at ~37000 page views/hour, which is 10 hits per second. Now in that .3 seconds, where 61 database connections were established, there were another 3 requests coming in, making it an average of 240 database connections every .3 seconds. That's not an unreasonable number of connections, but what if your DB server can't keep up? What if, due to the load, the queries take 10x longer than usual? At that point, over .3 seconds, you get 240 connections, but only service 24 of them. Over the next .3 seconds, you get another 240 requests, but service only another 24, leaving you with 436 pending. After 30 seconds, you've serviced 2400 requests, but have another 21,600 pending. before too long, you're out of possible TCP ports.

      There are ways to keep your servers from crapping out under heavy load. One is to buy a studly, fire-breathing DB server that can process requests faster than your web servers can send them. Another (cheaper) solution would be to pool and marshall your DB requests, being sure to remove requests from the queue when the remote user times out (either by clicking the stop button or running up against a built-in limit of their browser). This way, your site may get slow, but nothing will crash. A final method is to use enough caching on the web server that you pages are, essentially, static. This is, for instance, what Vignette does, which is why all the major news sites use it. This method combines the flexibility of database-backed CMS systems with the database load of static web pages.

      So, essentially, there are many ways to let your database-backed web site survive a slashdoting, but embedding a bunch of PHP SQL queries against a locally-running installation of MySQL is not one of them. Unless you have a big honkin' cluster.

    4. Re:well golly gee... by seanadams.com · · Score: 5, Interesting

      It simply stops serving images at anything but a really slow rate

      What's the point? Either way you're slashdotted.

      Besides, I think in the case of server overload (as opposed to network overload), throttling will only exacerbate the problem by increasing the number of slow clients you have to deal with. This is the #1 bottleneck in web servers, the more clients you have, the longer it takes to deal with each one of them. Losts of processes to switch between, long arrays in an out of select(), etc.

      Also, when a user doesn't get a page in his browser, what does he do? He clicks the link again and again.... even more connections to handle.

      Really the only way to cure an overloaded server is to drop incoming SYNs. Any other measure is just pouring gasoline on the fire.

    5. Re:well golly gee... by evilviper · · Score: 2, Interesting
      But note that the greatest architecture in the world won't save you from a slashdotting if your server(s) are on a business dsl line.

      That's not true at all.

      Configure your maximum number of users to something your server/bandwidth can handle, and then send everyone else an error page that says they need to wait. That error page can automatically try to re-load the main page every 1-5 minutes, until it is successful.

      Even on your dial-up connection you could survive a slashdotting.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    6. Re:well golly gee... by KPU · · Score: 2, Insightful

      Um sending people an error page is NOT surviving a slashdotting.

    7. Re:well golly gee... by evilviper · · Score: 4, Insightful

      We aren't talking about an actual error, that's just what it is called.

      What we are talking about is sending a different, low-bandwidth page, which will reload the main page after a certain ammount of time.

      Sure, you aren't immediately serving up the page to everyone who is requesting it, but people will only see a delay of a minute or so, rather than the server not serving up anyone, and crashing and burning for a day before anyone resets the thing. Or maybe just saturating the line, so nobody gets anything faster than 0.00001kbps, which is far far worse than having to leave the error page open in the background a couple minutes before it has a chance to load the main page.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    8. Re:well golly gee... by Syre · · Score: 4, Informative

      Vignette is a rather trivial hack which was developed at C|Net and licensed to Vignette. It basically just writes out static pages, nothing fancy.

      As soon as Vignette licensed it, they were able to claim C|Net as a "Big Customer", which of course was a fib. This let them sell loads of software to organizations that didn't know any better.

      Moral of the story? Static pages are a great idea. If you can't do static easily, put a cache in front of your dynamic pages and decide how dynamic you really need them (Is 15 minutes delayed OK for you or is each page totally dynamic?). You don't need to spend $250K for Vignette to get this to work. In fact, you can do it with free software quite easily.

      Web caching and optimization is a big topic but in general the more clever you can be the less money you have to spend on big iron.

    9. Re:well golly gee... by 0x12d3 · · Score: 2, Funny

      huh huh. Hey Butthead he said "big pipe"

      --uuhh. That was cool.

  8. Is it decaying attention span? by Eevee · · Score: 5, Insightful

    Or is it where the article is at any given time? Top of front page gives lots of hits. As it drifts down, the hits slow as fewer read; to the sidebar, fewer but still substantial hits; then off to the specialty pages such as Science or Games, then only a few will read.

    Of course, the only test would be to repost the article and see if there's the same number of hits... Nah, slashdot would never go for duplicate stories.

  9. That hits graph by KingDaveRa · · Score: 3, Insightful

    Interesting how it peaks, drops off slowly then rises again a little before dropping off again. Maybe some 'behind the curve' slashdot readers?

    1. Re:That hits graph by xyvimur · · Score: 3, Informative

      Not quite - look at the plot it is monthly plot - there are 31 bars - one for each day. If we had daily plot - the time zone effect would be visible...
      However I don't know how to explain this phenomenon (Slashdot is good for making research and writing some thesis).

    2. Re:That hits graph by freeweed · · Score: 2, Funny

      Or dupes.

      --
      Endless arguments over trivial contradictions in books written by ignorant savages to explain thunder in the dark.
  10. well... by painehope · · Score: 2, Funny

    I've got some exponentially decaying pieces of chicken on my table...

    and some exponentially growing forms of life in some beer cans...

    does that count?

    --
    PC moderators can suck my White pierced, tattooed dick. If you think pride == hate, s/dick/Aryan meat mallet/g.
  11. A.D.D. crowd by Anonymous Coward · · Score: 5, Funny

    More interesting is the documentation of the apparent exponentially decaying attention span of slashdotters.

    Well, I was gonna reply, but I forgot what the post was about.

    1. Re:A.D.D. crowd by macshune · · Score: 3, Funny

      I think the decaying attention spans of slashdot users has to do with the rise of modern media and the fast-paced moving images in the contemporary media paradigm. Further, I think that A.D.D. is the result of HEY!!! LET'S GO SWING!!!!!!

  12. Oh, oh, the dupes, the dupes. by slackingme · · Score: 2, Funny
    "Our little departmental server has been slashdotted twice in the last year and survived!"

    I hope the dupe jokes that get posted are better than what I had here before I decided to just post this in hopes of drawing better jokes later in the thread. They weren't good! But when are they?

  13. zerg by Lord+Omlette · · Score: 2, Funny

    This is almost as stupid as wearing a mask of Donald Rumsfeld and visiting 3ID troops to tell them "Are we planning on letting you go home anytime soon? Gosh, no!"

    These SMU guys are obviously begging for it, I say we give them hell!

    --
    [o]_O
  14. A slashdotting? by Chmarr · · Score: 3, Funny

    Just under 40,000 hits in the busiest day... this is a slashdotting? Come back when you get into the millions. :)

  15. Nope... by ryanvm · · Score: 5, Funny

    Anybody else observed similar phenomena?

    Nope. In our jobs they make us do work.

  16. Yeah but it is a small home page... by twoslice · · Score: 2, Informative

    There is a total of 80K of information on the entire front page! Dig a little deeper guys and perhaps we can find a few gigantic image downloads. If you find any do share =)

    --

    From excellent karma to terible karma with a single +5 funny post...
  17. Nice but your big pipes the real secret by plierhead · · Score: 2, Informative
    Nice work, but of course your amazing resilience to the multi-headed hydra that is the slashdot audience is all to do with your BIG PIPE and nothing much to do with your dual headed linux configuration.

    While your setup may make you real safe from machine outages, the effects of a slashdotting are to flood your resources rather than break them. So your configuration gives you at best the performance of two machines instead of one - which you could also have achieved by just ramping up the CPU or memory.

    --

    [x] auto-moderate all posts by this user as insightful

  18. [GASP!] You mean LOAD BALANCING HELPS! Stunning! by siberian · · Score: 2, Insightful

    Its incredible, this person has actually proven that LOAD BALANCING MULTIPLE SERVERS INCREASES YOUR LOAD CAPACITY! This is incredible news! Wow, I am sure glad it made it as an article, stunning.

    Every medium to large website out there will be pleased to know that what they have been doing for the last 8 years is actually VALID, thanks guys!

    I think the only reason this made it to the front page is the slashdot self-reference.

  19. Eleventh Post by fm6 · · Score: 2, Insightful
    The first ten all make the same lame joke. Get a life people!
    More interesting is the documentation of the apparent exponentially decaying attention span of slashdotters.
    I'm not sure the decay fits any simple math model. Here's a more practical explanation: It takes about 24 hours for a Slashdot story to scroll off the main page. So for the first day and part of the second you're getting hits from every slashdotter. After that you're only get hits from people who compulsively look through old stories and/or browse Slashdot through RSS feeds and other offline tools. And after that, of course it's old news.

    I'll bet if you chart the data hour-by-hour, you'll see a sudden dropoff at the very moment the story scrolls off.

  20. decay pattern by tomdarch · · Score: 2, Interesting
    I'm surprised that there was so much traffic on the second and third days (given that stories drop off the front page)

    It's also interesting that there was a second little bump about a week later. Anyone have any ideas why?

  21. You didn't get Slashdotted by 0x0d0a · · Score: 4, Insightful

    You didn't get Slashdotted if the server was still operating normally. You just had some people from Slashdot visit.

  22. How much bandwidth do you need to survive? by captainboogerhead · · Score: 3, Interesting

    What I want to know is, how fat a pipe do you need to survive a slashdotting, given that your server structure is viable? Will a 10mbps pipe keep the barbarians from trampling the gate?

  23. The Slashdot worm. by caluml · · Score: 4, Funny

    Lets help them out.

    while :; do wget http://www.geology.smu.edu/~dpa-www/venus/mpeg/atl a1.mpg -O /dev/null -o /dev/null ; done

    Don't forget to fix the space in the URL.

    1. Re:The Slashdot worm. by Pharmboy · · Score: 4, Funny

      i already posted mine before i saw yours. my solution was

      while true
      do
      wget --delete-after -m -p http://www.geology.smu.edu/
      done

      which has the advantage of not only hammering their bandwidth, but since it requests everything on the entire site, including images and many multiple mb files, then the server cant cache it all, and will have to read from the disk alot. also, since it deletes after downloading, it doesn't take up your precious drive space, lol.

      but nice to know another sick fucker had the same basic idea.

      --
      Tequila: It's not just for breakfast anymore!
  24. Pretty simple... by seanadams.com · · Score: 5, Interesting

    My server has been slashdotted a few times and I can tell you it's pretty simple to not get overloaded.

    The first time I learned my lesson. The server was on a T1 line that was 2/3 full already, and slashdot linked to a page full of large photos. That'll kill your link pretty quickly. Low-budget solution: sign up for a burstable web hosting account somewhere and just put all your large images there.

    Later when we got some actual office space for the business, I moved the main server up to a colo facility in fremont. All slahdottable content is hosted there on a fast server with a 100mbps ethernet link. Other oddball services that need their own machine are hosted from the other end of a point-to-point T1 line going directly back to the office from the colo.

    So depending on your budget it's really not hard to set up your site to survive a slashdotting. If you don't have a lot of dough to spend but you want to run your own server for configurability/security reasons, just host the static stuff somewhere else. Or if you're serving enough to make it economical, get a colo account with a burstable link.

    There's a widespread misconception here that slashdotting is caused by server overload. In reality this is almost never the case. It's caused by insufficient bandwith. This in turn may cause server overload because of too many slow clients being connected, but that is purely a secondary effect.

    1. Re:Pretty simple... by evilviper · · Score: 2, Funny
      There's a widespread misconception here that slashdotting is caused by server overload. In reality this is almost never the case.

      It's more likely to be server overload here than anywhere else, don't you think?

      Dear Slashdot,
      I just installed a webserver on my Gameboy. Would you please turn it into a smoldering hole in the ground?

      Thanks!


      Also, with a little smarts from the server, you can prevent bandwidth overload. All you really need is to limit the number of concurrent users that can be connected to your webserver. That way, you only have (let's say:) 10 users loading the bandwidth-intensive pics at any one time, and everyone else is looking at a simple error page that automatically trys to re-load the normal page every minute or so.

      It seems simple enough to me, and it's done places like spamcop.net, I wonder why I never see /.ed sites configured that way.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  25. Advice: add trailing slash to URLs if needed by Anonymous Coward · · Score: 2, Informative
    Add / to directory URLS, that will avoid a 301 redirection (/foo -> /foo/).


    BTW, using static pages also helps too. What is more, the "how to not survive" includes "generate content dynamically every time".

  26. Slashdot effect analysis by Titanium+Angel · · Score: 3, Interesting
    More interesting is the documentation of the apparent exponentially decaying attention span of slashdotters. Anybody else observed similar phenomena?"
    Actually, yes. Stephen Adler did an analysis of the /. effect, where you can see similar graphs. It's not surprising, really.

    Also, there was an article on a hardware review site, if I remember correctly, where their approach to handling extreme load was discussed after their site was linked on Slashdot. Unfortunately, I can't find the article right now. Anyone around here who remembers?
  27. Testing, testing... by Mish · · Score: 5, Funny

    They're just begging for a 'real' test... ... such as everyone downloading this:

    ar405eng.exe (5.41 MB)

    from their webserver :p

    5.41MB per slashdot reader should provide a test worth of such a fat pipe ;)

    1. Re:Testing, testing... by ibennetch · · Score: 2, Insightful

      True, especially since the Kazaa-happy college kids aren't due back for two more weeks.

  28. Re:Well its sorta dead by Latent+IT · · Score: 4, Informative

    Are you serious? Because... this is what I get:

    Pinging geology.heroy.smu.edu [129.119.223.84] with 32 bytes of data:

    Reply from 129.119.223.84: bytes=32 time=58ms TTL=232
    Reply from 129.119.223.84: bytes=32 time=61ms TTL=232
    Reply from 129.119.223.84: bytes=32 time=60ms TTL=232
    Reply from 129.119.223.84: bytes=32 time=56ms TTL=232
    Reply from 129.119.223.84: bytes=32 time=58ms TTL=232
    Reply from 129.119.223.84: bytes=32 time=74ms TTL=232
    Reply from 129.119.223.84: bytes=32 time=67ms TTL=232 ...blah,blah,blah...

    Ping statistics for 129.119.223.84:
    Packets: Sent = 16, Received = 16, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 56ms, Maximum = 74ms, Average = 60ms

    I mean, that's pretty damn smooth for a 30 minute old story. That's probably peak /. effect time, too. I'm really proud of them, and their little beige boxes. =)

  29. I know... by Dark+Lord+Seth · · Score: 2, Funny
    More interesting is the documentation of the apparent exponentially decaying attention span of slashd

    Huh? What?

  30. Re:Exponential? by 26199 · · Score: 2, Insightful

    Er... no. Logarithms increase.

    Exponential decay is of the form:

    y = e^-a x

    Where a is positive. It's exponential in that a fixed increase in x multiplies y by a fixed number; it's just that this number is less than one.

  31. Also in the news: Carrot Top; Still Not Funny by Anonymous Coward · · Score: 2, Insightful

    I think that's part of it. But I bet most of the effect goes to Karma whoring. Notice the second minor blip later on in their data.

    When the article is new, the rush is on for insightful comments that deal with commenting on elements of the referenced links. (Might as well, there aren't any comments beyond ascii pictures, and troll expiditionary forces.) They have their responses, which then triggers the volley of RTFA's, and now there are a number of posts, people don't have to RTFA so much and the thread contains so much information anyway. But certain conversations develop, some tangential, but others still tightly following the information referenced in the links, and may even provide deeper links, which cause people to go back and reference the original works which provoked the server beating.

    So one might look at there data and then form the yet to be tested hypothesis that the second blip is accurately representative of the slashdotters who are genuinly interested in any random subject at hand, and the difference between that and the peak could be correlated to the number of whores.

    But that one isn't me, because A) Sunday B) I forgot to take my adderall.

  32. Exponentially decaying attention span? by localroger · · Score: 2, Informative

    Yeah, I noticed that too.

    --
    Brackets contain world's first nanosig, highly magnified:[.]
  33. Attention Span by cmacb · · Score: 4, Interesting

    I really don't think the Slashdotter attention span is any different (or if different, it is longer) than the average Internet user.

    When articles appear on the first page, they get attention, as they scroll to the bottom they get less, as they move to background pages they get significant;y less.

    While I often look beyond the front page, I am less likely to delve into the articles or discussions there, since almost everything that needs to be said HAS been said by then.

    I've carried on conversations with people regarding Slashdot articles long after the article appears. This can take place in journal entries or via e-mail where the discussion material can be easily kept as opposed to Slashdot comments which ultimately disappear anyway.

    The fact that people don't continue to click on the original source URLs doesn't mean anything.

  34. Mirrors by brejc8 · · Score: 2, Insightful

    The ideal situation would be if you got a warning from slashdot and then then made some mirrors of the pages on distributer mirror.

  35. Somebody's... by SerialHistorian · · Score: 2, Funny

    ...a glutton for punishment!!! Either that, or they want to test it some more. Do your worst, slashdotters!

    --

    --
    Vote for your hopes, not for your fears - Vote Third Party

  36. Here are the testing materials by krir · · Score: 5, Informative

    Here are some mpeg files from their server: 3.8mb , 3.6mb and 320kb

    1. Re:Here are the testing materials by in7ane · · Score: 3, Funny

      Mod the parent up!!!

      And download those MPEGs...

  37. More detail, please by embobo · · Score: 4, Interesting

    Congratulations on surviving /.ing. I have a few questions.

    How were LVS and HA configured? With two systems, I can only guess that each was a real server (using the LVS terminology). Also both would be load balancers, with one being selected as active using HA.

    How did using HA or LVS help surivive a /.ing? Were there failovers? How many? When? Why? If surviving /.ing consisted of a high rate of failovers then the hardware wasn't up to the job.

    What is the "automated backup system?" Are you rsyncing the contents? From each other? From another system? Or does it refer to regular "tar" backups to tape?

    Having separate UPSs is overkill, unless the one UPS could not handle the load of both systems.

    Is there any dynamic content on the servers? Databases? How was keeping these synchronized handled?

  38. Subscriber Slashdottings by MBCook · · Score: 4, Interesting

    What I'd really like to see would be a graph of a BIG site when we Slashdot them now. It would be very interesting to see the subscribers and what they do before the /.ing public sees it. I couldn't seem to see one on the graph that they posted. Is it just that small? Just wondering.

    --
    Comment forecast: Bits of genius surrounded by a sea of mediocrity.
  39. Attention span could be useful by Jahf · · Score: 3, Interesting

    Given the sharp decline, this highlights another way that /. could help alleviate /.ing of sites: stagger the time that a certain client gets informed of a new article.

    1) RSS feeds would get the update -last- or in some form of randomness.

    2) Anonymous (no cookie) clients get the same treatment

    3) People logged in get the article sooner but are also stretched out. An example:

    a) If your UID is in the 25% of the oldest active users you get the article as soon as it is published (after going out to subscribers, who always get it first, another very mild reason to subscribe especially if you like to FP)

    b) If your UID is in the 26-50% of the oldest active users you get the article 30 minutes after it is published.

    c) If your UID is in the 51%-75% you get it 1 hour after it is published

    d) If your UID is in the last block you get it 90 minutes after publishing.

    e) If you are pulling from RSS or anonymously you get it 120 minutes after publishing.

    This also gives a little treat to the folks who have been around the longest while not removing the benfit of subscribing.

    Another example could work like the above but randomly change which order each block of UIDs will get the article (with RSS and Anon getting it last) if you wanted to not show preferrence to older users.

    Increments could be adjusted ... 2 hours for full distribution is going to be friendlier to the /.ed sites, but 1 hour total would probably still be effective.

    The only people this would affect negatively are FPers, SPAMboarders and people who have a cow-orker walk by and go "hey d00d, seen that new article yet?". No one else would probably even be aware of it unless they find it from another site that found it on /.

    --
    It is more productive to voice thoughtful opinions (reply) than to judge (moderate) others.
    1. Re:Attention span could be useful by LostCluster · · Score: 2, Insightful

      The problem with that is by giving a heavy disadvantage to the newest user on the system will likely make that new user feel unwelcome. That leads to abandonded newbie accounts, which is a bad thing for business. If you have no replacement customers coming in for the ones who leave, you'll have a decaying site and there won't be any /. effect anymore, nor will there be a /.

      Beware of side effects when you try to implement simple solutions like that...

  40. Exponential decay by rjh · · Score: 4, Insightful

    Why is it surprising that it follows an exponential dropoff? The only interesting questions are the coefficients of exponential dropoff, not that it's exponential--I'd sit upright and take notice if it was a linear decrease.

    Anything which follows a steady fractional diminishment will have a curve of y = ke**-ax, where k and a are constants. You see this basic equasion pop up all the time in physics, economics, statistics... etc. Why should server slashdotting be any different?

  41. NAT'd companies by midgley · · Score: 2, Informative

    Should have squid cache running inside their network, so only one request for a given file should be necessary.

  42. exponentially decaying attention span? by jazman · · Score: 5, Funny

    Not sure how you get that from the graph. For myself, I didn't know what the subject matter was, so I opened the window, went "ugh, geology", and closed it more or less straight away. Ok, perhaps this proves the point - for subjects I'm not interested in I have a short attention span, but this doesn't mean I have a SAS for everything.

    You get an exponentially decaying number of hits, yes, but how many of those are people doing exactly what I did and not staying, as opposed to those who stay a while because they find geology interesting?

    The last time you were /.ted, did the graph decay at the same rate or did it take longer to go down? If it took longer that would suggest shortening ASs, but then did you have anything of special interest up at the time? Bung some pr0n up there and see if the, er, bulge is a different shape.

  43. Re:Well its sorta dead by revmoo · · Score: 2, Funny

    And I am on a very reliable 600 up 400 down ADSL connection.

    Apparently not :-)

    --
    I would expect such blatant racism on Fark, but on Slashdot? Mods please ban this asshole.
  44. Bring Up The Holy Slashdot! by niko9 · · Score: 2, Funny

    Taco:Yes, of course! The Holy Slashdot of OSDL! 'Tis one of the sacred relics Brother Cowboy Neal carries with him. Brother Neal! Bring up the Holy Slashdot!

    AC's chanting: Pie Iesu domine, dona eis requiem.

    Brother Neal: Armaments, chapter two, verse nine to twenty one.

    Brother Neal: And Saint Cowboy Neal raised the Slashdot up high, saying, 'O Lord, bless this Thy Slashdot that, with it, Thou mayest slashdot Thine enemies to tiny bits in Thy mercy'. And the Lord did grin, and the AC's did feast upon first posts, trolls, GNAA posts, and...

    Taco: Skip it a bit, Brother.

    Brother Neal: And the Lord spake, saying, 'First shalt thou click on the holy link called Slashdot. Then, shalt thou count to three. No more. No less. Three shalt be the number thou shalt count, and the the number of the counting shall be three. Four shalt thou not count, nor neither count thou two, excepting that thou then proceed to three. Five is right out. Once the number three, being the third number, be reached, then, clickest thou holy Slashdot of OSDL towards thy server, who being naughty in My sight, shall snuff it.'

    Taco: Amen

  45. exponentially decaying attention by QEDog · · Score: 3, Funny
    "exponentially decaying attention span of slashdotters"

    It is called Geek A.D.D.

    --
    "There is no teacher but the enemy."-Mazer Rackham
  46. I just don't understand it. Really. by NerveGas · · Score: 2, Interesting


    The guy is talking about bursts of 42,000 hits per day, and talking about it "bringing their system down". Now I could see that on Windows, but not on Linux.

    Now, before you think I'm talking out of my posterior orifice, when my company was young and bright, we had a server built on a single 450 MHz Pentium 2, and 256 megs of RAM. It ran both Apache and PostgreSQL. Many of our pages were database-driven, which of course is a much larger load on the server than simple static pages.

    That little machine would peak out at around 60,000 hits per day. At that point, it was slow enough to be self-limitting, but there was never any fear (or realization) of having the machine "brought down".

    So, still "back in the day", I replaced it with a dual P3/650. That machine would peak out at around 100,000 hits/day (database driven!), without much problem at all. Also, as time goes on, and we develop new apps that make further use of our data, we tend to need more power to generate every page. Even still, we could crank out 40,000 hits per day on what would now be a relatively anemic server.

    Now, with 7 front-end web servers and a dedicated DB machine, we crank out 5 million hits/day without problem. And even when our systems have been IMMENSELY overloaded from both legitimate and illegitimate traffic, the systems have still responded, and never once have I ever worried about a machine "going down" from the load. Failed hardware, perhaps, but not the load.

    steve

    --
    Oh, you're not stuck, you're just unable to let go of the onion rings.
  47. Re:OT by E_elven · · Score: 2, Interesting

    Well, it's 8:20pm EST and I'm not getting through from a T1.

    --
    Marxist evolution is just N generations away!
  48. done, done and I'm on to the next one by simon333 · · Score: 2, Insightful

    I remember the days when I would treasure any new content and what I read or saw had more of an impact on me. Now information is just catalogued in my head and I feel this strange need to gather more all the time.

    I think the attention span problem is more widespread than just us slash-heads. People are now being inundated with constant 'quick clips' and cut scenes for every television show and commercial ...and don't even get me started on modern day movie trailers. There are so many cutscenes in trailers now that I literally have to close my eyes in the theatre to avoid having an epileptic seizure.

    How can our brains avoid being desensitized with so much information being thrown at us all the time?

    - Simon

  49. Subject (yes, this post is about subject) by pasi · · Score: 2, Insightful

    Remember also that even though it's a fact that a huge amount of Slashdot users are interested in articles like this, still I'd imagine that a "normal" article with actual information attracts more readers, and therefore causes more traffic and server load. I could be wrong too, but I doubt it. ;)

    They survived this before, just saying that judging their performance now by this article may not be correct. Subject does matter.

  50. How to load test a server by maddskillz · · Score: 2, Funny

    Seems like an easy way to get your setup tested

  51. Asymmetric load balancing can help too by billstewart · · Score: 2, Insightful
    If you want to continue serving your _real_ users while giving the slashdot crowd as much fun as you've got leftover horsepower to handle, and you're planning for this sort of thing in advance, it may help to trick your system into serving the slashdot crowd from one server and the regulars from a different one. Some obvious implementations:
    • Use the HTTP REFERER to direct /.ers to the second machine.
    • Use a friendly low-graphics front page that asks /.ers to click a link that goes to the second machine.
    • Modify your DNS so that people you recognize go to the primary machine and unrecognized people go to the second machine. If you're a university, most of your regular users are probably from .edu or .gov sites. If you're doing this anyway, you can also check DNS lookups to see if they come from open relays or spamblocked sites and send them to your _very_ _slow_ _smtp_ teergrube machine.
    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  52. Probably a dumb question by Lord_Dweomer · · Score: 2, Funny
    I don't know much regarding the technical details of this, so pardon my ignorance, but why is it that Slashdot never gets slashdotted?

    --
    Buy Steampunk Clothing Online!
    1. Re:Probably a dumb question by limbostar · · Score: 3, Funny

      Slashdot doesn't serve much in the way of images -- most of the content is textual -- so the bandwidth doesn't fill up as easily as it would if they were serving movies.

      The server configuration is designed to handle the load, with multiple servers, load-balanced arrays, that sort of thing, whereas the people they link to are typically running on shared servers, or have only a single server.

      Slashdot uses cached pages to avoid hitting the DB on every page load (mostly for the front pages), whereas smaller sites can get away with making a direct connection and doing more processor-intensive queries. Until they get linked by a site like Slashdot, anyway.

      Slashdot's DB server is most likely of the 'fire-breathing god' variety, able to handle standard Slashdot traffic without too much difficulty. Smaller sites typically have the database server on the same machine as the webserver, and sometimes both are shared.

      In general, it's all a matter of configuration. When you run a moderately successful small site, you're generally prepared for the amount of traffic you have, plus or minus 50%. Traffic generally grows slowly, so you have time to make adjustments when things start to get tight.

      When Slashdot links your site, you get a huge influx of traffic to a site that is designed to handle a tiny fraction of that traffic. It leads to badness.

      It's like trying to put an elephant into your freezer. If you're prepared for it, you have a big walk-in freezer. But most sites only need a small half-height fridge to keep their beer cold.

      --
      this is a sig.
  53. ha! by rabtech · · Score: 2, Interesting

    my server survived a slashdotting just fine - IIS 5.0 / win2k sp3, 512 ram, single IDE HDD, P3-800mhz, etc.

    The problem was, as it is for most people who get slashdotted, I didn't have a big enough pipe. Nothing to be done about that. I can't afford an OC3.

    --
    Natural != (nontoxic || beneficial)
  54. Bah by ttyp0 · · Score: 2, Insightful
    No need to throw lots of hardware and redundant systems to survive a /. From what I've seen, most sites that go down are due to a small number of reasons:

    1. Not enough bandwidth
    2. Poorly configured web server
    3. 300k images & 20MB mpeg/avi downloads (see #1)
    4. Not enough RAM (1GB is generally enough)

    I host about 50 domains for friends on my webserver (an Athlon 1.2Ghz w/ 1GB RAM) and have survived a simultaneous Slashdot and Fark link.

    --Brent

    Anti SCO T-Shirt

  55. TUX is another soultion by linuxperformer · · Score: 2, Informative
    One can effectively employ the TUX Web server on such situations. Especially if the pages to be served are entirely static in nature (TUX can manage dynamic content as well, though not its forte), TUX is the simplest solution. We once tried to serve the State Secondary School exam results here in Kerala, India using this technique and the performance was pretty impressive. It was accomplished with a P IV Compaq desktop PC with 256 MB of RAM. A write up is available at Tux@Play.

    So if your site is slashdotted, churn out a static version of the pages which are likely to be pulled most and hand them over to a TUX server. Sit back and enjoy the traffic!