New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question/Request - lambda BatchInvoke limit #51
Comments
Thanks for using AppSync! To answer your questions:
|
+1 |
1 similar comment
+1 |
Out of curiosity, is there a public roadmap available somewhere? It would be great to know if this is something that will be coming in the near future or far down the line. Thanks! |
+1 |
Complete year passed and we don't have any response, the entire internet know nothing about this topic, is there any hope? |
You have to be more annoying (that is my experience). Use Discord and Twitter and tag aws engineers. |
I've received a response on AWS Support Forums before indicating that they do not have any public roadmap, sadly. That was last year but I doubt it has changed. |
+1 |
2 similar comments
+1 |
+1 |
+1 This impacts my design, query performance and explodes cost. AppSync is only good for POC's not real world applications. |
+1 |
+1 - would love to see this implemented. Tossing up rolling our own in Apollo until this is resolved :( |
this is a very big issue for us too, we are hitting too many connections in our database too fast and the limit of 5 is ridiculous |
We are having the same problem here. We were so excited about AppSync, but this make it impossible for us to use it. Besides, the 5 limit goes against the main purpose of BatchInvoke requests in the first place. |
Any news about this? It's a very big issue for us too. |
+1 |
This is so frustrating |
When will this be fixed? It's nearly two years, and this still hasn't changed. This is so frustrating. |
+1 - we are planning on migrating over to REST APIs and spinning up our own Apollo GraphQL server, which is a substantial undertaking, if there is no plan to increase the limit. A simple yes or no on this issue will help us make better decisions when implementing our software. AWS AppSync Team - your lack of follow-up on this issue and lack of transparency of your roadmap clearly goes against Amazon's leadership principle of customer obsession and rather shows a disinterest in customer feature requests. Please consider prioritizing your customers first. Thanks! |
+1 |
Hey all, thank you for the feedback on batching. would be great to get your feedback on this:
|
Hi Brice, thanks for the response.
|
Hi @onlybakam We are using lambda resolvers with VTL and it would be really nice to be able to configure the batch size. |
@onlybakam we are using DLR and it would be very useful to configure the DLR to batch more than current limit of 5. |
@onlybakam A dynamically configured batch size would be helpful. E.g. right now we fetch new elements for our feed in batches of seven. So if we could configure your batch resolver batch size to 7 we would perfectly match our internal batch size. |
Any update for this? |
@onlybakam I'll take whatever is easier, really really need this to be a higher number |
Don't think that a configurable limit would be a requirement. Having a batch size of 100 would suffice in many cases. |
Need this feature |
Hi all, this enhancement has finally been released: |
@ndejaco2 cool thank you! Is this already supported in CloudFormation? There is nothing in I tried in the request mapping template but that doesn't work:
|
Yes Cloudformation is supported. The property name is MaxBatchSize and it can be set on AWS::AppSync::Resolver and AWS::AppSync::FunctionConfiguration. The official Cloudformation doc update will be out this week. |
Thank you! |
I can't seem to find any documentation on the limit that AppSync imposes on how many events get passed to BatchInvoke. My questions:
I understand that for most use cases it'll bring N+1 queries down substantially, but it's still got a (N/5)+1 problem...which can become problematic at some point.
It'll be nice to have this documented somewhere, because I'm sure there are plenty of people that want to use BatchInvoke but can't or won't without knowing this first.
I'm fine if it's 5, and will stay 5 forever, but some transparency on the actual limit and plan would be appreciated. For some, and specifically for me, it's not a blocker, but knowing helps us determine the best way to write the resolver. For example, if it's a nested relationship that queries a DB, one might decide to write that query for nested elements in the top-level resolver depending on document size/memory reqs, etc. Depending on the situation a more expensive/complex 2-query call in a resolver could be better off than a cheaper/simpler (N/5)+1 call...but we need to know what we're working with! Thanks :)
The text was updated successfully, but these errors were encountered: