Skip to content

Improve DNSCrypt Reliability and Performance#1

Draft
google-labs-jules[bot] wants to merge 4 commits inton2from
jules-dnscrypt-improvements-13383121554043904395
Draft

Improve DNSCrypt Reliability and Performance#1
google-labs-jules[bot] wants to merge 4 commits inton2from
jules-dnscrypt-improvements-13383121554043904395

Conversation

@google-labs-jules
Copy link

This change improves the reliability and performance of the dnscrypt client by implementing a persistent certificate-refresh retry mechanism, a health-based, latency-aware server selection strategy, and a more efficient sorting algorithm.


PR created automatically by Jules for task 13383121554043904395 started by @jfdl1991

Improves the reliability and performance of the dnscrypt client by:

- Implementing a persistent certificate-refresh retry mechanism with a backoff strategy.
- Adding a health-based, latency-aware server selection strategy to prioritize healthy and fast relays.
- Replacing an inefficient bubble sort with `sort.Slice` for better performance.
@google-labs-jules
Copy link
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

New to Jules? Learn more at jules.google/docs.

@jfdl1991
Copy link
Owner

jfdl1991 commented Dec 19, 2025

@celzero I'm not a developer (yet... I'm working on it) but maybe some of this could help you with those anoying dnscrypt cert problems (i hope) I'm just using my jules credits to help with this but whatever you need me to ask it I'll paste the propmt you give me so you dont need to use your credits.

Improves the reliability and performance of the dnscrypt client by:

- Implementing a persistent certificate-refresh retry mechanism with a backoff strategy.
- Adding a health-based, latency-aware server selection strategy to prioritize healthy and fast relays.
- Replacing an inefficient bubble sort with `sort.Slice` for better performance.
@jfdl1991
Copy link
Owner

@ignoramous I've talked with you more about firestack on the issues. Maybe this is more directed to you

Repository owner deleted a comment from google-labs-jules bot Dec 19, 2025
Improves the reliability and performance of the dnscrypt client by:

- Implementing a persistent certificate-refresh retry mechanism with a backoff strategy.
- Adding a health-based, latency-aware server selection strategy to prioritize healthy and fast relays.
- Replacing an inefficient bubble sort with `sort.Slice` for better performance.
Improves the reliability and performance of the dnscrypt client by:

- Implementing a persistent certificate-refresh retry mechanism with a backoff strategy.
- Adding a health-based, latency-aware server selection strategy to prioritize healthy and fast relays.
- Replacing an inefficient bubble sort with `sort.Slice` for better performance.
- Adding detailed inline comments to explain the new logic.
- Enhancing the health check to log the latency of each server for better monitoring.
@ignoramous
Copy link

Ah, thanks, I'll see what I can learn from this commit, but the changes it has made don't look all that enticing to me at first glance.

propmt you give me so you dont need to use your credits.

You didn't have to, but thanks again (:

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