5 ms·
How we got 100,000 visitors without noticing
- jacquesm 16y agoI predict a lot of sites featuring the words 'free sms' will be hammered out within hours of this articles posting.
- StavrosK 16y agoWe didn't know one of our users publicised it, though, and we didn't know Google would even see it...
- chopsueyar 16y agoin portugese?
- chrismiller 16y agoThis might be slightly off topic but if you don't mind could you share the specs of your Varnish server? Everything I have read about Varnish says that it will run extremely well on pretty much any decent hardware. But I am still unsure how much power I should be providing it.
- jacquesm 16y agoHow many hits per day are you expecting? We serve up about 2000 requests per instance per second, 8 instances on an 8 core machine with 32 G of RAM.
- chrismiller 16y agoThanks for the numbers they are very helpful. Probably <500 cache hits per second (a large portion of the content isn't cacheable). So I should be able to serve that from a fairly low spec machine.
- jacquesm 16y agoI should probably add that those boxes have an improbably low load. 500 hits / second out of varnish ? Do you have a spare laptop lying around, could be an old one? ;) One good way to test is to replay a days worth of log files.
- pvg 16y agoWhy run separate instances on the same box?
- jacquesm 16y agoTo get over a bunch of limits.
- moe 16y agoWhat limits?
- jacquesm 16y agoSpecifically 65K file descriptors, I can't seem to get around that one in spite of all the limits having been raised appropriately. So I ended up running multiple instances. I've discussed this with a few other HN'ers and we agree that it shouldn't be necessary but to date I have no solution for this.
- chopsueyar 16y agoThis for ww?
- jacquesm 16y agoI wish :) No, it's actually for a competitor, I helped put their CDN together. WW is only about 100K uniques per day, that site is pushing very close to 2 million now. For ww.com I still use a very old chunk of software called 'yawwws', it takes care of the stills in the index and the index pages themselves. Hopefully we'll be able to phase it out soon for a Yii/memcached/varnish driven combo.
- StavrosK 16y agoAs jaquesm said, with your expected visits, you will probably see no load at all, so don't worry about it. You definitely don't need to give it more power, unless you're running it on a cellphone...
- deleted 16y ago[deleted]
- RBr 16y agoThe short form if don't want to read the entire post is summarized with this snip: "By some algorithmic oddity, the historious cache actually ranked higher than the site (which turned out to be the most popular free sms service in Brazil), so anyone who searched for "free sms" in Brazil ended up on the historious page!" In short, Google ranked an archive page (historious) higher then the content. Google corrected this problem, presumably automatically, 3 days after it happened.
- templaedhel 16y agoThis makes me want to go and try out varnish. I have heard great things, but never gotten around to setting it up.
- csomar 16y agonice discovery. I read somewhere in Blackhat forums about Google Search Engines traffic exploits. I didn't understand what they are talking about until I read your post today.
- emehrkay 16y agoI just hit the "historify!" bookmarklet on the varnish page. :)
- StavrosK 16y agoYour actions have placed all of us in great danger.
- mmaunder 16y agoEek, not to rain the parade, but this is not good historious team. Google's duplicate content filter is generally accurate but in this case it penalized the site that originated the content and ranked yours higher because it assumed you were the owner of the content i.e. the page about sending free SMS's. Google will quickly correct this error and you'll find the traffic on that page drops to nothing. You may also find other duplicate pages on your site penalized in the same way. You may also find your site penalized by Google for essentially screen scraping sites and copying their content verbatim and in it's entirety. I'd recommend you set up a robots.txt to block Google from indexing identical pages on your site. Copying content verbatim and republishing in it's entirety is not a good SEO strategy unless you have thousands of throw-away domains and wear a black hat. Sorry about the negative message, I'm sure this was very exciting for you guys but I don't think it's sustainable. Perhaps an alternative is to have your users highlight the paragraph or snippet on each page they found interesting and archive that instead. Then publish those snippets on your site. Generally I've found republishing paragraph size chunks of text is OK with Google and will net you decent SEO traffic. It worked for my job search engine when we republished job descriptions and limited them to the first 400 chars. You can also mash the paragraphs up into pages with multiple chunks of text that e.g. show all chunks of text a particular user found interesting or a set of users or by date or location. That will give you the best of both worlds - lots of content to SEO and no dup content penalty. Best of luck!!
- JeremyChase 16y agoOr set the canonical address of your cached pages to the real page.
- bananaandapple 16y agoThey could sue you for copyright infringment if they wanted. And allowing google to index your "stolen" content pages is just outrageous. You don't own that content.
- StavrosK 16y agoThen we could sue Google for copyright infringement for caching our pages, I guess... Why would we not allow Google to cache it? Each cached page has a great big box on top saying that this is the historious version of the cache and linking to the original site... Example: http://cache.historious.net/cached/515865/ http://cache.historious.net/cached/515865/
- sounddust 16y agoThere's a huge difference between what Google is doing and what you're doing. 1) Google is caching pages for a specific purpose and ensuring that they aren't cached/scraped by others: http://webcache.googleusercontent.com/robots.txt http://webcache.googleusercontent.com/robots.txt By not excluding robots, you're opening yourself to all kinds of situations where you are responsible for draining revenue from the owner of the content, which leaves you liable to lawsuits. By contrast, the way that Google caches content and their rules surrounding it do not generally harm the copyright owner. 2) Google honors all robots.txt, no-archive meta-tags, and other indications that the author doesn't want the page to be cached. Is historious doing the same?
- StavrosK 16y ago1) We do exclude robots now, yes. 2) historious doesn't spider websites, it only saves the pages the users give us. It's the same as a user deciding to make a backup of a webpage on their computer...
- carbocation 16y ago"It's the same as a user deciding to make a backup of a webpage on their computer..." ... and then publishing it on the Internet. (This is not meant to be snarky or to imply opposition to your product at all. I think there is a meaningful difference between saving to a computer and saving to a web-accessible, apparently globally readable website.
- jasonkester 16y agoThis is exactly what should happen when your low-traffic site suddenly gets 50k visits in a day: Absolutely Nothing. Kudos to the historio.us guys for building something that can actually handle a little spike in traffic without falling over. We see so many sites come through here that are showing 500 errors by the time they get halfway up the front page that you'd think nobody knew how to do this stuff anymore. Great job of ticking off the basics, guys. Building on top of that foundation, you shouldn't have any trouble scaling out when this sort of traffic starts becoming a daily occurrence.
- StavrosK 16y agoThank you! To give credit where it's due, buro9 from HN urged us to implement the Varnish caching feature for cached pages, so we had it written but disabled because we didn't think it was going to get that much traffic. We hadn't turned it on for the first 30k visitors and the server was still doing great, but when we saw it we just switched it on and load dropped to nothing. Serious amounts of love for Varnish here.