• Latest
  • Trending
  • All
  • Business News
  • Startup Investments
  • Startup News
  • Programming
  • Software Architecture
  • Web Security
Serverless structure for optimizing Amazon Join call-recording archival prices

Serverless structure for optimizing Amazon Join call-recording archival prices

8 months ago
EP 44: How does ChatGPT work?

EP 44: How does ChatGPT work?

3 days ago
Lowering incident response time for OutSystems with AWS serverless know-how

Lowering incident response time for OutSystems with AWS serverless know-how

6 days ago
8 Knowledge Constructions That Energy Your Databases

8 Knowledge Constructions That Energy Your Databases

1 week ago
Let’s Architect! Architecting for governance and administration

Let’s Architect! Designing event-driven architectures

2 weeks ago
EP 42: Designing a chat utility

EP 42: Designing a chat utility

3 weeks ago
Textual content analytics on AWS: implementing an information lake structure with OpenSearch

Textual content analytics on AWS: implementing an information lake structure with OpenSearch

3 weeks ago
EP 41: What’s Kubernetes?

EP 41: What’s Kubernetes?

4 weeks ago
Streaming the AWS Wickr desktop consumer with Amazon AppStream 2.0

Streaming the AWS Wickr desktop consumer with Amazon AppStream 2.0

4 weeks ago
EP 40: Git workflow – by Alex Xu

EP 40: Git workflow – by Alex Xu

1 month ago
Genomics workflows, Half 4: processing archival information

Genomics workflows, Half 4: processing archival information

1 month ago
EP 39: Accounting 101 in Fee Techniques

EP 39: Accounting 101 in Fee Techniques

1 month ago
Prime 10 AWS Structure Weblog posts of 2022

Prime 10 AWS Structure Weblog posts of 2022

1 month ago
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions
Wednesday, February 8, 2023
  • Login
Startup News
  • Home
  • Startups
    • All
    • Business News
    • Startup Investments
    • Startup News
    Market analysis startup Bolt Perception receives funding from 212 — Retail Know-how Innovation Hub

    Market analysis startup Bolt Perception receives funding from 212 — Retail Know-how Innovation Hub

    [Funding alert] Fintech startup FinBox raises $15M in Sequence A spherical led by A91 Companions

    [Funding alert] Fintech startup FinBox raises $15M in Sequence A spherical led by A91 Companions

    NRMA backs VC’s $50 million agritech fund

    NRMA backs VC’s $50 million agritech fund

    Fanclash funding: Esports fantasy startup FanClash raises $40 million Collection B spherical

    Fanclash funding: Esports fantasy startup FanClash raises $40 million Collection B spherical

    Turkish enterprise capital fund ‘hunts’ for seed-stage startups

    Turkish enterprise capital fund ‘hunts’ for seed-stage startups

    The rise of API-first corporations, in fintech and past – TechCrunch

    The rise of API-first corporations, in fintech and past – TechCrunch

    QSTP-funded startup brings digital actuality to life

    QSTP-funded startup brings digital actuality to life

    Payglocal Funding: Cross-border funds startup PayGlocal raises $12 million from Tiger International, Sequoia

    Payglocal Funding: Cross-border funds startup PayGlocal raises $12 million from Tiger International, Sequoia

    [Funding alert] Fintech startup PayGlocal raises $12M from Tiger World, Sequoia, BEENEXT

    [Funding alert] Fintech startup PayGlocal raises $12M from Tiger World, Sequoia, BEENEXT

    With $110M in new funds, Aidoc is branching out of radiology

    With $110M in new funds, Aidoc is branching out of radiology

    Trending Tags

    • startup advice
    • startup funding
    • startup
    • funding
    • fund
    • Tips
  • Software & Development
    • All
    • Programming
    • Software Architecture
    • Web Security
    EP 44: How does ChatGPT work?

    EP 44: How does ChatGPT work?

    Lowering incident response time for OutSystems with AWS serverless know-how

    Lowering incident response time for OutSystems with AWS serverless know-how

    8 Knowledge Constructions That Energy Your Databases

    8 Knowledge Constructions That Energy Your Databases

    Let’s Architect! Architecting for governance and administration

    Let’s Architect! Designing event-driven architectures

    EP 42: Designing a chat utility

    EP 42: Designing a chat utility

    Textual content analytics on AWS: implementing an information lake structure with OpenSearch

    Textual content analytics on AWS: implementing an information lake structure with OpenSearch

    EP 41: What’s Kubernetes?

    EP 41: What’s Kubernetes?

    Streaming the AWS Wickr desktop consumer with Amazon AppStream 2.0

    Streaming the AWS Wickr desktop consumer with Amazon AppStream 2.0

    EP 40: Git workflow – by Alex Xu

    EP 40: Git workflow – by Alex Xu

    Genomics workflows, Half 4: processing archival information

    Genomics workflows, Half 4: processing archival information

    Trending Tags

    • Java
    • Microsoft
    • employee wellness programs
    • Project
    • Dev
    • Hackers
    • Security
  • Contact Us
No Result
View All Result
Startup News
Home Software & Development Software Architecture

Serverless structure for optimizing Amazon Join call-recording archival prices

by Startupnews Writer
June 26, 2022
in Software Architecture
0
Serverless structure for optimizing Amazon Join call-recording archival prices
491
SHARES
1.4k
VIEWS
Share on FacebookShare on Twitter


On this submit, we offer a serverless resolution to cost-optimize the storage of contact-center name recordings. The answer automates the scheduling, storage-tiering, and resampling of call-recording recordsdata, leading to quick value financial savings. The answer is an asynchronous structure constructed utilizing AWS Step Features, Amazon Easy Queue Service (Amazon SQS), and AWS Lambda.

Amazon Join supplies an omnichannel cloud contact middle with the power to keep up name recordings for compliance and gaining actionable insights utilizing Contact Lens for Amazon Join and AWS Contact Heart Intelligence Companions. The storage required for name recordings can shortly enhance as clients meet compliance retention necessities, usually spanning six or extra years. This will result in tons of of terabytes in long-term storage.

Answer overview

When an agent completes a buyer name, Amazon Join sends the decision recording to an Amazon Easy Storage Answer (Amazon S3) bucket with: a date and get in touch with ID prefix, the file saved within the .WAV format and encoded utilizing bitrate 256 kb/s, pcm_s16le, 8000 Hz, two channels, and 256 kb/s. The decision-recording recordsdata are roughly 2 Mb/minute optimized for high-quality processing, similar to machine studying evaluation (see Determine 1).

Asynchronous architecture for batch resampling for call-recording files on Amazon S3

Determine 1. Asynchronous structure for batch resampling for call-recording recordsdata on Amazon S3

When a name recording is distributed to Amazon S3, downstream post-processing is commonly carried out to generate analytics studies for brokers and high quality auditors. The downstream processing can embrace providers that present transcriptions, quality-of-service metrics, and sentiment evaluation to create studies and set off actionable occasions.

Whereas this processing is commonly accomplished inside minutes, the downstream functions might require processing retries. As audio resampling reduces the standard of the audio recordsdata, it’s important to delay resampling till after processing is accomplished. As processed name recordings are sometimes accessed days after a name is accomplished, with solely a small proportion accessed by brokers and name high quality auditors, name recordings can profit from resampling and transitioning to long-term Amazon S3 storage tiers.

In Determine 2, a number of AWS providers work collectively to offer an end-to-end cost-optimization resolution to your contact middle name recordings.

AWS Step Function orchestrates the batch resampling of call recordings

Determine 2. AWS Step Perform orchestrates the batch resampling of name recordings

An Amazon EventBridge schedule rule triggers the step perform to carry out the batch resampling course of for all name recordings from the earlier 7 days.

In step one perform activity, the Lambda perform activity iterates the S3 bucket utilizing the ListObjectsV2 API, acquiring the decision recordings (1000 objects per iteration) with the date prefix from 7 days in the past.

The following activity invokes a Lambda perform inserting the decision recording objects into the Amazon SQS queue. The audio-conversion Lambda perform receives the Amazon SQS queue occasions by way of the occasion supply mapping Lambda integration. Every concurrent Lambda invocation downloads a saved name recording from Amazon S3, resampling the .WAV with ffmpeg and tagging the S3 object with a “transformed=True” tag.

Lastly, the conversion perform uploads the resampled file to Amazon S3, overwriting the unique name recording with the resampled recording utilizing a cost-optimized storage class, similar to S3 Glacier Immediate Retrieval. S3 Glacier Immediate Retrieval supplies the bottom value for long-lived knowledge that’s not often accessed and requires milliseconds retrieval, similar to for contact-center call-recording playback. By default, Amazon Join shops name recordings with S3 Versioning enabled, sustaining the unique file as a model. You should use lifecycle insurance policies to delete object variations from a version-enabled bucket to completely take away the unique model, as this may decrease the storage of the unique name recording.

This resolution captures failures throughout the step perform workflow with logging and a dead-letter queue, similar to when an error happens with resampling a recording file. A Step Perform activity screens the Amazon SQS queue utilizing the AWS Step Perform integration with AWS SDK with SQS and ending the workflow when the queue is emptied. Desk 1 demonstrates the default and resampled codecs.

Detailed AWS Step Functions state machine diagram

Determine 3. Detailed AWS Step Features state machine diagram

Resampling

Desk 1. Default and resampled name recording audio codecs

Audio sampling codecs File dimension/minute Notes
Bitrate 256 kb/s, pcm_s16le, 8000 Hz, 2 channels, 256 kb/s 2 MB The default for Amazon Join name recordings. Sampled for audio high quality and name analytics processing.
Bitrate 64 kb/s, pcm_alaw, 8000 Hz, 1 channel, 64 kb/s 0.5 MB Resampled to mono channel 8 bit. This resampling shouldn’t be reversible and may solely be carried out in any case name analytics processing has been accomplished.

Price evaluation

For pricing data for the first providers used within the resolution, go to:

The prices incurred by the answer are primarily based on utilization and are AWS Free Tier eligible. After the AWS Free Tier allowance is consumed, utilization prices are roughly $0.11 per 1000 minutes of name recordings. S3 Customary begins at $0.023 per GB/month; and S3 Glacier Immediate Retrieval is $0.004 per GB/month, with $0.003 per GB of knowledge retrieval. Throughout a 6-year compliance retention time period, the schedule-based resampling and storage tiering leads to important value financial savings.

Within the 6-year instance detailed in Desk 2, the S3 Customary storage prices could be roughly $356,664 for 3 million call-recording minutes/month. The audio resampling and S3 Glacier Immediate Retrieval tiering reduces the 6-year value to roughly $41,838.

Desk 2. Multi-year prices financial savings state of affairs (3 million minutes/month) in USD

12 months Whole minutes (3 million/month) Whole storage (TB) Price of storage, S3 Customary (USD) Price of working the resampling (USD) Price of resampling resolution with S3 Glacier Immediate Retrieval (USD)
1 36,000,000 72 10,764 3,960 4,813
2 72,000,000 108 30,636 3,960 5,677
3 108,000,000 144 50,508 3,960 6,541
4 144,000,000 180 70,380 3,960 7,405
5 180,000,000 216 90,252 3,960 8,269
6 216,000,000 252 110,124 3,960 9,133
Whole 1,008,000,000 972 356,664 23,760 41,838

To discover PCA prices for your self, use AWS Price Explorer or select Invoice Particulars on the AWS Billing Dashboard to see your month-to-date spend by service.

Deploying the answer

The code and documentation for this resolution can be found by cloning the git repository and may be deployed with AWS Cloud Growth Package (AWS CDK).

Bash
# clone repository
git clone https://github.com/aws-samples/amazon-connect-call-recording-cost-optimizer.git
# navigate the challenge listing
cd amazon-connect-call-recording-cost-optimizer

Modify the cdk.context.json together with your atmosphere’s configuration setting, such because the bucket_name. Subsequent, set up the AWS CDK dependencies and deploy the answer:

:# guarantee you might be within the root listing of the repository

./cdk-deploy.sh

As soon as deployed, you may take a look at the resampling resolution by ready for the EventBridge schedule rule to execute primarily based on the num_days_age setting that’s utilized. You too can manually run the AWS Step Perform with a specified date, for instance {"specific_date":"01/01/2022"}.

The AWS CDK deployment creates the next sources:

  • AWS Step Perform
  • AWS Lambda perform
  • Amazon SQS queues
  • Amazon EventBridge rule

The answer handles the automation of transitioning a storage tier, similar to S3 Glacier Immediate Retrieval. As well as, Amazon S3 Lifecycles may be set manually to transition the decision recordings after resampling to different Amazon S3 Storage Lessons.

Cleanup

If you end up completed experimenting with this resolution, cleanup your sources by working the command:

cdk destroy

This command deletes the AWS CDK-deployed sources. Nevertheless, the S3 bucket containing your name recordings and CloudWatch log teams are retained.

Conclusion

This name recording resampling resolution provides an automatic, cost-optimized, and scalable structure to scale back long-term compliance name recording archival prices.



Source_link

Related

Tags: AmazonarchitecturearchivalcallrecordingConnectcostsoptimizingServerless
Share196Tweet123
Startupnews Writer

Startupnews Writer

We write full-time and bring you the best news for startups and enterprises. We are passionate about tech entrepreneurship & innovation. Here you will find also web security news and software architecture standards for your next project.

  • Trending
  • Comments
  • Latest
Why is RESTful API so widespread?

Why is RESTful API so widespread?

August 25, 2022
What do WhatsApp, Discord, and Fb Messenger have in frequent? (Episode 10)

What do WhatsApp, Discord, and Fb Messenger have in frequent? (Episode 10)

June 6, 2022
These local weather startups are nonetheless elevating cash regardless of Putin, inflation, markets – 24/7 Wall St.

These local weather startups are nonetheless elevating cash regardless of Putin, inflation, markets – 24/7 Wall St.

June 5, 2022
Acquisitions and investments within the funds trade: challenges and alternatives

A Standardized, Specification-Pushed API Lifecycle

June 5, 2022

Telematics Options Market Measurement to Surpass US$ 142.93

0
Acquisitions and investments within the funds trade: challenges and alternatives

Acquisitions and investments within the funds trade: challenges and alternatives

0
With Market Measurement Valued at $1.4 Billion by 2026, it`s a Wholesome Outlook for the World MEMS Oscillators Market

With Market Measurement Valued at $1.4 Billion by 2026, it`s a Wholesome Outlook for the World MEMS Oscillators Market

0
How Ukrainian startups are surviving the battle with Russia

How Ukrainian startups are surviving the battle with Russia

0
EP 44: How does ChatGPT work?

EP 44: How does ChatGPT work?

February 5, 2023
Lowering incident response time for OutSystems with AWS serverless know-how

Lowering incident response time for OutSystems with AWS serverless know-how

February 2, 2023
8 Knowledge Constructions That Energy Your Databases

8 Knowledge Constructions That Energy Your Databases

January 28, 2023
Let’s Architect! Architecting for governance and administration

Let’s Architect! Designing event-driven architectures

January 26, 2023
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions

Copyright © 2022.

No Result
View All Result
  • Home
  • Startups
  • Software & Development
  • Contact Us

Copyright © 2022.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
What Are Cookies
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT
Translate »