[{"data":1,"prerenderedAt":67},["ShallowReactive",2],{"pattern-lambda-elasticache-integrationpattern-cdk":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":31,"level":32,"meta":33,"patternArch":34,"resources":48,"s3URL":6,"services":6,"stem":62,"testing":63,"videoId":6,"__hash__":66},"patterns\u002Fpatterns\u002Flambda-elasticache-integrationpattern-cdk.json","AWS Lamda to Amazon ElastiCache integration pattern",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fsushanth-kothapally.json",{"text":13},[14],"cdk deploy","Create a Redis Cluster in Amazon ElastiCache and read\u002Fwrite with a Lambda function.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-elasticache-integrationpattern-cdk","serverless-patterns\u002Flambda-elasticache-integrationpattern-cdk","lambda-elasticache-integrationpattern-cdk","lib\u002Flambda-elasticache-integrationpattern-cdk-stack.ts",{"headline":25,"text":26},"How it works",[27,28,29,30],"Users may want to connect to ElastiCache from their core Lambda function for use cases that involve fast read-write operations and improve latency of applications.","In an application like a leader board, queue\u002Fwait-list , API rate limiting & quota management, etc. that are built on Serverless platform , the core computing Lambda function would integrate with a either Redis or Memcache on Amazon ElastiCache.","This pattern provides a quick start guide to launch a Redis cluster in Amazon ElastiCache in a defined VPC and creates a Lambda function that read writes from that cache.","Users can further modify the code in the Lambda function as per their requirements. You can configure Memcached by modifying the cdk config and change Lambda code appropriately.","TypeScript","200",{},{"icon1":35,"icon2":40,"line1":44},{"x":36,"y":37,"service":38,"label":39},20,50,"lambda","AWS Lambda",{"x":41,"y":37,"service":42,"label":43},70,"elasticache","Amazon ElastiCache",{"from":45,"to":46,"label":47},"icon1","icon2","",{"bullets":49},[50,53,56,59],{"text":51,"link":52},"What is AWS Lambda","https:\u002F\u002Faws.amazon.com\u002Flambda\u002F",{"text":54,"link":55},"What is Amazon ElastiCache","https:\u002F\u002Faws.amazon.com\u002Felasticache\u002F",{"text":57,"link":58},"How to test Lambda with AWS Console","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Ftesting-functions.html",{"text":60,"link":61},"Further handson with ElastiCache","https:\u002F\u002Faws.amazon.com\u002Fgetting-started\u002Fhands-on\u002Fboosting-mysql-database-performance-with-amazon-elasticache-for-redis\u002F","patterns\u002Flambda-elasticache-integrationpattern-cdk",{"text":64},[65],"See the README.md file of GitHub repo for detailed testing instructions.","slPbO9NCWvlWRulL6nu8dnhiUuulLBOwdEoLhPFjWHo",1778927709389]