Current time: 12-17-2017, 12:20 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SPOD - single point of delay
10-08-2012, 08:29 PM
Post: #1
SPOD - single point of delay
SPOF is fine, but that SP is also a single point of delay. If the server is responding but very slowly then the impact on the page is still bad, and if they're really slow it's worse than SPOF because the browser won't timeout.

So, I see you can specify the overall connection speed in the Test Settings tab but I'd like to do this on a per-host basis. I'd then like to do the video comparison just like the SPOF video does an excellent job of.
Find all posts by this user
Quote this message in a reply
10-09-2012, 10:37 PM
Post: #2
RE: SPOD - single point of delay
I can't do this directly but if you want to put a few pieces together you should be able to. You basically just need a server that can accept requests for arbitrary objects and then take however long you want before returning (or never returning). Then you can use the setDnsName and overrideHost commands to redirect the domains in question to your custom server.

If you want to get really fancy you can have your server fetch the original resource and proxy it through but if you're just looking for a long delay you could simply return a 204 after however long you want to hold things up.

The behavior should look a lot like a SPOF, just with the timeout being variable (from shorter to infinitely long).
Visit this user's website Find all posts by this user
Quote this message in a reply
10-10-2012, 12:56 AM
Post: #3
RE: SPOD - single point of delay
Hi Pat, building on your blackhole work (oh btw, never search for "blackhole server" in work, bad idea) i created a number of stubs.

slow.mydomain.org
big.mydomain.org
bignslow.mydomain.org
blackhole.mydomain.org

These end points return data (or not as their name suggests) and allows me to stub out the SPOFs.

So how will my site behave if facebook are up, but returning some huge payload very slowly?

I use these with an internal WPT instance running in CI.

all the best,

@hsiboy

p.s i missed you in London, i still owe you a beer!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)