Profile cover photo
Profile photo
Jerome Terry
About
Posts

Post has attachment
My Response to "Avoid Lazy Loading in ASP.NET"
Shawn Wildermuth wrote a post Avoid Lazy Loading in ASP.NET  where he argues that web applications should not make use of the lazy loading features in ORMs. His argument for not using lazy loading is because of potential problems, including increased web pa...
Add a comment...

Post has attachment
Postgres Query Stats using pg_stat_statements
Just wanted to share how to configure Postgres to capture query statistics using pg_stat_statements , including how often queries are run, how long they take to execute, along with a whole host of other useful information. First, you need to edit the Postgr...
Add a comment...

Post has attachment
Java ExecutorService and Linux Max Process Limit
Here's a little post about the Java ExecutorService, and a problem I ran into on Ubuntu. Consider this Java code public static void main(String[] args) throws InterruptedException {     int tasksSubmitted = 0;     int nTasks = 800;     int taskDur = 2000;  ...
Add a comment...

Post has attachment
Java ExecutorService and Linux Max Process Limit
Here's a little post about the Java ExecutorService, and a problem I ran into on Ubuntu. Consider this Java code public static void main(String[] args) throws InterruptedException {     int tasksSubmitted = 0;     int nTasks = 800;     int taskDur = 2000;  ...
Add a comment...

Post has attachment
Openers vs Closers
I've read an article in the past about the 2 types of developers: openers and closers. I can't remember the exact link, but this distinction is weighing on my mind lately. In my mind these are roles, not developer types. A developer might be filling either ...
Add a comment...

Post has attachment
Systems Thinking
I've recently finished reading The DevOps Handbook . It's a really great book and I highly recommend anyone participating in software development to give it a read. In the book, the authors describe the Three Ways (aka principles): Flow Feedback  Continual ...
Add a comment...

Post has attachment
Java: throws Exception
I have a pet peeve in Java, and it's methods that use the java.lang.Exception class in the throws clause. For example public void doSomething() throws Exception { } This forces callers of the doSomething method to either catch the raw Exception, or add it t...
Add a comment...

Post has attachment
2016 Reading List
As part of my own personal professional development, I publish the books I've read for the year. I'm on GoodReads, and here is my r eading challenge .  Looking back, there were a few themes Performance - I'm staring to get serious about performance analysis...
Add a comment...

Post has attachment
Generating Java Mixed Mode Flame Graphs for Tomcat Web App
It's been on my plate for awhile now to figure out how to profile Java applications from the command line. I've seen Brendan Gregg's talk on generating mixed-mode flame graphs , and now I'd like to share my experience reproducing those graphs. There's a wri...
Add a comment...

Post has attachment
Running Sales Demos using Vagrant and VirtualBox
Sales Demo Imagine you have a Java web application that you deploy via a WAR file to a Tomcat server, and you want your sales staff to be able to demo that application from their laptops. The sales folks often times go onsite to customers offices, where the...
Add a comment...
Wait while more posts are being loaded