Live data from Hacker News

AWS AppSync – Build data-driven apps with real-time and offline capabilities

aws.amazon.com

21–30 of 49 posts

Re: AWS AppSync – Build data-driven apps with real-time and offline capabilities

#21

I wonder why most companies building simple CRUD apps still don't use those services (AppSync, Firebase, Graphcool, etc)? Seems like cheaper than hiring a backend developer + a devops.

I can only speak about Firebase, but it gets very expensive very quickly.

Re: AWS AppSync – Build data-driven apps with real-time and offline capabilities

#22
post #13

Earlier quoted context omitted.

As far as I know GraphQL has subscriptions

AppSync supports graphql subscriptions on mutations. They’re delivered using to the browser using MQTT.

ah, thanks, that's what i wanted to ask. Since it's MQTT, how does it support iOS when the app is in the background? or it won't support that scenario on iOS? On Android, does it also use MQTT to maintain a connection? instead of using FCM/GCM? On the browser, how's the MQTT connection maintained? does it have service worker support for "offline" use cases?

Re: AWS AppSync – Build data-driven apps with real-time and offline capabilities

#24
post #14

Earlier quoted context omitted.

Yes.

No. This is AWS response to the various graphql as a service companies.

Sure, but these companies were alternatives to Firebase. Isn't this service simply Scaphold renamed?

Re: AWS AppSync – Build data-driven apps with real-time and offline capabilities

#25
Seems like another way to lock you into a proprietary cloud (Firebase or AWS backend).

Why not just take a client side library and an open-source backend, and host it on EC2 or some general purpose computer server hosted anywhere? This way your CLIENTS have a choice too.

If you can install Wordpress why not this?

SAFE network will solve all this soon.

Re: AWS AppSync – Build data-driven apps with real-time and offline capabilities

#26
post #19

Earlier quoted context omitted.

AppSync supports graphql subscriptions on mutations. They’re delivered using to the browser using MQTT.

MQTT via WebSockets? Is this using AWS IoT?

Yes

I don’t know.

Re: AWS AppSync – Build data-driven apps with real-time and offline capabilities

#27
post #12

How/Does it handle push notifications to iOS/Android/Web? Similar to Firebase?

There are other services that do push notifications - most notably, Amazon Pinpoint (for the analytics driven type user segmentation and campaigns) and SNS (for the more automated single push).

Similarly, look to Amazon Cognito for user sign-in / sign-up / etc., AWS Lambda and API Gateway for cloud-based API, and other services for machine-learnign, AI, chatbots, database services, analytics, etc.

AWS AppSync is only for the data access / offline / real-time component.

Re: AWS AppSync – Build data-driven apps with real-time and offline capabilities

#28
post #6

If only this had offline support for non-NodeJS GraphQL

It does - you can do offline with Android and iOS too: https://docs.aws.amazon.com/appsync/latest/devguide/building...

With Expo/react-native-web, aws-amplify, and apollo-client, apollo-link-state this is a complete cross platform solution

Re: AWS AppSync – Build data-driven apps with real-time and offline capabilities

#29
post #25

Seems like another way to lock you into a proprietary cloud (Firebase or AWS backend). Why not just take a client side library and an open-source backend, and host it on EC2 or some general purpose computer server hosted anywhere? This way your CLIENTS have a choice too. If you can install Wordpress why not this? SAFE network will solve all this soon.

I think the lock-in can be rather small if you consider the flexibility of GraphQL.

Re: AWS AppSync – Build data-driven apps with real-time and offline capabilities

#30
post #25

Seems like another way to lock you into a proprietary cloud (Firebase or AWS backend). Why not just take a client side library and an open-source backend, and host it on EC2 or some general purpose computer server hosted anywhere? This way your CLIENTS have a choice too. If you can install Wordpress why not this? SAFE network will solve all this soon.

Hey, if you are looking for an open source alternative, checkout daptin [1]. The graphql api is on the way [2]

[1] https://github.com/daptin/daptin

[2] https://github.com/daptin/daptin/pull/28

Post reply on HN