Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Websurfx Frustrating Delay on Self-Hosted Instance #648

Open
stef204 opened this issue Jan 7, 2025 · 1 comment
Open

Websurfx Frustrating Delay on Self-Hosted Instance #648

stef204 opened this issue Jan 7, 2025 · 1 comment

Comments

@stef204
Copy link

stef204 commented Jan 7, 2025

What would you like to share?

There is a very frustrating delay on my self-hosted instance (single user) wherein I have to wait at LEAST 30 seconds to get a results page. It can go as high as 45 seconds at times. It just makes the whole experience just really poor and is a deal breaker for me.

I see #615 and I checked the line 141 in file src/server/routes/search.rs and since I am on the rolling branch, it has the recommended change.

However, I see NO improvement whatsoever. And what is described in #615 is not resolved, at least on my box.

Do you want to work on this issue?

None

Additional information

How I build:
Clone the "default" branch which is rolling.

I sometimes do cargo clean (which is probably not needed).

I have read the instructions here and for my latest build, have defined the variable as such:
export PKG_ENV="dev"

However, this does not seem to have an impact as defining like this: export PKG_ENV="prod" before rebuilding does not remove the delay.

I have tried to build with cargo build -r or cargo build -r --no-default-features --features redis-cache and this changes nothing re. the delay: it does change the speed for cached pages but a single user does not actually benefit that much from cached pages as one does not often repeat the same searches (however if one does, it instantly displays the cached page which is nice.)

I have tried to set debug = false or debug = true in config.lua and no changes.
Same for production_use = false or production_use = true, still no changes.

What am I doing wrong here? Most search engines, including searxng are MUCH faster than the websurfx instance I run and build as described above. I suspect there is a problem with the intentional delay as referred to in #615 and in the documentation but cannot put my finger on it.

Copy link

github-actions bot commented Jan 7, 2025

To reduce notifications, issues are locked until they are 🏁 status: ready for dev and to be assigned. You can learn more in our contributing guide https://github.com/neon-mmd/websurfx/blob/rolling/CONTRIBUTING.md

@github-actions github-actions bot locked and limited conversation to collaborators Jan 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant