<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nipun Sandeep on Medium]]></title>
        <description><![CDATA[Stories by Nipun Sandeep on Medium]]></description>
        <link>https://medium.com/@nipunsandeep97?source=rss-ddd4ea4bea35------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*5RxySdsPfQiynTIIIpLFBw.jpeg</url>
            <title>Stories by Nipun Sandeep on Medium</title>
            <link>https://medium.com/@nipunsandeep97?source=rss-ddd4ea4bea35------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 17:51:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nipunsandeep97/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Serverless Computing — AWS Lambda]]></title>
            <link>https://medium.com/@nipunsandeep97/serverless-computing-aws-lambda-26d76b8db549?source=rss-ddd4ea4bea35------2</link>
            <guid isPermaLink="false">https://medium.com/p/26d76b8db549</guid>
            <dc:creator><![CDATA[Nipun Sandeep]]></dc:creator>
            <pubDate>Sun, 22 Jan 2023 06:57:35 GMT</pubDate>
            <atom:updated>2023-01-22T06:57:35.533Z</atom:updated>
            <content:encoded><![CDATA[<h3>Serverless Computing — AWS Lambda</h3><p>AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume. With Lambda, you can run code for virtually any type of application or backend service — all with zero administration. You upload your code and Lambda takes care of everything required to run and scale your code with high availability. You can set up your code to be automatically triggered from other AWS services or be called directly from any web or mobile app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OCaHujLemDnwuQkp.png" /></figure><p><strong><em>Lambda Key Details</em></strong></p><ul><li>Lambda is a compute service where you upload your code as a function and AWS provisions the necessary details underneath the function so that the function executes successfully.</li><li>AWS Lambda is the ultimate abstraction layer. You only worry about code, AWS does everything else.</li><li>Lambda supports Go, Python, C#, PowerShell, Node.js, and Java.</li><li>Each Lambda function maps to one request. Lambda scales horizontally automatically.</li><li>Lambda is priced on the number of requests and the first one million are free. Each million afterwards is $0.20.</li><li>Lambda is also priced on the runtime of your code, rounded up to the nearest 100mb, and the amount of memory your code allocates.</li><li>Lambda works globally.</li><li>Lambda functions can trigger other Lambda functions.</li><li>You can use Lambda as an event-driven service that executes based on changes in your AWS ecosystem.</li><li>You can also use Lambda as a handler in response to HTTP events via API calls over the AWS SDK or API Gateway.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/0*iSiqVHsftSCBbY-S.png" /></figure><p>When you create or update Lambda functions that use environment variables, AWS Lambda encrypts them using the AWS Key Management Service. When your Lambda function is invoked, those values are decrypted and made available to the Lambda code.</p><p>The first time you create or update Lambda functions that use environment variables in a region, a default service key is created for you automatically within AWS KMS. This key is used to encrypt environment variables. However, if you wish to use encryption helpers and use KMS to encrypt environment variables after your Lambda function is created, you must create your own AWS KMS key and choose it instead of the default key. To enable your Lambda function to access resources inside a private VPC, you must provide additional VPC-specific configuration information that includes VPC subnet IDs and security group IDs. AWS Lambda uses this information to set up elastic network interfaces (ENIs) that enable your function to connect securely to other resources within a private VPC.AWS X-Ray allows you to debug your Lambda function in case of unexpected behavior.</p><p><strong><em>Lambda@Edge</em></strong></p><p>You can use Lambda@Edge to allow your Lambda functions to customize the content that CloudFront delivers. It adds compute capacity to your CloudFront edge locations and allows you to execute the functions in AWS locations closer to your application’s viewers. The functions run in response to CloudFront events, without provisioning or managing servers. You can use Lambda functions to change CloudFront requests and responses at the following points:</p><ul><li>After CloudFront receives a request from a viewer (viewer request)</li><li>Before CloudFront forwards the request to the origin (origin request)</li><li>After CloudFront receives the response from the origin (origin response)</li><li>Before CloudFront forwards the response to the viewer (viewer response)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/0*KMo6SlQovp72O0MS.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26d76b8db549" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fast NoSQL Key-Value Database — Amazon DynamoDB]]></title>
            <link>https://medium.com/@nipunsandeep97/fast-nosql-key-value-database-amazon-dynamodb-6989b72d5267?source=rss-ddd4ea4bea35------2</link>
            <guid isPermaLink="false">https://medium.com/p/6989b72d5267</guid>
            <dc:creator><![CDATA[Nipun Sandeep]]></dc:creator>
            <pubDate>Sun, 22 Jan 2023 06:30:00 GMT</pubDate>
            <atom:updated>2023-01-22T06:30:00.600Z</atom:updated>
            <content:encoded><![CDATA[<h3>Fast NoSQL Key-Value Database — Amazon DynamoDB</h3><p>Amazon DynamoDB is a key-value and document database that delivers single-digit millisecond performance at any scale. It’s a fully managed, multiregional, multimaster, durable non-SQL database. It comes with built-in security, backup and restore, and in-memory caching for internet-scale applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/0*UMCl_a7Ts4aytaI2.png" /></figure><p><strong><em>DynamoDB Key Details</em></strong></p><p>The main components of DynamoDB are:</p><ol><li>a collection which serves as the foundational table.</li><li>a document which is equivalent to a row in a SQL database.</li><li>key-value pairs which are the fields within the document or row.</li></ol><p>The convenience of non-relational DBs is that each row can look entirely different based on your use case. There doesn’t need to be uniformity. For example, if you need a new column for a particular entry you don’t also need to ensure that that column exists for the other entries. DynamoDB supports both document and key-value based models. It is a great fit for mobile, web, gaming, ad-tech, IoT, etc. DynamoDB is stored via SSD which is why it is so fast. It is spread across 3 geographically distinct data centers. The default consistency model is Eventually Consistent Reads, but there are also Strongly Consistent Reads. The difference between the two consistency models is the one second rule. With Eventual Consistent Reads, all copies of data are usually reached within one second. A repeated read after a short period of time should return the updated data. However, if you need to read updated data within or less than a second and this needs to be a guarantee, then strongly consistent reads are your best bet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ouN3D7exvtD2R5R3.png" /></figure><p><strong><em>DynamoDB Accelerator (DAX)</em></strong></p><p>Amazon DynamoDB Accelerator (DAX) is a fully managed, highly available, in-memory cache that can reduce Amazon DynamoDB response times from milliseconds to microseconds, even at millions of requests per second. With DAX, your applications remain fast and responsive, even when unprecedented request volumes come your way. There is no tuning required. DAX lets you scale on-demand out to a ten-node cluster, giving you millions of requests per second. DAX does more than just increase read performance by having write through cache. This improves write performance as well. Just like DynamoDB, DAX is fully managed. You no longer need to worry about management tasks such as hardware or software provisioning, setup and configuration, software patching, operating a reliable, distributed cache cluster, or replicating data over multiple instances as you scale. This means there is no need for developers to manage the caching logic. DAX is completely compatible with existing DynamoDB API calls.</p><p><strong><em>DynamoDB Streams</em></strong></p><p>A DynamoDB stream is an ordered flow of information about changes to items in an Amazon DynamoDB table. When you enable a stream on a table, DynamoDB captures information about every modification to data items in the table. Amazon DynamoDB is integrated with AWS Lambda so that you can create triggers — pieces of code that automatically respond to events in DynamoDB Streams. Immediately after an item in the table is modified, a new record appears in the table’s stream. AWS Lambda polls the stream and invokes your Lambda function synchronously when it detects new stream records. The Lambda function can perform any actions you specify, such as sending a notification or initiating a workflow. With triggers, you can build applications that react to data modifications in DynamoDB tables. Whenever an application creates, updates, or deletes items in the table, DynamoDB Streams writes a stream record with the primary key attribute(s) of the items that were modified. A stream record contains information about a data modification to a single item in a DynamoDB table. You can configure the stream so that the stream records capture additional information, such as the “before” and “after” images of modified items.</p><p><strong><em>DynamoDB Global Tables</em></strong></p><p>Global Tables is a multi-region, multi-master replication solution for fast local performance of globally distributed apps. Global Tables replicates your Amazon DynamoDB tables automatically across your choice of AWS regions. It is based on DynamoDB streams and is multi-region redundant for data recovery or high availability purposes. Application failover is as simple as redirecting your application’s DynamoDB calls to another AWS region. Global Tables eliminates the difficult work of replicating data between regions and resolving update conflicts, enabling you to focus on your application’s business logic. You do not need to rewrite your applications to make use of Global Tables. Replication latency with Global Tables is typically under one second.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6989b72d5267" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>