tailcall
tailcall copied to clipboard
perf: Cache `OperationPlan` creation
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.
/bounty 200
💎 $200 bounty • Tailcall Inc.
Steps to solve:
- Start working: Comment
/attempt #2950with your implementation plan - Submit work: Create a pull request including
/claim #2950in the PR body to claim the bounty - 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.