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

The confuse thing I want consult you. #1

Closed
wu-jun-jie opened this issue Jan 31, 2020 · 2 comments
Closed

The confuse thing I want consult you. #1

wu-jun-jie opened this issue Jan 31, 2020 · 2 comments

Comments

@wu-jun-jie
Copy link

hi @fafhrd91 , i 'm sorry to open this issure, but I don't know where to find you and get response.

current I use actix-web, it's cool, I want to create a async pg connect pool for it. then i find your work, you remove 'send, arc, mutex' and it wiil can't be used in Multithread right? so is it also whether need a Multithread connect pool ? I know like nodejs use redis no need Multithread connect pool .

can you Point me? whether there is new way?

@fafhrd91
Copy link
Member

I made changes specifically for tech empower benchmark. It is not official and I don’t think you should use it. But in general, actix is single threaded, so I’d use pool per thread approach

@wu-jun-jie
Copy link
Author

thanks.

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

No branches or pull requests

2 participants