News for hackers. Stuff that matters.
Re:AWS AppSync – Build data-driven apps with real-time and o... by schickling on Tuesday November 28, 2017 @04:14PM (#15801739)
Hi, co-founder of Graphcool here. It's very exciting to see AWS adopting GraphQL as a part of their offering. GraphQL in combination with serverless functions is a great fit to build applications quickly and shines in the use case described by AppSync.

P.S. We'll soon release a few example of how to use AppSync together with Graphcool (which works really well together!)

Re:AWS AppSync – Build data-driven apps with real-time and o... by the_duke on Tuesday November 28, 2017 @05:16PM (#15802384)
Isn't this basically a copy of Graphcool?

I was actually just about to comment how it sucks for startups that AWS will just grab every good idea, duplicate it and draw a lot of business because, since you have everything on AWS, it's very tempting to just use their offering.

Re:AWS AppSync – Build data-driven apps with real-time and o... by schickling on Tuesday November 28, 2017 @05:30PM (#15802494)
While there are a couple of similar elements (you can rudimentary read and write data), the use case AppSync is trying to tackle is very different. It's main use case is not to act as the core of your application but rather as a wrapper around various AWS data sources.

There's a new concept called schema stitching which enables you to combine (and re-expose) GraphQL APIs which will make it possible to build a simple server that stitches together both Graphcool (as your primary data backend) and AppSync to easily access other information stored in AWS services. (You can read more about schema stitching here: https://www.advancedgraphql.com/content/schema-stitching)

Re:AWS AppSync – Build data-driven apps with real-time and o... by foota on Tuesday November 28, 2017 @08:20PM (#15803645)
Could you also write a client side graphql server to do the stitching locally? Is there a reason you wouldn't want to in general?
Re:AWS AppSync – Build data-driven apps with real-time and o... by gdi2290 on Tuesday November 28, 2017 @06:08PM (#15802838)
They didn't copy the idea. They acquired scaphold.io which is like graphcool
Re:AWS AppSync – Build data-driven apps with real-time and o... by thawab on Tuesday November 28, 2017 @06:11PM (#15802862)
I just visited scraphold and there is no mention of an acquisition.
Re:AWS AppSync – Build data-driven apps with real-time and o... by gdi2290 on Tuesday November 28, 2017 @06:24PM (#15802977)
this is insider info ;)
Re:AWS AppSync – Build data-driven apps with real-time and o... by callalex on Tuesday November 28, 2017 @11:54PM (#15804666)
Internet forums are not your friend. Be careful.
Re:AWS AppSync – Build data-driven apps with real-time and o... by gdi2290 on Wednesday November 29, 2017 @10:47AM (#15807659)
(for everyone wondering, the insider info was simply a guess. Scaphold shutdown 4 months ago and suddenly AWS has something that looks just like it)
Re:AWS AppSync – Build data-driven apps with real-time and o... by bpicolo on Tuesday November 28, 2017 @07:12PM (#15803313)
I have heard the same
Re:AWS AppSync – Build data-driven apps with real-time and o... by programmarchy on Tuesday November 28, 2017 @09:29PM (#15804026)
Does Graphcool have mobile sync clients? That seems like a big differentiator, and puts AWS AppSync up against other cloud-backed storage vendors like Realm and Couchbase. A sync client backed by GraphQL is just icing on the cake, offering much more flexibility on the backend.
Re:AWS AppSync – Build data-driven apps with real-time and o... by djmashko2 on Tuesday November 28, 2017 @09:44PM (#15804118)
One really neat thing is that the clients are based on the MIT-licensed Apollo Client. So we hope that everyone using GraphQL can easily get these benefits! Check out the code on GitHub: https://github.com/awslabs/aws-mobile-appsync-sdk-js/blob/25...

(Disclaimer: I work on the Apollo team)

Re:AWS AppSync – Build data-driven apps with real-time and o... by programmarchy on Tuesday November 28, 2017 @10:05PM (#15804209)
I was not aware of Apollo... Thanks for the link. Looks great. Just went down a rabbit hole on offline support for Apollo, and looks like people are working on some elegant solutions.
Re:AWS AppSync – Build data-driven apps with real-time and o... by lamflam on Thursday November 30, 2017 @07:01AM (#15815075)
I've been using https://github.com/Malpaux/apollo-offline for offline support in production for a few months now and it has worked very well. I discovered one issue but the maintainer was very responsive and had my PR merged in and published within 24 hours.
Re:AWS AppSync – Build data-driven apps with real-time and o... by derBingle on Wednesday November 29, 2017 @03:58PM (#15810781)
Besides the reasons listed below, Graphcool's move to making the platform an open source framework is another distinguishing factor.

I refactored a CLI tool I'm creating with it the day they released the OSS framework, and it's working fantastically!

Re:AWS AppSync – Build data-driven apps with real-time and o... by meritt on Tuesday November 28, 2017 @05:31PM (#15802509)
Edit - Nevermind, I must have confused the personal experience of myself and multiple people in my professional network with a satirical television show.
Re:AWS AppSync – Build data-driven apps with real-time and o... by bradleyankrom on Tuesday November 28, 2017 @05:35PM (#15802538)
That is interesting - can you recall some instances of this occurring?
Re:AWS AppSync – Build data-driven apps with real-time and o... by dandr01d on Tuesday November 28, 2017 @05:56PM (#15802715)
He just saw the Silicon Valley episode
Re:AWS AppSync – Build data-driven apps with real-time and o... by jondubois on Wednesday November 29, 2017 @03:48AM (#15805538)
Very exciting... Until you see your user base start shrinking.

There is no way Graphcool can compete with Amazon in terms of software costs and efficiency. If someone is already using other Amazon services like S3, SNS, etc... and they have to choose between a completely new third party service or Amazon's own; they will choose Amazon. If both software are compatible, companies will always choose the cheapest one.

Amazon has the ability to price gouge the service down to $0 if it likes.

Also, Graphcool is not the first and only service of its kind, there is also Apollodata (from the MeteorJS people).

Re:AWS AppSync – Build data-driven apps with real-time and o... by nthtran on Wednesday November 29, 2017 @06:32AM (#15806056)
Apollo by itself doesn't do anything close to what Graphcool does out of the box.
Re:AWS AppSync – Build data-driven apps with real-time and o... by crubier on Wednesday November 29, 2017 @05:14AM (#15805813)
As a Graphcool user, I very much see how Graphcool is NOT threatened by Appsync, but is merely complimentary.

Appsync sure does perform the lower level part of what Graphcool does.

But the added value of Graphcool was never this to me. The added value of graphcool is generating a complex schema with authentication and automatic resolution, actually writing for you hundreds of custom complex resolver functions for filters, authentication and so on. These are things that appsync does not do.

But Appsync will come as a very easy to use backend for Graphcool, making it even cheaper and scalable (Appsync is based on dynamodb, while graphcool is based on SQL, but is actually searching for new scalable backends)

Re:AWS AppSync – Build data-driven apps with real-time and o... by antigirl on Wednesday November 29, 2017 @04:18AM (#15805625)
I dont understand how it will work with AppSync if both services practically do the same thing? am i missing something?
Re:AWS AppSync – Build data-driven apps with real-time and o... by brango on Wednesday November 29, 2017 @05:14AM (#15805814)
Bravo on the optimism. Personally I'd be crapping myself.