Hello community, what is the main incentive to use...
# general
a
Hello community, what is the main incentive to use GraphQLApi over AppSyncApi? Do we know the perf implication by running graphql in a lambda?(or maybe AppSync is also running their graphql server in a lambda?)
t
AppSync is actually more performant in some situations
The main reason we're building our new stack not on AppSync is control over the full experience
AppSync is still something people should consider since it's more managed but there's rough edges like having to wait for cfn every time your schema changes
plus there's a whole rich set of GraphQL plugins and tools that don't work with AppSync
a
plus there’s a whole rich set of GraphQL plugins and tools that don’t work with AppSync
can you give some examples for this?
t
a
i see thx! Is it safe to say the performance difference is not significant enough to worry about?
t
Yeah probably not a huge concern since our new GraphQL Stack really slimmed down the base function size
a
I see. I think another prospect also worths considering is that with AppSync, you don’t have to trigger a lambda if vtl can fulfill your need and it seems AWS is continuously adding new features to vtl.(it is debating that if it is a better developer experience though)
and I believe VTL is also faster than running lambda
t
VTL powered AppSync APIs are really performant!
It's a cool pattern but we're focused on balancing long term maintainability as your product grows and we don't currently feel VTL is great for that. Right now it's difficult to code-reuse to define things schema validation in a central place with VTL. If better patterns emerge around that we'll consider it more.
r
This is one of the reasons I like this community and the team at SST so much. You could have quite easily said something along the lines of “ours is better, just use ours” but you chose to give a considered answer with integrity. Thought it was worth saying
t
thanks! We're really aware people are building real companies with a lot on the line so never want to feel like someone chose our tools by accident
r
This makes your advice worth so much more
a
yeah totally agree as far as maintainability is concerned. thanks @thdxr and I also second Ross’ comment. ❤️
a
Integrity is all that matters, it is your choice and it let’s the world know what you value. I second @Ross Coundon.
k
@thdxr VTL brings up bad memories, so I totally understand the main tenability concerns about it
j
☝️ The only problem for me with AppSync is that you have to use VTL.