thanks both. I am using idiomatic GQL pagination already and it’s working well. the subscription idea is a good one as I plan to use websockets for another requirement as well. I’ll take a look at that
I don’t think laziness will help with GC as it will still need to allocate the same number of short lived objects. I could be wrong in my thinking on this, happy to be corrected
subs could be challenging as my stack is api-gateway -> datomic Ions. I am considering adding ec2 to the stack and Lacinia would run there but I’m not sure for either design, how well subs would run through AWS Api Gateway.
but that’s on me to test out. I’ll report back if I find anything interesting