evan-buss / openbooks

Search and Download eBooks
https://evan-buss.github.io/openbooks/
MIT License
1.87k stars 59 forks source link

Implement local fuzzy search #100

Open AdrianSimionov opened 2 years ago

AdrianSimionov commented 2 years ago

One of the main ways of abusing the IRCHighway is by sending too many search requests. And although each user is limited to 10+ seconds between search requests, an increase in the usage of this tool will eventually again overload the search bot, because that is a single point of failure.

The architecture of IRCHighway with a single point of failure should not be a limiting factor for this amazing application.

Hence, caching locally the lists of running servers and implementing a local fuzzy search will distribute the load while significantly improving the ability of this application to serve requests faster.

AdrianSimionov commented 2 years ago

Nice features to add part of this development: