Questions tagged [serverless-architecture]

Serverless architectures refer to applications that significantly depend on third-party services (knows as Backend as a Service or "BaaS") or on custom code that's run in ephemeral containers (Function as a Service or "FaaS"). By using these ideas, and by moving much behavior to the front end, such architectures remove the need for the traditional 'always on' server system sitting behind an application.

Reference: http://martinfowler.com/articles/serverless.html

177 questions
0
votes
1 answer

Active-active architecture to ensure regional Personal identification information must remain in that region

I am reading about multi-region architecture considerations. Our reasons for moving to a multi-region architecture are pretty much the same as everyone else's: Reducing latency for customers that are in different continents (EU, US, Asia,…
0
votes
1 answer

Subscribe to data store changes in Workers KV

Cloudflare Workers KV is an eventually consistent data store. You can write values assigned to keys, and you can read values by key from it. But is there any possibility to listen to some key's value? In a regular relational DB you can subscribe to…
0
votes
1 answer

DynamoDB GSI data modelling for an articles app

I want to create an articles application using serverless (AWS Lambda + DynamoDB + S3 for hosting the FE). I have some questions regarding the "1 table approach". The actions I want to follow: Get latest (6) articles sorted by date Get an article…
0
votes
2 answers

Structuring a serverless application on a single domain with 40+ services and 150+ functions

Currently working on a serverless application which utilises serverless-domain-manager to maintain our API under https://api.business.com The whole project is structured as a monorepo with microservices as suggested at serverless-stack.com. The main…
Nick
  • 1,219
  • 1
  • 13
  • 24
0
votes
1 answer

Which is the first hook executed on Serverless?

There is a predefined hook how to default on Serverless? I want to know if the framework execute any hook before and with are these ordered by execution. Looking at the official docs, I can't found any explanation of this in details. Thanks in…
Jonathan Brizio
  • 1,087
  • 1
  • 14
  • 28
0
votes
1 answer

Can dynamodb send to sns based on some row of data it holds

Trying to design a solution for error handling. We have a lambda that receives data from an sns topic and sends data to a legacy service that has been known to be unavailable at times. When the legacy service is down I want to send the messages to a…
0
votes
0 answers

AZURE API Management - Object reference not set to an instance of an object

Azure API Management is with a response "System.NullReferenceException: Object reference not set to an instance of an object." MyFunction.Run(HttpRequest req, ILogger log) in MyFunction.cs:line 61 method signature public async Task…
0
votes
1 answer

Multiple microservices inside same AWS API Gateway

I'm developing a series of microservices which need to share the same AWS API Gateway. Here's my structure: / /assessments /skills /work-values /graphql /skills, /work-values, and /graphql are 3 different microservices I'm…
0
votes
3 answers

How does internal invocation of AWS lambda affect costing?

Working on product which is served as PaaS, backend of product is completely developed for serverless using NodeJS Serverless Framework and deployed on AWS Lambda. When I started working on it, I found there are lots of duplicate code,…
0
votes
1 answer

IamRoleLambdaExecution - Syntax errors in policy

Facing Syntax IamRoleLambdaExecution - Syntax errors in policy. (Service: AmazonIdentityManagement; Status Code: 400; Error Code: MalformedPolicyDocument; Request ID: ********-****-****-****-************). for the below serverless.yml…
0
votes
1 answer

Serverless federated application state

Is it possible, that by using one of the main OpenID Connect / JWT identity providers (eg. Google Federated Identity) a simple web app could read / write a key value store on that identity provider in the scope of that user? I know that by using JWT…
titel
  • 3,454
  • 9
  • 45
  • 54
0
votes
0 answers

Tapping on register at the same time from two device creates two users

I am working on a backend code where while registering users, we check device ID, mobile number everything is repeating or not. My QA just found the issue that if we tap on register users at the same time from two different devices with same details…
K P
  • 854
  • 7
  • 19
0
votes
0 answers

Download, process and save in database as a server less on Azure c#

I'm trying to download big files that are bigger than 1GBytes and process them and store the results into the database. I would like to do this as a serverless application which is keeping an eye on the FTP server that is holding files and then…
0
votes
1 answer

Google cloud batch dataflow issue

when I am going to read data from a bigquery table and write it in to the another bigquery table using batch dataflow using apache beam and java. A temp dataset created in to the same project however temptable expired after 1 day but temp dataset…
0
votes
0 answers

My serverless web application does not have a HOME controller, how can I pass parameters and execute functions on my razor pages

Good Afternoon all, I'm going to apologize in advance, I am really confused on this subject and also do not exactly know how to ask for help on this topic. To begin, I am creating a server-less web application using awssdk 2.1. This package came…