News for hackers. Stuff that matters.
Re:Just how big are porn sites? by jetti on Wednesday April 04, 2012 @02:11PM (#3798954)
This and the article about YouPorn's stack make me really want to go work for these places. I'm sure that the day to day challenges would be fascinating and it would be a thrilling technical experience.
Re:Just how big are porn sites? by Killswitch on Wednesday April 04, 2012 @02:21PM (#3799007)
I worked in porn running sites like these (Not in that scale, but hundreds of thousands of daily visitors) for about 10 years... Sure traffic is easy to come by, but making money is a lot harder. You have to sell memberships to porn sites that have premium memberships and you get either revenue sharing or a flat fee.
Re:Just how big are porn sites? by Killswitch on Wednesday April 04, 2012 @02:22PM (#3799017)
Also you're fighting to sell a membership at sitea.com when some torrent or pirating site offers full rips of sitea.com within the top 10 results on Google for that search.

So basically you're trying to sell a $5 cup of coffee to a guy while someone next to you is giving away that same coffee for free + a bagel.

Re:Just how big are porn sites? by jetti on Wednesday April 04, 2012 @02:29PM (#3799059)
Which is why I would want to work for one and not run one. I just focus on technical, they just give me my money and everybody is happy!
Re:Just how big are porn sites? by Killswitch on Wednesday April 04, 2012 @02:31PM (#3799078)
Unless you're targetting working for a major company (Brazzers who owns PornHub, Tube8, KeezMovies, Extremetube, etc) you've gotta have some serious skills, otherwise you have to create your own site... Not many in the realm of porn actually have full companies behind them, most of them are just your average joe running a site by himself.

Not to mention most porn website owners are cheap... Doing any type of work in that realm is a pain.

Re:Just how big are porn sites? by jetti on Wednesday April 04, 2012 @02:46PM (#3799158)
Interesting. I guess the other factors come in and make the technical aspect less...appealing.
Re:Just how big are porn sites? by Killswitch on Wednesday April 04, 2012 @03:13PM (#3799295)
Believe me... The idea of being paid to watch porn wears off after the first 3 months... After that it screws with you...

One of the big things is, normally you see a hot girl and you're wondering how she's in bed... After working in porn for a year plus, you're wondering how much you could make off selling her on your site.

Re:Just how big are porn sites? by jetti on Wednesday April 04, 2012 @03:36PM (#3799422)
I honestly wouldn't want to watch it. I just want the technical challenge.
Re:Just how big are porn sites? by Killswitch on Wednesday April 04, 2012 @03:44PM (#3799458)
There really is no challenge...
Re:Just how big are porn sites? by JustinChaschowy on Wednesday April 04, 2012 @03:15PM (#3799306)
head on over to www.gfy.com, a forum for adult web masters.
Re:Just how big are porn sites? by Killswitch on Wednesday April 04, 2012 @03:29PM (#3799387)
That place is a joke and cesspool of everything that is wrong with the industry.
Re:Just how big are porn sites? by smashing on Wednesday April 04, 2012 @04:40PM (#3799727)
Ya, it really lacks the integrity that is the underpinnings of the porn industry.
Re:Just how big are porn sites? by stickfigure on Wednesday April 04, 2012 @11:33PM (#3801182)
Like companies in every industry, some porn companies are sleazy and some are not. On average, it probably compares favorably to investment banking and the domain name industry.
Re:Just how big are porn sites? by stickfigure on Wednesday April 04, 2012 @04:49PM (#3799763)
Kink.com is almost always looking for talented developers. Message me (my username @ infohazard.org) and I'll put you in contact with the right people.

It runs on a JBoss/Hibernate stack.

Re:Just how big are porn sites? by va_coder on Wednesday April 04, 2012 @05:06PM (#3799840)
Masochism and Hibernate go together like peanut butter and jelly
Re:Just how big are porn sites? by stickfigure on Wednesday April 04, 2012 @05:15PM (#3799897)
Thanks to Hibernate's second level caching, Kink.com's entire user-facing website traffic could be served by a single appserver and single MySQL instance.* Try that with Ruby.

* Not including NATS, which is an abomination.

Re:Just how big are porn sites? by jaggederest on Wednesday April 04, 2012 @05:31PM (#3799955)
Have done, thanks, varnish is the answer.
Re:Just how big are porn sites? by stickfigure on Wednesday April 04, 2012 @06:16PM (#3800147)
Unless you serve personalized pages. Which Kink does.
Re:Just how big are porn sites? by moe on Wednesday April 04, 2012 @08:05PM (#3800577)
A small bit of javascript tends to help with that.
Re:Just how big are porn sites? by stickfigure on Wednesday April 04, 2012 @09:13PM (#3800774)
That doesn't solve the problem at all, it just moves it from the generate-HTML request to a followon get-the-content-appropriate-to-this-user ajax request. Generating the information for each page is complicated, especially at Kink where your ability to interact with each "shoot" is determined by subscription rights, admin rights, microcurrency purchases, and who knows what else these days (I haven't seen the codebase in over four years).

Hibernate's clustered 2nd-level cache is still pretty magical. It means that the vast majority of web page requests are serviced out of RAM with zero database hits - without writing any special caching code. And it's transactional. For a certain set of scaling problems, this feature is golden.

Re:Just how big are porn sites? by moe on Wednesday April 04, 2012 @09:25PM (#3800812)
I've worked for a gaming site under the same constraints (probably stricter because real money was involved with nearly every transaction, no caching allowed).

Hibernate caching can surely be helpful, but you make it sound like a silver bullet and like there's no other approaches. There are plenty without tying yourself to J2EE hell. A little bloom filtering with memcached or redis can work wonders and might be more predictable than an opaque caching layer that can make you very unhappy once your working set exceeds a "magical" threshold (been there, with hibernate).

Re:Just how big are porn sites? by stickfigure on Wednesday April 04, 2012 @10:26PM (#3800982)
Oh, I don't claim it is a silver bullet. It can be frustrating as hell at times. And of course you can build your own distributed, transactional caching layer.

My point is that once you end up with a certain level of sophistication and scaling, you create your own hell. Hibernate is fairly refined technology for dealing with this exact situation. Homebrewing your solution is like wandering around in the desert - if you're smart, you'll make it out, if not, you'll be the next Friendster.

And FWIW, Java EE is not hell if you avoid the overengineered pieces like JSF.

Re:Just how big are porn sites? by dude_abides on Wednesday April 04, 2012 @02:15PM (#3798976)
Yep! I wish it was more socially acceptable :)
Re:Just how big are porn sites? by igrekel on Wednesday April 04, 2012 @05:40PM (#3799996)
I know some companies build a separate IT entity to have a more socially acceptable front for their employees.
Re:Just how big are porn sites? by jetti on Wednesday April 04, 2012 @02:16PM (#3798980)
Seriously! I think it wouldn't be hard getting a job after wards, but the real challenge would be explaining it to the missus! :)
Re:Just how big are porn sites? by SystemOut on Wednesday April 04, 2012 @03:24PM (#3799364)
Pron doesn't have that much of a negative stigma attached to it when it comes to the tech industry. At least none that I've experienced. I do admit that I use the holding company's name on my resume/linked in profile but I always disclose pretty early on what it was just to make sure. If they have a problem with it I don't want work for them anyways.

Also, you try to stop saying the word hard after working in the adult business....everyone snickers when they know where you've worked. ;-)

Re:Just how big are porn sites? by jetti on Wednesday April 04, 2012 @05:30PM (#3799953)
It isn't the tech industry's view I'd be worried about. It would just get tiresome having to explain that while I work at a porn site doesn't mean I watch porn all day when telling others what I do.
Re:Just how big are porn sites? by thret on Wednesday April 04, 2012 @07:38PM (#3800477)
I'd be worried about being the next Saeed Malekpour.
Re:Just how big are porn sites? by rmc on Wednesday April 04, 2012 @03:02PM (#3799241)
Haters gonna hate. Ignore the people who tell you you're stupid. Us geeks have been picked on for years.