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

could you help to investigate the performance problem https://github.com/panjf2000/gnet/issues/296 #6

Closed
slow-zhang opened this issue Dec 10, 2021 · 3 comments

Comments

@slow-zhang
Copy link

panjf2000/gnet#296

@Jchicode
Copy link
Member

I read your issue, but I don’t understand what you mean, can you show me your code?

@Jchicode
Copy link
Member

Maybe you can try redis pipeline

@slow-zhang
Copy link
Author

slow-zhang commented Dec 13, 2021

I read your issue, but I don’t understand what you mean, can you show me your code?

I compare redhub with a simple go-net redis, here is my code: https://github.com/slow-zhang/gnet-test/blob/main/main.go#L98. (tcp listen in dir2)
and I find the go-net implementation is faster

Maybe you can try redis pipeline

I will not use redis-pipeline for I will not use this feature in my app

@gitsrc gitsrc closed this as completed Dec 31, 2021
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

No branches or pull requests

3 participants