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
1
vote
0 answers

I got some architecture questions

Warning : I'm new in application architecture and officially speaking - this is the first time I'm designing something this big. This is also my own application so I got full authority to change things. I'm building a serverless application which…
Fares
  • 893
  • 1
  • 11
  • 24
1
vote
3 answers

Can we deploy QlikSense on serverless architecture?

Can we deploy QlikSense/QlikView on serverless architecture? Currently using Monolithic architecture, any other way to move on to serverless?
1
vote
1 answer

How to make resource in Serverless Framework reusable?

I am trying to set up my serverless.yml file with only an API Gateway, and there are several resources that I need to reuse throughout the file, and I'd like to not copy and paste the same lines of code per resource like 100 times. For example, I…
1
vote
1 answer

Are API a proper use case of serverless functions?

Lets say we have service that exposes an API with 5 endpoints. Is serverless architecture a good approach for splitting this service?. I know we have limitations concerning memory, run time and also cold starts, lets just assume these can be…
1
vote
0 answers

Multiple ORIGINS for CORS not working in case of custom authorizer error

I have CORS enabled in the application and have multiple origins, Its working fine with normal requests and error responses. But when I am getting some error in custom authorizer or deny the authorization. The CORS is not working for any status…
1
vote
1 answer

Are Message Queue Triggers betters than Http Triggers for scalability?

2 types of triggers for Azure Functions are message queues and http triggers. I'm guessing that one difference is that with http triggers a request could be denied if there are not enough instances to service the request, whereas with message queues…
1
vote
2 answers

Possible to shell out from a cloudflare worker?

In google cloud functions it is easy to shell out and even run native linux binaries using child_process.execSync(command), which is how I was able to get gcf.cr to run native crystal code in google cloud functions. Playing around with Cloudflare…
1
vote
1 answer

Aws lambda functions multiple jars vs single jar

Lets say you have a feature to reserve a dining table broken down into multiple lambda functions ex: 1. RestaurantsLambda - get list of restaurants etc 2. BookingLambda - takes payment, confirms booking etc 3. EmailLambda - sending confirmation…
user1908568
  • 89
  • 1
  • 1
  • 13
1
vote
0 answers

Are JIT optimizations performed if I use serverless architecture?

Both JVM and V8 perform optimizations and deoptimizations on the code they produce, but optimizations usually require the VM to profile the code while it's running. Now, If my app is running on a server, that won't be a problem since the code is…
1
vote
1 answer

Angular PathLocationStrategy issue in s3 bucket

On PathLocationStrategy when i'm reload page then getting 404 page not found. and I don't want to use HashLocationStrategy.
1
vote
4 answers

Serverless - large app

I am new to serverless framework. I am starting a Rest API that will have multiple routing, for example: GET user/{userid} POST user GET account/{accountid} POST account Do I need 2 services - account + users? What are the best practices? If 2…
einav
  • 599
  • 3
  • 8
  • 15
1
vote
1 answer

Return binary HTTP response from OpenWhisk (IBM Cloud Function) action

I want to return a binary file which resides in (IBM Cloud) ObjectStorage via HTTP using OpenWhisk in a IBM Cloud Function. Is this possible? To me it seems OpenWhisk only supports JSON as result to an action. This is the code I'm using…
1
vote
2 answers

Structure of a serverless application

I am new to serverless application. I followed the aws tutorial to build a simple nodejs serverless app with codestar and lambda. However, imagine this node app does multiple things. In consequence, it has mutiple functions inside index.js, one for…
1
vote
2 answers

lambda calling another lambda and hitting concurrency threshold of 1000

Scenario- There is a master lambda who is splitting work and giving it off to multiple other lambdas (workers). The first lambda iterates and invokes the other lambdas asynchronously If the number of lambdas which are getting spawned are more than…
1
vote
2 answers

Zappa serverless aws lambda issue

With Zappa sample application to deploy into AWS using zappa deploy command, all the steps are happening as expected as shown below. (env) E:\Projects_EDrive\AWS\Zappa\zappa_examples\Zappa\example>zappa deploy dev_api (Werkzeug 0.12.2…
ManVin
  • 45
  • 1
  • 9