5 ms·
What has impressed me most, is that a pretty crap script has received so much praise. EDIT: Re-reading, that sounds a little bitchy.. I didn't mean it that way
by Daviey 14y ago
What has impressed me most, is that a pretty crap script has received so much praise.
EDIT: Re-reading, that sounds a little bitchy.. I didn't mean it that way. Sorry
- delinka 14y agoPlease describe how this script is crap. It's short and to the point, it does its job, handles the load, and it doesn't pass bogus characters to the command line. Perhaps it needs commenting? Could be formatted more nicely? I'm truly interested in your characterization because I'm just not seeing it.
- reidrac 14y agoI don't know if the 350k hits run that script, let's say they did. The OP is praising the performance of lighttpd + php5-fpm, but the script actually spawns an external process to search for the UUID. That's like running an old GGI that needs to be executed with every request. I may be wrong but using lighttpd and php5-fpm (with fastcgi) may not be as relevant as it seems. I'd say that the operating system is caching everything. EDIT: yes, php-fom is "a simple and robust FastCGI Process Manager for PHP". I'm no doing much PHP lately!
- deleted 14y ago[deleted]
- delinka 14y agoPremature optimization. Obviously, this thing works well enough and handles the load. Why worry about whether it's launching a process? When the system begins to show signs of stress, you look at where it's spending its time, then alleviate the bottleneck.
- james-skemp 14y agoFinally ran the tool and the only issue I had was that the 'not found' message was at the bottom of the page, now below the fold. When I first visited the site, before he started putting more text on the page, I don't think I would have run into the issue. Browser window isn't maximized; if I scroll all the way up it cuts off the last two paragraphs/sentences (link to his wife's blog and the results). Otherwise it's simple; it doesn't need to be flashy when it's a one-stop site (unless they release the remaining ones).
- RKearney 14y agoI agree. I had never heard of the site this post is referring to. I used a different site to check UDID's that let you only enter in part of the UDID. This site looks like it REQUIRED you to send the ENTIRE UDID. Not very good. I also had a blog post hit the front page of Reddit as well as Gizmodo. ~400K hits over 24 hours. Page size was roughly 700KB in size. All hosted on a shared hosting plan at HostGator. How? A free CloudFlare account to cache every image/css/js resource on the page, plus a custom page rule to force cashing of the actual html response from the server. Did I think my situation was impressive? Not really. Just an average number of pageviews for a front page article.