addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1linklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Test Driving Thread Safety m/Dr. Venkat Subramaniam

Denne gangen er vi - i samarbeid med JavaBin, og takket være NDC - så heldige å få besøk av den prisbelønte forfatteren og foredragesholderen Dr. Venkat Subramaniam. Dette vil du ikke gå glipp av!

Obs: Møtet er mot normalt på torsdagen denne gangen!

Abstrakt:

It came as a shock to me when I tried to convince myself that the multithreaded code I was writing was not unit testable. It is too complex, non-deterministic to be driven through tests, I told myself. I was so convinced I set out to show TDD does not apply here. But in the end, I proved myself wrong. In this zero-slides presentation, we will use TDD to drive the design of a multithreaded code. Along the way we will hit some roadblocks, use those to learn some techniques and practices that will help break the barriers.

If you have confronted test driving for thread-safety this session is for you. Why does unit testing appear so hard for multithreaded code? See in action the influence of design on unit testability Learn how to approach unit testing for thread-safety? Learn from an interactive session where you participate in driving the design and tests You will not learn any theory in this session, only practical techniques.

There are no prepared slides for this session, it has live coding and high interaction from the audience. I take a problem which involves multiple threads and thread-safety. With interaction and help from the audience I build the code live, driving it with unit tests. We will quickly run into the regular stumbling blocks. I then let the audience spend a few minutes discussion options about how they would handle it or what they have done in the past. I present details of how I handled it and proceed to complete the exercise, showing the ways to tackle the problem and achieve the goal of unit testing for thread-safety. The last ten minutes is spent on retrospection and opinions of the audience as to the applicability of what they have learned.

Om foredragsholderen:

Dr. Venkat Subramaniam is an award-winning author, founder of Agile Developer, Inc., and an adjunct faculty at the University of Houston.
He has trained and mentored thousands of software developers in the US, Canada, Europe, and Asia, and is a regularly-invited speaker at several international conferences. Venkat helps his clients effectively apply and succeed with agile practices on their software projects.

Venkat is the author of ".NET Gotchas," the coauthor of 2007 Jolt Productivity Award winning "Practices of an Agile Developer," the author of "Programming Groovy: Dynamic Productivity for the Java Developer" and "Programming Scala: Tackle Multi-Core Complexity on the Java Virtual Machine" (Pragmatic Bookshelf). His latest book is "Programming Concurrency on the JVM: Mastering synchronization, STM, and Actors.

AGENDA

17:00-18:00 - Pizza på Dolly Dimples

Pizza på Dolly Dimples på Torgallmenningen. Det er 5 minutters gange fra Scandic hvor arrangementet holdes. NNUG spanderer pizza og noe å drikke uten alkohol. Om du ønsker noe annet fra baren tar du det på egen regning :-)

Husk at alle må være tilstede på konferanserommet til 18:00 da presentasjonen starter!

18:00-19:00 - Test Driving Thread Safety

19:00-19:15 - Pause

19:15-20:15 - Test Driving Thread Safety forts.

20:30-__:__ - Geek Beer

Vi drar til Kontoret (ved siden av Dickens) og fortsetter diskusjonene over noe kaldt å drikke.

PS: Det vil også bli trukket en heldig vinner av en "late bird" golden ticket til NDC 2012, som foregår uken etter i Oslo.

Join or login to comment.

  • Imtiaz M.

    Although I have not been working with programming, no doubt it was a tremendous experience. I appreciate speaker’s abilities and such a high caliber.

    June 2, 2012

  • Jarl T.

    A little oversold, as Venkat himself admitted.
    Lots of trivial TDD, but nice seeing a proficient coder at work.

    June 1, 2012

  • Stian A

    I thought it was very interesting how Dr. Subramaniam solved the problem by simplifying it instead of attacking it head on. It certainly worked well in this example.

    June 1, 2012

  • Andreas Lien O.

    Veldig bra sesjon av Venkat!

    June 1, 2012

  • Torbjørn M.

    Venkat is a great speaker, and the meeting was good fun. But he wasn't able to provide a silver bullet for ensuring thread safety. Obviously there are none :)

    June 1, 2012

  • Ove Gram N.

    A good speaker, good examples and to the point. While I don't necessarily totally agree with his solution to the problem of testing thread safety, the talk was inspiring and gave me food for thought.

    June 1, 2012

  • Torbjørn M.

    Tips: Om du vil vinne NDC-billetten i kveld må du tenke ut en grunn til at akkurat DU fortjener å få den!

    May 31, 2012

  • Torbjørn M.

    Det er NDC 2012 som gjør det mulig for Venkat å komme til Bergen, og jeg har oppdatert møtebeskrivelsen med info om trekning av en ny Golden Ticket til konferansen med en verdi på kr[masked],-. For deg som ikke vil satse på at akkurat du vinner billetten: Det er fortsatt ledige biletter igjen, og Programutvikling kan hjelpe deg med å finne hotell.

    May 17, 2012

Our Sponsors

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy