Effect of AI on the 100 Billion Dollar Blogging Industry

Blogging is a hundred billion dollar industry (1). The time and energy invested in blogging is immense, even though only a small fraction is captured in monetary transactions. I’m curious how LLM’s will effect this massive industry. At the market level, there are two possibilities — LLMs may tend to increase or decrease the industry growth rate. It seems unlikely to have a neutral effect. In this article I’d like to consider the each possibility and some implications that come to mind. ...

September 1, 2023 · 2 min

Publishing to SNS Topic from Lambda Using VPC Endpoint with SAM Template: AWS Serverless Application Model (SAM) Pub/Sub Architecture

Amazon Web Services provides a multitude of tools for developers to build robust and scalable cloud applications. In this article, I’ll guide you through publishing to a Simple Notification Service (SNS) topic from a Lambda function through a VPC Endpoint. We’ll encode this architecture using the AWS Serverless Application Model (SAM) toolset. This setup is part of a Pub/Sub architecture which offers several benefits: Better Security: Placing the Lambda function within a Virtual Private Cloud (VPC) through a VPC Endpoint ensures that the communication between the Lambda function and SNS topic remains private, isolated from the public internet, and protected from unauthorized access. Performance Improvement: Directly accessing SNS through a VPC Endpoint often results in lower latencies since the communication stays within the AWS network infrastructure. Also, in general, the Pub/Sub architecture enables untethers the function from downstream side-effects. This relieves the function from the latency and error handling responsibility for these side effects which directly improves the user experience. Scalability and Flexibility: The pub-sub architecture scales to varying workloads effectively. SNS can handle thousands of messages being published concurrently and the downstream Lambda consumers scale automatically. In this tutorial, we will discuss Briefly what AWS Lambda, SNS, and VPC endpoints are. How to configure a VPC endpoint. How to publish messages to SNS from Lambda using the configured VPC endpoint. Code snippets of AWS SAM templates. What Are AWS Lambda, SNS, and VPC endpoints? Before diving into the practical aspect of this article, let’s briefly review the building blocks we’ll be using: ...

July 31, 2023 · 5 min