AWS SnapStart - Part 15 Measuring cold and warm starts with Java 21 using different synchronous HTTP clients

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • aws-sdk-java-v2

    The official AWS SDK for Java - Version 2

    In this article we'll now add another dimension to our measurements : the choice of HTTP Client implementation. This is also interesting, because starting from AWS SDK for Java version 2.22 AWS added support for their own implementation of the synchronous CRT HTTP Client. The asynchronous CRT HTTP client has been generally available since February 2023. In this article we'll explore synchronous HTTP clients first and leave asynchronous ones for the next article.

  • InfluxDB

    Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.

    InfluxDB logo
  • AWSLambdaJavaSnapStart

    Different examples of solutions API Gateway->Lambda->DynamoDB with Lambda managed Java runtimes with different Lambda memory settings, compilation options, (a)synchronous HTTP clients, Lambda layers, GC algorithms and hardware architecture (x86 vs arm64) including Lambda SnapStart enabling and priming techniques to measure Lambda performance

    Let's figure out how to configure the HTTP Client. There are 2 places to do it : pom.xml and DynamoProductDao

  • Hey

    HTTP load generator, ApacheBench (ab) replacement (by rakyll)

    The results of the experiment below were based on reproducing more than 100 cold and approximately 100.000 warm starts with experiment which ran for approximately 1 hour. For it (and experiments from my previous article) I used the load test tool hey, but you can use whatever tool you want, like Serverless-artillery or Postman. I ran all these experiments for all 3 scenarios using 2 different compilation options in template.yaml each:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • K3s Traefik Ingress - configured for your homelab!

    3 projects | dev.to | 15 Dec 2023
  • Using Cognito to provide auth to a Java desktop application - advice requested

    1 project | /r/aws | 29 Aug 2023
  • GraphQL Fastify vs Apollo Server — Learnings from the real world

    7 projects | dev.to | 25 Oct 2022
  • Building a Monorepo in Golang

    4 projects | /r/golang | 9 Mar 2022
  • Seeking Advice

    3 projects | /r/gamedev | 11 Aug 2021