Youporn Relaunches Tomorrow On Symfony2! | Eric Pickup | 1/23/12 6:54 PM | The site is obviously not safe for work (well your work not mine).
Tomorrow our site, with over 100 million page views per day, will be relaunching running on Symfony2. This is a complete rewrite. Prior to that it was running the Catalyst Engine written in Perl.
Working in Symfony2 has been great and everyone involved loves Symfony2. I want to thank you guys for all your hard work. You've created a great framework.
~Eric
|
Re: Youporn Relaunches Tomorrow On Symfony2! | Richtermeister | 1/30/12 11:21 AM | That's awesome, congratz!
I'm sure that would make for a great case study as to why you switched and what challenges you encountered/overcame.. Any interest in sharing details? Daniel |
RE: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! | Eric Pickup | 1/30/12 6:55 PM | Hi Daniel, I plan to put one together. I need to see with the CTO how many details I can give away. We have a pretty cutting-edge stack of components so I'm hoping to let the world know. I can tell you right away that clearing the app/cache when you change templates, configs, routing, etc is a complete nightmare. Webservers will run at 100% for 5-6 minutes even with Varnish handling most hits. 503s are a pain. Once I finish putting out fires like "this hidden and undocumented feature that was implemented years before I got involved is now broken", I'll put some detailed information together and run it by the CTO for clearance to publish. ~Eric ________________________________________ That's awesome, congratz! Daniel -- You received this message because you are subscribed to the Google
|
Re: Youporn Relaunches Tomorrow On Symfony2! | zhil | 2/2/12 2:26 AM | > I can tell you right away that clearing the app/cache when you change templates, configs, routing, etc is a complete nightmare. Webservers will run at 100% for 5-6 minutes even with Varnish handling most hits. 503s are a pain.Well, it can be easily solved. Create 2 installations of your site, point one to dev.yourdomain.com, second - to the yourdomain.com. Second - stable release. Do not change anything on it. First - dev version. As soon as it will be ready for the deployment - switch main domain on it (using dns/server settings etc.) |
Re: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! | Jamie Learmonth | 2/2/12 2:52 AM | On Thu, Feb 2, 2012 at 10:26 AM, zhil <sta...@gmail.com> wrote: If you have a massive cache because of all the pages, you might want to look into mounting app/cache using tmpfs then clear the cache by just remounting the partition as it's a memory partition. On such a high traffic site memory caching solutions would probably work best if it is feasible with your current infrastructure. Even memcache would be great as you can simply restart the daemon to wipe your cache.
If memory is not an option due to budget/infrastructure then you can move the cache folder to say "cache.old" and re-create it and then delete it at a more acceptable pace that doesn't affect the load on the servers whilst it is sitting somewhere else.
Jamie |
Re: Youporn Relaunches Tomorrow On Symfony2! | Dmitry Bykadorov | 1/31/12 10:48 PM | What an amazing news! )))))))
Eric, could you share your invaluable experience about highload application creation on Symfony2? E.g. article or slidecat? > For more options, visit this group athttp://groups.google.com/group/symfony-devs?hl=en |
RE: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! | Eric Pickup | 2/9/12 7:17 PM | I've started working on an article. I've been given permission to talk about everything that isn't directly security related so it will be quite detailed.
It was a successful launch by the way. Everyone is quite happy with the results. ~Eric ________________________________________ From: symfon...@googlegroups.com [symfon...@googlegroups.com] on behalf of Dmitry Bykadorov [dmitry.b...@gmail.com] Sent: Wednesday, February 01, 2012 1:48 AM |
Re: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! | Hugo Hamon | 2/10/12 12:21 AM | Awesome job Eric! Can't wait to read your article. Will you be at the Confoo conference? Cheers. -- Le 10/02/12 04:20, « Eric Pickup » <Eric....@manwin.com> a écrit : |
Re: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! | Manuel Kiessling | 2/10/12 12:44 AM | There hasn't been a single sexist porn-related joke in this whole discussion - what's wrong with us IT people? ;-) Honestly, can't wait for it, great job and truly terrific attitude re Regards, Am 10.02.12 09:21, schrieb Hugo Hamon: -- |
Re: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! | Tyrael | 2/10/12 1:24 AM | I think it just shows how mature/professional are the list subscribers here. Which is imo a really good thing.
|
RE: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! | Eric Pickup | 2/13/12 5:58 PM | I've also noted the lack of porn comments and I'm quite proud of you guys :P.
I'm working on my notes right now but since I have been asked to give the Keynote on Wednesday the 29th at the Confoo conference on this topic, my aim is more towards that - I've never spoken to 500+ people at the same time LOL. I need to get well prepared. It will be announced tomorrow. Once I have the presentation ready, I'll develop that into a series of articles. The presentation itself won't deal much with Symfony2 since a) Hugo himself will be doing training on it in much more detail and b) running Symfony2 at high traffic is more about the supporting technologies than the framework itself. With enough servers and the right tech, I could probably get Zend Framework working at our level although I would have to question my sanity for trying to. I'll cover the specifics of how we implemented Symfony2 itself more in the articles. I feel we really went with best of breed for everything on this project. It was the smoothest relaunch ever and we've done a bunch of them. ~Eric ________________________________________ From: symfon...@googlegroups.com [symfon...@googlegroups.com] on behalf of Manuel Kiessling [man...@kiessling.net] Sent: Friday, February 10, 2012 3:44 AM To: symfon...@googlegroups.com Cc: Hugo Hamon Subject: Re: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! |
Re: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! | Jordi Boggiano | 2/16/12 8:11 AM | Heya, On 14.02.2012 02:58, Eric Pickup wrote: Great. Looking forward to hearing that one. Sounds way better than the Cheers -- |
Re: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! | Peter Scherfel | 2/18/12 5:11 AM | Hi Eric, great job! Looking forward on article about this project. Can you tell Cheers
|
Re: Youporn Relaunches Tomorrow On Symfony2! | Andreas Schmidt | 2/21/12 1:31 PM | Great news :-) I'm currently working hard on a complete rewrite of our site. We don't have as many impressions as youporn has but I'm quite interested in the challenges you overcame. I'm looking forward to your report :-) By the way: what were the reasons for symfony2, and what was the reason for the complete relaunch with changes only related to the backend, and leaving the frontend as it is/was?! Greetz from germany... |
Re: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! | Martin Aulich | 2/22/12 2:14 PM | Hi folks, i started the development of a CSR community some time ago with Symfony2 and spent many night thinking: "Will it be suitable for our requirements, will it be stable for all those page hits" and then i'm reading this! Quite awesome to hear that such a highly visited website uses the same framework - good job Eric! May i ask if you used some library for rendering the menus and i you use some kind of "auto generated" administrator back-end for all the database-entities? How much work had the marriage between Doctrine (I assume you use Doctrine?) and Redis been? And last but not least: which search engine did you use? I know i'm asking much, but there's also one thing i'd like to give to you: You search-function isn't XSS-Safe (http://www.youporn.com/search/?query=%3Cscript%20type=%22text/javascript%22%3Ealert%28%22XSS%22%29;%3C/script%3E&type=straight) ;-). Good night from germany, ./Martin |
Re: Youporn Relaunches Tomorrow On Symfony2! | lucasaba | 2/23/12 4:01 AM | What happened ????? |
Re: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! | Luis Cordova | 2/23/12 9:54 AM | that site's security flaw is all over the news, I am not sure then why it was so much advertised and supported on this dev ml. I hope it is not sf2's fault.
|
Re: Youporn Relaunches Tomorrow On Symfony2! | Daniel A.Tiecher | 2/24/12 11:22 AM | The security breach has being done using a third-party chat system, not Symfony2's fault. For more information:
http://www.itwire.com/business-it-news/security/53005-youporn-user-credentials-hacked |
Re: Youporn Relaunches Tomorrow On Symfony2! | Eric Pickup | 2/29/12 7:49 PM | I actually covered this in my talk tonight. The requirement was that it should be transparent to end users. Our only tool to monitor success is traffic (we are not a paid site) so if a new feature or usability change improved or decreased traffic, we wouldn't know if the rewrite or this new change was the cause. There is also a brand issue. We have millions of loyal users and loyal users tend to love the "current" UI and that doesn't matter what site you are using. Sorry for the late reply, I've been concentrating on the presentation. ~Eric |
RE: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! | Eric Pickup | 2/29/12 9:26 PM | I've done the talk and dined with Hugo and Fabian this evening afterwards. I also met with a Doctrine dev tonight.
The website itself reads only from Redis which has no Doctrine hooks. All writes use mysqli since it is the most direct and fastest.
Our Content Management System (which is larger than most external people would believe) is complete doctrine based. Doctrine saved us in fact since the CMS was late but it allowed to develop huge parts of it in days. Within 2 weeks we had enough of it developed to launch.
From: symfon...@googlegroups.com [symfon...@googlegroups.com] on behalf of Martin Aulich [martin.au...@googlemail.com]
Sent: Wednesday, February 22, 2012 5:14 PM To: symfon...@googlegroups.com
-- This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately. Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser immédiatement, par retour de courrier électronique ou par un autre moyen. |
Re: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! | Daniel A.Tiecher | 3/1/12 11:27 AM | Do you have the slides of the talk online somewhere for poor folks like myself who where unable to attend ConFoo.ca? =) |
RE: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! | Eric Pickup | 3/1/12 6:28 PM | The Confoo guys hired a film crew and the video should be Youtube soon. I'll post a link as soon as I get it. The slides wouldn't be of much use by themselves anyway. They were mostly there to give people some reference.
The details were in the talk. From talking to the organizer, Confoo plans to release the highlights. We'll get the raw version and since Manwin has some of the best video guys I've ever seen we should have a full version available next week for viewing hopefully.
Eric Pickup
From: symfon...@googlegroups.com [symfon...@googlegroups.com] on behalf of Daniel A.Tiecher [dati...@gmail.com]
Sent: Thursday, March 01, 2012 2:27 PM
-- This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately. Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser immédiatement, par retour de courrier électronique ou par un autre moyen. |
Re: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! | Daniel A.Tiecher | 3/2/12 8:44 AM | Looking forward to that. Thanks for sharing the experience ! |
Re: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! | Vladimir Stanković | 4/24/12 6:37 AM | Does anyone have link for video recording? |
Re: [symfony-devs] Re: Youporn Relaunches Tomorrow On Symfony2! | Paweł Łaskarzewski | 8/28/13 3:11 PM | Here you can watch this: http://www.youtube.com/watch?v=RlkCdM_f3p4 On Sunday, March 17, 2013 12:46:38 AM UTC+1, Adam Hopkins wrote: Hi Eric, |