Devoxx France: A Great Conference in a Magnificent City
Join the DZone community and get the full member experience.Join For Free
2011 was the year i spoke about my experience with play, scala, coffeescript and jade . i wrote the presentation on my flight over, composed the demo video the night before and made it all happen in the nick of time. of course, this was after 120 hours of research and preparation, so the presentation composition process had all the data i needed. you can imagine my sense of relief after pulling off that talk and getting an enthusiastic applause from the audience for my efforts.
one of the first audience questions i received was from nicolas martignole , asking if i'd speak at devoxx france the following year. i whole-heartedly agreed to do it and was excited for the opportunity. it was with great disappointment that i later found out i couldn't attend devoxx france in 2012. my client didn't like me taking so much time off and i agreed to scale my two week vacation back to 1 week . this year, i was determined to go, so i submitted some of my favorite talks: comparing jvm web frameworks and the play vs. grails smackdown with james ward . i was extremely pleased when they both got accepted.
side story: i met martin odersky shortly when he sat down next to me for the java posse presentation in belgium in 2011. after shaking his hand and introducing myself, i had to politely ask him to leave because it was trish's seat. talk about awkward; but martin was very gracious and promptly found a new seat close by.
comparing jvm web frameworks
i took out the parts of the presentation that've pissed people off in the past - particular the jsf bashing by james gosling, the rails gushing from craig mcclanahan and the pros and cons sections of each framework. i added the history of web frameworks and research from infoq and devrates.com .
the best part of the jvm web frameworks talk was the audience's reaction and enthusiasm. devoxx always seems to attract passionate developers and devoxx france was no different. developers packing the room, clapping after your intro, laughing at your jokes, signifying that they agree with you about jsf. as a speaker, it's an unbelievable experience.
you can view my comparing jvm web frameworks presentation below or on slideshare.net .
play frameworks vs. grails smackdown
to prepare for james ward and my play vs. grails smackdown, we had a number of goals. first of all, we wanted to update our apps to use the latest versions of each framework. i documented what it took for grails , james just checked in his code to github. it was interesting to see that grails 2.0.3 -> 2.2.1 caused a number of issues with testing, while play 2.0.3 -> play 2.1.0 required api changes, but nothing for tests. secondly, we updated all the stats for our pretty graphs and ran load tests again .
this is where the fun started. on tuesday evening, i decided to challenge the notion that play was twice as fast as grails. james had proven this with apache bench tests. with play 2.0 and grails 2.0 (last summer), we clocked play at 251/requests per second and 198 for grails. after upgrading each app to the latest releases, we found the numbers to be 233/second for play and 118 for grails.
however, apache bench only tests until the first byte is received. since i've done a lot of browser optimizations recently, i fired up whichloadsfaster.com , captured a screenshot and added it to our presentation . the next day, james added a cdn and a bunch of caching to his app and re-ran his ab tests.
now he was smoking grails, so i added a cdn and caching as well. however, the best i could do was just over 1000/requests per second, while he was around 2200/second. when he ran live tests during our talk, play was around 2800/sec and grails was around 900.
it was great to see how much better performance we could get with caching and a cdn. the best part is this should be available to most applications, not just these frameworks. by adding a cdn (we used amazon cloudfront) and caching, we were both able to 10x the performance of our apps. you can find out presentation online at http://ubertracks.com/preso or view it below.
this was a very enjoyable conference to attend as a speaker. first of all, it was in one of the most beautiful cities in the world, but it's also a very special place for trish and i. we got engaged just outside of paris in versailles after the last devoxx conference i spoke at. trish has some amazing photos from our last trip. secondly, the devoxx conference attracts a special kind of developer - one that is passionate about and eager for knowledge. lastly, speaking with my good friend james, in an exotic city about something we love - that was special. asking for beers and having them brought to us at the start of our smackdown. that was magical (thanks nicolas!).
to all the devoxx organizers and crew - well done on a great show!
Published at DZone with permission of Matt Raible, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.