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

Few first messages do not arrive when there is more then 300 connections #32

Open
lwilczak opened this issue Apr 17, 2014 · 4 comments
Open

Comments

@lwilczak
Copy link

Hi, i'm working on chat, which is based on realplexor. When there is about 200 users (connections) online everything is ok, but when its growing and its 300+ then for first few seconds messages do not arrive for new logged in user.
Generally: when there is 300+ connections to server, new connection is created, then for few seconds messages sent to new connection do not arrive.
Administrator of server says, that process of realplexor uses 100% processor.

What can i do with it, how can i debug it? Do you think, upgrade to newest version could help?

@dimikot
Copy link
Owner

dimikot commented Apr 17, 2014

Do you use С++ version?
(Perl version is only a prototype, not for production.)

On Thursday, April 17, 2014, Łukasz Wilczak [email protected]
wrote:

Hi, i'm working on chat, which is based on realplexor. When there is about
200 users (connections) online everything is ok, but when its growing and
its 300+ then for first few seconds messages do not arrive for new logged
in user.
Generally: when there is 300+ connections to server, new connection is
created, then for few seconds messages sent to new connection do not
arrive.
Administrator of server says, that process of realplexor uses 100%
processor.

What can i do with it, how can i debug it? Do you think, upgrade to newest
version could help?


Reply to this email directly or view it on GitHubhttps://github.com//issues/32
.

@lwilczak
Copy link
Author

Yes, its Perl version. It was applied by previous developer over 2 years ago. Thanks for suggestion. Will change version and will see it helped. Thanks

@lwilczak
Copy link
Author

We changed version to C++, and everything now works fine! Proces use processor normally, nad there is no missing messages. Thanks for help.

@dimikot
Copy link
Owner

dimikot commented Apr 25, 2014

I also recommend to setup nginx in front of realplexor, because realplexor
does not support tcp output stream buffering for now (it's in todo).
Such buffering
is a subject nginx is good at.

On Friday, April 25, 2014, Łukasz Wilczak [email protected] wrote:

We changed version to C++, and everything now works fine! Proces use
processor normally, nad there is no missing messages. Thanks for help.


Reply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-41363879
.

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

2 participants