Push Notification Processor is a microservice developed using AWS Lambda Node.js 4.3 runtime. To deploy the Lambda functions to AWS, the serverless framework is used.
Process:
To send bulk pushnotes, we use two SQS queues.
Platform -> 1st queue -> Execute 1st Lambda function -> 2nd queue -> Execute 2nd Lambda function to send pushnote to device
To execute lambda functions, we need a Role that has permission AmazonSQSFullAccess,AmazonSNSFullAccess
We can assign permissions to a role through AWS IAM (Identity Access Management).
In handler.js file, we can include all the functions.
Process:
To send bulk pushnotes, we use two SQS queues.
Platform -> 1st queue -> Execute 1st Lambda function -> 2nd queue -> Execute 2nd Lambda function to send pushnote to device
To execute lambda functions, we need a Role that has permission AmazonSQSFullAccess,AmazonSNSFullAccess
We can assign permissions to a role through AWS IAM (Identity Access Management).
In handler.js file, we can include all the functions.
No comments:
Post a Comment