Closed A2116 closed 4 years ago
Hello The number of connection for each client is at max 8. But you don't need to do the math because the script does it for you; For example if you input 1, script saves 8.
TL;DR: Just enter number of users in script.
I am using the official script for its performance and manageability + port forwarder, so I set user max connection in rules.json is a user with 8 connection have better performance than user with 4 connection? also, another thing is Forwarder_linux_amd64 file make rules.json unreadable because it converts all return and tab and space to space and destroys file structure
On Sat, Mar 7, 2020 at 3:09 AM Hirbod Behnam notifications@github.com wrote:
Closed #22 https://github.com/HirbodBehnam/MTProtoProxyInstaller/issues/22.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HirbodBehnam/MTProtoProxyInstaller/issues/22?email_source=notifications&email_token=AJ5HKJA6UFU5QUGN5JXSSFLRGGCU5A5CNFSM4LDJYXVKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOXE2ELXY#event-3107210719, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ5HKJGXM7KASP3BLXKJWPDRGGCU5ANCNFSM4LDJYXVA .
Hello again For the first question, yes 8 connections gives a better user experience than 4 connection. However it's not strict and 2 users can connect to server. (However they have problem downloading files) And for your other question; Json is meant to be machine readable and not human readable. You can use a json beautifier to just beautify it. Also note that beautifying json at the run time comes with resource cost and parsing and serializing a json without whitespace and tabs and new lines is faster.
in simultaneous connection limit, how many connections is needed for each telegram instance? 1 or more? is an app run better with more connections or they are not used?