Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Alter default 200KB of overhead per connection #95

Closed
edevil opened this issue May 17, 2012 · 4 comments
Closed

Alter default 200KB of overhead per connection #95

edevil opened this issue May 17, 2012 · 4 comments

Comments

@edevil
Copy link

edevil commented May 17, 2012

In the README it is said that:

By default, stud has an overhead of ~200KB per connection--it preallocates some buffer space for data in flight between frontend and backend.

How can we change this default? 200KB per connection seems too much for me when the goal is to allow 10k connected clients. What will be the drawback of lowering this value?

Thanks.

@ditoiu
Copy link

ditoiu commented May 30, 2012

it is not a value you can change. It's a fact: stud has an overhead of ~200KB :)

@edevil
Copy link
Author

edevil commented Jun 8, 2012

That seems like a lot. Is there a reason for it?

@ditoiu
Copy link

ditoiu commented Jun 8, 2012

of course : the same reason the e-mail you send signed with PGP are larger than the plain ones.

@edevil
Copy link
Author

edevil commented Jun 8, 2012

I understand that some data needs to be stored per connection and some buffers allocated. But 200KB of memory space per connection seems a bit large.

@edevil edevil closed this as completed Mar 3, 2013
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

2 participants