
Java – AWS Developer Blog
2,176 FOLLOWERS
Updates on Java from the AWS Developer blog. Amazon Web Services offers reliable, scalable, and inexpensive cloud computing services.
Java – AWS Developer Blog
4M ago
We are happy to announce GraalVM Native Image support for the AWS CRT (Common Runtime) package for Java starting with release 0.31.1. The AWS Java SDK picks up the update since version 2.28.7. Using AWS CRT with GraalVM Native Image in a demo app improved request times and both operational overhead and archive size were ..read more
Java – AWS Developer Blog
7M ago
The AWS SDK for Java currently maintains two major versions: 1.12.x and 2.x. Customers who use Java 8 or a newer version of Java may use either 2.x or 1.12.x of the SDK, and customers who use Java 7 may use 1.12.767 or earlier of the SDK. In July 2022, Oracle ended the service life ..read more
Java – AWS Developer Blog
7M ago
The AWS SDK for Java 1.x entered maintenance mode on July 31, 2024. We recommend that you migrate to the AWS SDK for Java 2.x to access new features, enhanced performance, and continued support from AWS. We understand our customers’ time is valuable, and we’ve heard customers want simpler ways to migrate. That’s why we ..read more
Java – AWS Developer Blog
1y ago
In alignment with our SDKs and Tools Maintenance Policy, the AWS SDK for Java v1.x will enter maintenance mode on July 31, 2024, and reach end-of-support on December 31, 2025.
Existing applications that use AWS SDK for Java v1.x will continue to function as intended, unless there is a fundamental change to how an AWS service works. This is uncommon and would be broadly communicated if it happens. Between July 31, 2024 and end-of-support on December 31, 2025, the AWS SDK for Java v1.x will only receive critical bug fixes and security updates. The SDK will not be updated to support new AWS servi ..read more
Java – AWS Developer Blog
2y ago
We are excited to announce the general availability (GA) of the AWS Common Runtime (CRT) HTTP Client in the AWS SDK for Java 2.x. With release version 2.20.0 of the SDK, the AWS CRT HTTP Client can now be used in production environments.
The AWS CRT HTTP Client is an asynchronous, non-blocking HTTP client that can be used by AWS service clients to invoke AWS APIs. You can use it as an alternative to the default Netty implementation of the SdkAsyncHttpClient interface. It offers faster SDK startup time and smaller memory footprint, which is especially important with AWS Lambda, as well as lower ..read more
Java – AWS Developer Blog
2y ago
We are excited to announce the general availability of two new features in the AWS SDK for Java 2.x that enable accelerated object transfer with Amazon Simple Storage Service (Amazon S3): An AWS Common Runtime (CRT)-based S3 SDK client, and the S3 Transfer Manager.
The CRT-based S3 client allows you to transfer objects to and from Amazon S3 with enhanced performance and reliability by automatically leveraging Amazon S3 multipart upload API and byte-range fetches. It implements the same interface as the existing S3 async client and offers improved throughput out-of-the-box.
The S3 Transfer Mana ..read more
Java – AWS Developer Blog
2y ago
We are pleased to announce the general availability of Amazon CloudFront signed URLs and signed cookies in the AWS SDK for Java 2.x. You can now securely serve private content through CloudFront, requiring that your users access your content by using special CloudFront signed URLs or signed cookies. To configure your CloudFront distribution to use this feature, you must specify a trusted key group (recommended) or AWS account as a trusted signer. For more information on setting up and configuring a CloudFront distribution, please see the Developer Guide.
The new SDK 2.x CloudFrontUtilities com ..read more
Java – AWS Developer Blog
3y ago
Tuning Apache Kafka and Confluent Platform for Graviton2 using Amazon Corretto
By Guest Blogger Liz Fong-Jones, Principal Developer Advocate, Honeycomb.io
Background
Honeycomb is a leading observability platform used by high-performance engineering teams to quickly visualize, analyze, and improve cloud application quality and performance. We utilize the OpenTelemetry standard to ingest data from our clients, including those hosted on AWS and using the AWS Distribution of OpenTelemetry. Once data is optionally pre-sampled within client Amazon Virtual Private Clouds (Amazon VPC), it flows to Hon ..read more
Java – AWS Developer Blog
3y ago
We are pleased to announce that users of the enhanced client for Amazon DynamoDB in AWS SDK for Java 2.x can now enable atomic counters, as well as add custom DynamoDB update expressions through the enhanced client extension framework.
Customers have told us that they want improved performance and consistency when updating table records. The record update workflow in the DynamoDB enhanced client often means reading a record from the database to access current values before writing it back. This overhead can be painful if the records are large, and it can incur additional costs. Furthermore, th ..read more
Java – AWS Developer Blog
3y ago
While working with an AWS service team to diagnose unexpected Garbage Collection (GC) pauses, the Amazon Corretto team discovered that applications were being throttled by I/O blocking while writing logs to disk. As a result, we decided to implement and contribute async-logging(JDK-8229517)) to OpenJDK 17. In this post, we’re going to explain how you can use the -Xlog:sync switch and the Unified Logging (UL) framework to avoid extended GC pauses due to I/O. Subsequent to our changes, the service improved their outlier p99.99 GC pause latency from 3s to 1s.
UL is a logging framework for th ..read more