The Amazon AWS Java SQS Client is *Not* Thread-safe

Main menu:

Topics

Recent Posts

Feeds

RSS Feed RSS - Posts

June 2018
M T W T F S S
« May    
 123
45678910
11121314151617
18192021222324
252627282930  

Past Posts

Java/Java EE

JDBC

Other

Archive for the tag "java8"

The Amazon AWS Java SQS Client is *Not* Thread-safe

February 14th, 2018 by Scott Selikoff

I recently added long polling to an Amazon SQS project that processes thousands of messages a minute. The idea was simple: Spawn N number of threads (let’s say 60) that repeatedly check an SQS queue using long polling Each thread waits for at most one message for maximum concurrency, restarting if no message is found […]

getting started with gradle in eclipse on a mac

February 4th, 2018 by Jeanne Boyarsky

I’ve used Gradle before although not a ton. For example, I compared eGradle and Buildship here. It’s been a while though. Which means my laptop setup has changed enough for it to be an adventure. (and not everything I needed to know was in my memory). Eclipse Oxygen comes with Gradle installed so I thought […]

JavaOne – Optional – the mother of all bikesheds

October 5th, 2017 by Jeanne Boyarsky

“Optional – the mother of all bikesheds” Speaker: Stuart Marks #OptionalBikeshed The deck is available online For more blog posts from JavaOne, see the table of contents Showed early version of “optional” (stream returning null) Review of basics Two states – present (contains non null reference) or absent Don’t say “null optional”. Say “absent” or […]