Avoiding insurmountable queue backlogs

Queues offer a promise of reliability for integrating applications, but can cause more subtle operational risks.

Queues exhibit ‘bi-modal behavior’ — low latency when everything is working well, but can rapidly form large backlogs when a failure occurs. This can dramatically increase the recovery time from outages.

Amazon offer an extremely interesting article about the reliability of queuing, with strategies to limit and manage backlogging.

Bad auto-completions in Eclipse

Eclipse recently has suffered increasing numbers of questionable autocompletions — sometimes auto-wrongly replacing  perfectly good code typed by the developer.

While there might be a few underlying issues, I found replacing “map.put()” with “map.compute()” particularly annoying and went to investigate. Here’s the solution.

Continue reading