Major change to delivery scripts could cause unforseen issues

2 posts / 0 new
Last post
puravida's picture
puravida
Jedi Warrior
Offline
Joined: 09/01/2007
Visit puravida's Website

I just finished deploying and final testing a major code change to prevent resource drains in a few dozen "bad request" scenarios. Coupled with this change, I have added several more checks for various types of bad requests that will be completely blocked now, and I rearranged and re-factored the timing and logic to avoid unnecessary database lookups in these cases.

So far, this change appears to be working and prevents recently discovered "bad requests" and I tested a large number of URLs and features to be sure the system was still working as expected. However, there are so many possible types of requests and bad data, many I haven't even discovered yet, that it is impossible to know 100% if everything is working well.

If you see anything amiss, please open a support ticket and let us know.

All should be well, though, as I've been testing and monitoring for a few hours now and haven't seen anything strange, other than a hiccup from 4am (GMT -0500) until 8am (GMT -0500) where I deployed and found a bug. That bug accidentally caused a few thousand new requests to be created for domains that were already cached in the system. So there was some delay delivering those requests while they captured like new. At any rate, I quickly deployed a fix and then spent an hour writing code to find those bad requests and delete them. I then tested everything and found no new issues.

This change seems to be worthwhile, as I've already seen it block about 1,000 unnecessary bad requests per minute. So hooray for little victories. Smile

Cheers,

Brandon

puravida's picture
puravida
Jedi Warrior
Offline
Joined: 09/01/2007
Visit puravida's Website

So far, there haven't been any reported issues and we haven't detected any anomolous activity. So this change seems to be OK. If anyone sees any strange behavior, do let us know.

ShrinkTheWeb® (About STW) is another innovation by Neosys Consulting
Contact Us | PagePix Benefits | Learn More | STW Forums | Our Partners | Privacy Policy | Terms of Use

Announcing Javvy, the best crypto exchange and wallet solution (coming soon!)

©2018 ShrinkTheWeb. All rights reserved. ShrinkTheWeb is a registered trademark of ShrinkTheWeb.