<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: The Amazon AWS Java SQS Client is *Not* Thread-safe	</title>
	<atom:link href="https://www.selikoff.net/2018/02/14/the-amazon-aws-java-sqs-client-not-thread-safe/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.selikoff.net/2018/02/14/the-amazon-aws-java-sqs-client-not-thread-safe/</link>
	<description>Java/J2EE Software Development and Technology Discussion Blog</description>
	<lastBuildDate>Mon, 30 Apr 2018 13:09:44 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Dag		</title>
		<link>https://www.selikoff.net/2018/02/14/the-amazon-aws-java-sqs-client-not-thread-safe/comment-page-1/#comment-197775</link>

		<dc:creator><![CDATA[Dag]]></dc:creator>
		<pubDate>Mon, 30 Apr 2018 13:09:44 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=8576#comment-197775</guid>

					<description><![CDATA[In general, using dozens of threads to unload the queue isn&#039;t a sensible approach imho. You&#039;d usually use a single threaded queue client to receive messages and hand them off for processing in another thread(pool)]]></description>
			<content:encoded><![CDATA[<p>In general, using dozens of threads to unload the queue isn&#8217;t a sensible approach imho. You&#8217;d usually use a single threaded queue client to receive messages and hand them off for processing in another thread(pool)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jakub Wojciak		</title>
		<link>https://www.selikoff.net/2018/02/14/the-amazon-aws-java-sqs-client-not-thread-safe/comment-page-1/#comment-195963</link>

		<dc:creator><![CDATA[Jakub Wojciak]]></dc:creator>
		<pubDate>Thu, 15 Feb 2018 17:17:43 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=8576#comment-195963</guid>

					<description><![CDATA[In the AWS SDK there is a default limit of max http connections allowed. If you exceed this limit, new requests will end up waiting on the http connections to become available again. In your case, the long poll ReceiveMessage requests are &#039;drowning out&#039; your DeleteMessage calls. If you plan to use many threads to call AWS services, make sure to adjust this setting.

You can adjust this setting using the ClientConfiguration class:
https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/ClientConfiguration.html

Here are more details:
https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/section-client-configuration.html]]></description>
			<content:encoded><![CDATA[<p>In the AWS SDK there is a default limit of max http connections allowed. If you exceed this limit, new requests will end up waiting on the http connections to become available again. In your case, the long poll ReceiveMessage requests are &#8216;drowning out&#8217; your DeleteMessage calls. If you plan to use many threads to call AWS services, make sure to adjust this setting.</p>
<p>You can adjust this setting using the ClientConfiguration class:<br />
<a href="https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/ClientConfiguration.html" rel="nofollow ugc">https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/ClientConfiguration.html</a></p>
<p>Here are more details:<br />
<a href="https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/section-client-configuration.html" rel="nofollow ugc">https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/section-client-configuration.html</a></p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
