Skip to content

Conversation

veganbeef
Copy link
Contributor

@veganbeef veganbeef commented Jan 28, 2025

This PR makes the following updates in order to make the API more efficient:

  • adds rate limiting and an in-memory LRU cache for requests (should be changed to a redis cache eventually)
  • adds DB indexes to speed up common queries
  • adds smarter looping strategy, request concurrency limiting, and caching for LLM requests

@thelostone-mc thelostone-mc merged commit 354afc7 into main Jan 29, 2025
2 checks passed
@thelostone-mc thelostone-mc deleted the veganbeef/api-efficiency branch January 29, 2025 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants