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

multiple threads support #29

Open
bung87 opened this issue Jun 15, 2021 · 8 comments
Open

multiple threads support #29

bung87 opened this issue Jun 15, 2021 · 8 comments
Labels

Comments

@bung87
Copy link
Owner

bung87 commented Jun 15, 2021

use workers handle request.

@bung87 bung87 added the Feature label Jun 15, 2021
@bung87
Copy link
Owner Author

bung87 commented Jun 29, 2021

I may finally turn the multithread model to httpbeast, in the meanwhile may not heavily relys on chronos

@bung87
Copy link
Owner Author

bung87 commented Jun 30, 2021

options:
threads with shared ptrs: https://github.com/cheatfate/wanted
multiple server per threads bind on same address and port with event driven: httpbeast
use nginx as front with multiple processes

@shayanhabibi
Copy link
Contributor

The issue with httpbeast however being that it doesn't support windows platform :(

@bung87
Copy link
Owner Author

bung87 commented Aug 12, 2021

we can use https://github.com/xflywind/httpx which use https://github.com/xflywind/ioselectors support windows platform, httpx is basically httpbeast with ioselectors. further more we can replace async macros with chronos's .

@shayanhabibi
Copy link
Contributor

Performance with multithreading atm with httpx seems to suffer on windows

But then how big that impact would be using chronos would be interesting.

I would love to help; unfortunately macros isn't something I've had time to work with; same for networking hahahaha.

@bung87
Copy link
Owner Author

bung87 commented Aug 12, 2021

hmm, It's big like change scorper major version , need rewrite all stream handle from std socket to chronos streamtransport , start server like httpbeast does . it's big I think.

@sdmcallister
Copy link

@bung87

I may finally turn the multithread model to httpbeast, in the meanwhile may not heavily relys on chronos

Seems like a big change. Would this significantly improve (what seems like already good) performance?

@bung87
Copy link
Owner Author

bung87 commented Sep 3, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants