News for hackers. Stuff that matters.
Re:GitHub hit by DDoS attack by kevinchen on Friday March 27, 2015 @09:50AM (#9276221)
Generating a 301 is certainly less work than rendering the entire user's profile page.
Re:GitHub hit by DDoS attack by spartas on Friday March 27, 2015 @10:34AM (#9276494)
Generating a 301 is likely more work. Profile pages are simple database hits, and they may be dynamically or even statically cached (for popular pages). You're probably severely underestimating how much traffic China can produce [1].

1. http://furbo.org/2015/01/22/fear-china/

Re:GitHub hit by DDoS attack by true_religion on Friday March 27, 2015 @11:03AM (#9276680)
A 301 avoids a database hit, and avoids having to go through the cache framework all together.

It just says given this URL, we return an header that tells the browser to redirect. The only thing faster would be just dropping the connection as soon as its given to you.

Re:GitHub hit by DDoS attack by rookieljw on Saturday March 28, 2015 @03:52AM (#9280783)
Excuse me, Why no 403 or 404?
Re:GitHub hit by DDoS attack by pbjtime on Saturday March 28, 2015 @05:15AM (#9280866)
If I scroll up a bit, I see the reason is:

> redirect the workload to some Chinese government's website and let them suffer what they've created.

Re:GitHub hit by DDoS attack by orf on Friday March 27, 2015 @12:16PM (#9277180)
A 301 is unequivocally less work in every respect.
Re:GitHub hit by DDoS attack by tracker1 on Friday March 27, 2015 @11:35AM (#9276880)
If verizon and the like can hold up traffic to/from Netflix... couldn't they just do the same for chinese traffic? Maybe redirect requests for baidu to a chinese version of google?

I'm not saying this is a great idea, just that something could be done.