router icon indicating copy to clipboard operation
router copied to clipboard

external cache for APQ

Open deweyjose opened this issue 3 years ago • 4 comments

Describe the solution you'd like Support external storage of APQ cache to help limit the frequency of full APQ handshakes. Currently the NodeJS Gateway implementation supports this, and we saw a huge reduction in additional requests once rolled out.

Describe alternatives you've considered

Additional context Add any other context or screenshots about the feature request here.

deweyjose avatar Jul 14 '22 22:07 deweyjose

this is a planned feature, and there's work in #1281 to support it. How large is the APQ cache you are using? number of entries, estimate byte size overall?

Geal avatar Jul 15 '22 09:07 Geal

Thank you for opening this! I DO think this should be its own specific issue, but just want to note that this relates to #329. I'll also update that.

abernix avatar Jul 15 '22 11:07 abernix

great thx @abernix

deweyjose avatar Jul 15 '22 14:07 deweyjose

Follow up question - thoughts on APQ lifecycle events?

Why - Currently researching a replacement for operations safelisting. If we had an opportunity to map in a query on the original persistedQuery GET request we can validate the hash is registered, map in the registered query, save an additional round trip.

deweyjose avatar Jul 19 '22 14:07 deweyjose

Hi @deweyjose - this feature is now GA! Hope you can try it out soon and send us your feedback :pray:

chandrikas avatar Mar 22 '23 08:03 chandrikas