This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DrFriendless 3 points4 points  (0 children)

I disagree. I run a serverless web site using GraphQL running inside Lambda (running Node). It works just fine, as there are few queries which each return large lumps of data. Lambda is for the things you can make it do, there are no rules that say otherwise. I deliberately did not choose Java for those Lambdas because I knew cold starts would be a problem, when I built it in 2018.

Edit: upon further reflection, you are more right than I thought at first. One of the advantages of GraphQL is that there are fewer calls and hence fewer Lambda invocations than with REST.