[GH-ISSUE #11] Make queries fire off PHP threads non blocking #6

Closed
opened 2026-03-04 23:23:39 +03:00 by kerem · 5 comments
Owner

Originally created by @yswery on GitHub (Nov 27, 2014).
Original GitHub issue: https://github.com/yswery/PHP-DNS-SERVER/issues/11

Currently (especially if the recursive provider is used) the DNS server can only handle one request at a time.

Originally created by @yswery on GitHub (Nov 27, 2014). Original GitHub issue: https://github.com/yswery/PHP-DNS-SERVER/issues/11 Currently (especially if the recursive provider is used) the DNS server can only handle one request at a time.
kerem 2026-03-04 23:23:39 +03:00
Author
Owner

@codenamegary commented on GitHub (Nov 27, 2014):

Had the exact same thought the other night while I was working on my socket-testing branch. Check out ReactPHP, lots of good threading libraries in there.

<!-- gh-comment-id:64791937 --> @codenamegary commented on GitHub (Nov 27, 2014): Had the exact same thought the other night while I was working on my socket-testing branch. Check out ReactPHP, lots of good threading libraries in there.
Author
Owner

@ivanstan commented on GitHub (Apr 15, 2018):

ReactPHP would be great for this

<!-- gh-comment-id:381417991 --> @ivanstan commented on GitHub (Apr 15, 2018): ReactPHP would be great for this
Author
Owner

@ivanstan commented on GitHub (Apr 16, 2018):

@yswery @codenamegary can you guys check this branch. I managed to make it work

github.com/ivanstan/PHP-DNS-SERVER@aa924cf0ac

<!-- gh-comment-id:381536714 --> @ivanstan commented on GitHub (Apr 16, 2018): @yswery @codenamegary can you guys check this branch. I managed to make it work https://github.com/ivanstan/PHP-DNS-SERVER/commit/aa924cf0ac6d689e41d64dfaa56f1f136e75bba7
Author
Owner

@codenamegary commented on GitHub (Apr 18, 2018):

That's amazing! Unbelievable how simple the implementation is.

<!-- gh-comment-id:382384461 --> @codenamegary commented on GitHub (Apr 18, 2018): That's amazing! Unbelievable how simple the implementation is.
Author
Owner

@yswery commented on GitHub (May 22, 2018):

Fixed in PR #46 Epic work @ivanstan

<!-- gh-comment-id:390936996 --> @yswery commented on GitHub (May 22, 2018): Fixed in PR #46 Epic work @ivanstan
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/PHP-DNS-SERVER#6
No description provided.