Live data from Hacker News

Youporn.com is now a 100% Redis Site

groups.google.com

61–70 of 133 posts

Re: Youporn.com is now a 100% Redis Site

#61
post #4
post #3

Earlier quoted context omitted.

You know your software is successful when it's used by porn sites :D

I remember in the 90's having a conversation with my friend. We were discussing Linux vs Windows for web hosting. My friend said "tell me if you can find a single porn site that's hosted on Windows." He was right, I couldn't find any.

How long did you spend on this "research" out of interest? :-)

Re: Youporn.com is now a 100% Redis Site

#62
post #15

For some reason I always imagine porn sites to be run by guys in cheap suits and lots of hair gel. Then I realize that in order to run a site with the kind of traffic that some of them have, you really need to have some decent engineers on staff.

You'd be surprised if you went to meetings with porn business companies in Japan. Stylish offices, elegant suits, great manners, no hint of actual porn anywhere. In fact, you could easily confuse the office with an investment bank.

Well, they almost ARE an investment bank. They've commoditized sex and are now trading it.

Re: Youporn.com is now a 100% Redis Site

#63
post #28
post #10

Earlier quoted context omitted.

I was afraid to see what youporn is (at work now), so i guess it is really a porn site.

The online porn industry were the first people to really deal with scalability (of managing and serving web content, anyway), the first people to deal with online payments, the first people to come under really heavy, sustained hacking attempts, etc. Don't underestimate how much of what you take for granted technologically in 2012, they pioneered in the mid-90s.

A friend of mine built a lot of porn sites in the late 90s using DB2 and Oracle. He says that Microsoft's SQL Server folks came to him to talk about what it would take to get him (and the porn sites) to use SQL Server.

He said that he was confident that DB2 and Oracle could handle the load. They responded that SQL Server was much more capable than he thought and asked him about the workload.

Their response to his answer was "we can't even simulate that, maybe we're not ready".

I assume that they got better.

Re: Youporn.com is now a 100% Redis Site

#67
post #2

That's porn for database geeks: 100 million pageviews per day, 300k requests per second against Redis. The way they use MySQL is also interesting IMHO: they populate a relational database in order to be able to build new indexes in the Redis side, using the relational DB for the stuff it is best at, generating new "views" of the data easily. (Relational DBs are also good to do a zillion more things of course.)

Do they use any sort of wrapper or architecture around it? Is it in Ruby, BTW?

Re: Youporn.com is now a 100% Redis Site

#68

Earlier quoted context omitted.

Ok, I'm feeling rather naïve and waking up slowly this morning. Why do they care to know that? I mean, what about their business does that help them improve? Because, I think we can take it somewhat for granted that such information probably isn't something which the individuals involved, their customers in this situation, enjoy knowing is being collected about them. "Hey, you know that activity you probably consider…

It probably lets them know how long the movies they produce should be. If it's too long before any action is in there then people move on. If it's not long enough then the customer doesn't get what they want. Optimizing this means that they can take a single 8 hour shoot, that'll produce maybe an hour and a half of good footage (just pulling numbers out of my ass) and make more than one video of the right length to g…

Ok, thanks, I'm restored to cynical now... and the business advantage to be found here is that they can go even further than just optimizing length to match what people want, they can make them just a bit shorter than more people would like, so people will buy two instead of just one.

Re: Youporn.com is now a 100% Redis Site

#69
I'm currently looking into redis for similar needs. I'd be using it from perl and wondered how will it would scale... (IIRC (from people I know who have worked there) youporn/pornhub runs on Catalyst, an MVC-based web framework written in perl.)
Post reply on HN