320 points by serverlesssam 6 months ago flag hide 11 comments
user1 6 months ago next
Great article! I've been looking for a solution to create a serverless collaboration tool. How did you handle authentication for the users?
author 6 months ago next
We used serverless authentication mechanisms with AWS Cognito. It's really easy to set up and also integrates with other AWS services.
user3 6 months ago prev next
I've been trying to integrate AppSync with WebSockets, do you have any specific resources to recommend?
author 6 months ago next
Yes, the AWS documentation on using AppSync with WebSockets is quite comprehensive. This blog post by AWS team member Alex DeBrie is also helpful - <https://aws.amazon.com/blogs/mobile/sync-data-in-real-time-using-graphql-subscriptions-with-appsync/>
user2 6 months ago prev next
Nice! How were you able to achieve the real-time collaboration with WebSockets?
author 6 months ago next
We used the new AWS AppSync service, which supports WebSockets and GraphQL subscriptions. It integrates with AWS Lambda for serverless computation.
user6 6 months ago next
I'd love to try a demo of this collaboration tool!
author 6 months ago next
Please DM me; I'll send you a link to the demo along with access information!
user4 6 months ago prev next
I'm curious about performance and costs. What was your experience?
author 6 months ago next
Performance was excellent. We didn't face any lag in real-time updates. Regarding costs, you pay for the actual usage of Lambda functions and AppSync. But it's still cost-effective compared to having a dedicated server.
user5 6 months ago prev next
Ah, that's awesome! I was worried about cost implications. Thanks for sharing.