Java

JAX: Tales from production

May 23, 2013
logging, Java, Event, JAX

JAX: Tales from production # In a second presentation Peter Roßbach together with Andreas Schmidt provided some more detail on what the topic logging entails in real world projects. Development messages turn into valuable information needed to uncover issues and downtime of systems, capacity planning, measuring the effect of software changes, analysing resource usage under real world usage. In addition to these technical use cases there is a need to provide business metrics. ...

JAX: Logging best practices

May 22, 2013
logging, Java, Event, JAX

JAX: Logging best practices # The ideal outcome of Peter Roßbach’s talk on logging best practices was to have attendees leave the room thinking ``we know all this already and are applying it successfully’’ - most likely though the majority left thinking about how to implement even the most basic advise discussed. From his consultancy and fire fighter background he has a good overview of what logging in the average corporate environment looks like: No logging plan, no ...

JAX: Java performance myths

May 22, 2013
performance, myth, Java, Event, JAX

JAX: Java performance myths # This talk was one of the famous talks on Java performance myths by Arno Haase. His main point - supported with dozens of illustrative examples was for software developers to stop trusting in word of mouth, cargo cult like myths that are abundant among engineers. Again the goal should be to write readable code above all - for one the Java compiler and JIT are great at optimising. ...

JAX: Does parallel equal performant?

May 21, 2013
performance, Java, Event, JAX

JAX: Does parallel equal performant? # In general there is a tendency to set parallel implementations to being equal to performant implementations. Except in the really naive case there is always going to be some overhead due to scheduling work, managing memory sharing and network communication overhead. Essentially that knowledge is reflected in Amdahl’s law (the amount of serial work limits the benefit from running parts of your implementation in parallel, http://en. ...

JAX: Pigs, snakes and deaths by 1k cuts

May 20, 2013
performance, Java, Event, JAX

JAX: Pigs, snakes and deaths by 1k cuts # In his talk on performance problems Rainer Schuppe gave a great introduction to which kinds of performance problems can be observed in production and how to best root-cause them. Simply put performance issues usually arise due to a difference in either data volumn, concurrency levels or resource usage between the dev, qa and production environments. The tooling to uncover and explain them is pretty well known: ...

Note to self - Java heap analysis

February 9, 2012
Hacking, Java, troubleshooting, heap, Note to Self

Note to self - Java heap analysis # As I keep searching for those URLs over and over again linking them here. When running into JVM heap issues (an out of memory exception is a pretty sure sign, so can be the program getting slower and slower over time) there’s a few things you can do for analysis: Start with telling the effected JVM process to output some statistics on heap layout as well as thread state by sending it a SIGQUIT (if you want to use the number instead - it’s 3 - avoid typing 9 instead ;) ). ...

Devoxx – Day one – Java, Performance and Devops

December 15, 2010
Java, devops, General, performance, optimisation, Devoxx

Devoxx – Day one – Java, Performance and Devops # In his keynote Mark Reinhold provided some information on the very interesting features to be included in the Java 7 release. Generics will be easier to declare with the diamond operator. Nested try-finally constructs that are nowadays needed to safely close resources will no longer be necessary – their will be the option of implementing a Closeable interface supporting a method close() that get’s called whenever objects of that class’s type go out of scope. ...

Devoxx – Day three

December 10, 2010
lombok, Java, Devoxx, General

Devoxx – Day three # The panel discussion on the future of Java was driven by visitor submitted and voted questions on the current state and future of Java. The general take-aways for me included the clear statement that the TCK will never be made available to the ASF. The promise of Oracle to continue supporting the Java community and remaining active in the JCP. There was some discussion on whether coming Java versions should be backwards-incompatible. ...

Devoxx – Day two – Caching

December 7, 2010
caching, Hacking, Java, Devoxx

Devoxx – Day two – Caching # Day two started with a really good talk on caching architectures by Greg Luck. He first motivated why caching works: Even with SSIDs being available now there is still a huge performance gap between RAM access times and having to go to disk. The issue is even worse in systems that are architected in a distributed way making frequent calls to remote systems. ...

Devoxx Antwerp

December 3, 2010
Java, NOSQL, antwerp, General, Mahout, Software Foundation, Devoxx

Devoxx Antwerp # With 3000 attendees Devoxx is the largest Java Community conference world-wide. Each year in autumn it takes place in Antwerp/ Belgium, in recent years in the Metropolis cinema. The conference tickets were sold out long before doors were opened this year. The focus of the presentations are mainly on enterprise Java featuring talks by famous Joshua Bloch, Mark Reihnhold and others on new features of the upcoming JDK release as well as intricacies of the Java programming language itself. ...