Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Seperate http request thread and worker thread #164

Open
swjtustudent opened this issue Feb 20, 2021 · 0 comments
Open

Seperate http request thread and worker thread #164

swjtustudent opened this issue Feb 20, 2021 · 0 comments

Comments

@swjtustudent
Copy link

swjtustudent commented Feb 20, 2021

I'm preparing to write an example which seperate the worker thread and the http thread using libevhtp.
like epoll + thread pool.

Http logic threads will receive http requests, response http requests. and put the requests to worker's queue and awake the worker thread.

worker thread awake, read from queue and do some business.

Could anyone give an example using libevhtp?

@swjtustudent swjtustudent changed the title Seperate http request and Logic worker Seperate http request thread and worker thread Feb 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant