You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All the files that are expected to be changed are located under the codebase (websurfx directory).
Reason Behind These Changes
The reason behind having these changes is to improve the performance of the engine which can reduce the time it takes to display the search results, which can drastically improve the user experience.
Do you want to work on this issue?
Yes
Additional information
No response
The text was updated successfully, but these errors were encountered:
What would you like to share?
Work Expected From The Issue
Provide several optimizations to improve the performance of the search engine by making the following changes:
FuturesUnordered
withtokio::JoinSet
to improve peformance.SharedCache
intialization code fromrun
function tosearch
function as theSharedCache
struct is initialized and used once in the entire app.rayon
crate.tokio::spawn_blocking
.rayon
once every call to the search route.The issue expects the following files to be changed/modified:
Cargo.lock
Cargo.toml
src/bin/websurfx.rs
src/cache/cacher.rs
src/cache/encryption.rs
src/cache/redis_cacher.rs
src/config/parser.rs
src/handler/mod.rs
src/lib.rs
src/models/aggregation_models.rs
src/results/aggregator.rs
src/results/mod.rs
src/results/user_agent.rs
src/server/router.rs
src/server/routes/search.rs
src/templates/partials/bar.rs
src/templates/partials/footer.rs
src/templates/partials/header.rs
src/templates/partials/navbar.rs
src/templates/partials/search_bar.rs
src/templates/partials/settings_tabs/cookies.rs
src/templates/partials/settings_tabs/engines.rs
src/templates/partials/settings_tabs/general.rs
src/templates/partials/settings_tabs/user_interface.rs
src/templates/views/about.rs
src/templates/views/index.rs
src/templates/views/not_found.rs
src/templates/views/search.rs
src/templates/views/settings.rs
tests/index.rs
Note
All the files that are expected to be changed are located under the codebase (
websurfx
directory).Reason Behind These Changes
The reason behind having these changes is to improve the performance of the engine which can reduce the time it takes to display the search results, which can drastically improve the user experience.
Do you want to work on this issue?
Yes
Additional information
No response
The text was updated successfully, but these errors were encountered: