Real time application insights architecture on AWS

0

We have several desktop (Win/Mac/Nix) monolithic applications that generate JSON events exposing these events via POST. Currently it is a one way deal, outbound from app to the stream for nothing but analytics. We are now looking to analyze those events to determine if there are actionable "data sequences" that start to appear. My Question is (and opinions are welcomed...) What is the most efficient (#1 - performant, #2 - cost effective, #3 - resilient) way to stream those records (250-500 byte msg, at a peak of 1,000 / second) to AWS for the purpose of:

  1. Transforming the record data to a known model (i.e. std date format, simple XForms)
  2. Analyzing the normalized record (ML - predictive analytics or iterative learning)
  3. Persisting the record
  4. Based on the analysis, sending back a payload (or pointer to a CDN stored payload) to the original calling app? In a nutshell looking to do a type of on-preises, near real-time application performance analytics of the applications using a single on-premises service spewing JSON out to AWS native cloud services that do all teh work, and return info as timely as possible.

Thanks.

<><

1 個回答
1
已接受的答案

Hi,

there can be multiple options and patterns, one possibility would be to use an architecture based on the following components:

  1. Amazon Kinesis Stream: you stream your data to Kinesis, it can also be done using a API Gateway in front of it to capture your POST event
  2. Amazon Kinesis Firehose + Lambda to transform the data and make it available in S3 (the lambda after the transformation could also call a Sagemaker inference)
  3. If the analysis transformation to be done need to be more complex you could consider to use Flink on Kineses Data Analytics
  4. Amazon S3 to store the transformed data, you could also store the payload and have your CDN point to it
  5. Lambda to send back the payload , maybe with API Gateway to publish the APIs.

Two examples of these patterns can be seen in this reference architecture for Monitoring Streaming Data with Machine Learning and in this blog post on Real-Time In-Stream Inference with AWS Kinesis, SageMaker, & Apache Flink

hope this helps

AWS
專家
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南