Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Optimizing SQS Usage to Cut Costs

Your organization noticed that costs for SQS went up and have asked your team to investigate. You found that message requests are high, but there is not an equivalent rise in user activity. There are several CloudWatch metrics that raise some concerns. The first is the `NumberOfEmptyReceives` metric. This metric supports the idea that roughly out of every 10 messages received, we have about 30 empty receives. That will surely raise our costs. The other CloudWatch metric, `SentMessageSize`, reports the size of the messages is 256 KB, but these messages can be reduced to plain text to lower the size to 64 KB, which will cut costs as well. We will review current costs in SQS and the costs of the proposed changes before we move forward with those changes. Then, we will need to create an SQS queue that allows for long polling at 20 seconds to cut the number of empty receives and limit message size to 64 KB. Finally, we will test our SQS queue to ensure that it is able to send and receive messages.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 15m
Published
Clock icon Apr 22, 2022

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Compare Costs

    We will use the AWS Pricing Calculator to review current costs and costs of our proposed changes.

  2. Challenge

    Create and Test SQS Queue

    We will create our SQS queue to the specifications necessary and then test it 2 ways.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans