tailcall icon indicating copy to clipboard operation
tailcall copied to clipboard

perf: Cache `OperationPlan` creation

Open tusharmath opened this issue 1 year ago • 2 comments

Currently for each request we create an OperationPlan which affects performance. We wish to add some caching capabilities here to ensure that query plan is created only once per request upto a certain limit.

Technical Requirements

  • Don't add additional libraries to implementing caching.
  • Cache should evict automatically if its full.
  • Keep the cache size hard coded to 100 queries for now.
  • Cache key will the unparsed query string.
  • Test Coverage should not drop.

tusharmath avatar Oct 02 '24 04:10 tusharmath

/bounty 200

tusharmath avatar Oct 02 '24 04:10 tusharmath

💎 $200 bounty • Tailcall Inc.

Steps to solve:

  1. Start working: Comment /attempt #2950 with your implementation plan
  2. Submit work: Create a pull request including /claim #2950 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

🙏 Thank you for contributing to tailcallhq/tailcall! 🧐 Checkout our guidelines before you get started. 💵 More about our bounty program.

algora-pbc[bot] avatar Oct 02 '24 04:10 algora-pbc[bot]