Better performance through Reducing Database Calls?

I am making a mobile app that involves creating a thing under Data Type “Order Item” with fields “Food Name”, “Price” and “Quantity” by copying text and number fields from the current cell, triggered by the current cell’s PLUS icon on the right.

(This is a restaurant-ordering mobile app)

However this leads to response lags whenever the user triggers the workflow - which adds up when the current user makes multiple orders. This makes it slow and would burn through my workflow cap rather quickly once I release the app publicly.

How do I reduce database calls so I can optimize performance & reduce workflow use? (Custom States? idk)

I was thinking of somehow having the list of selected “Order Items” aggregated, and sent to the database in only one workflow - how can this be done?

Thanks in advance! (sorry for asking too many questions lol)

1 Like