|

Learning English
Benchmarking APE
Configurating debian to support more users. First of all, you need to increase the maximum number of open file descriptors, you can user ulimit -n command, but if you run APE has root, he'll make it by himself, increasinf it to 65435 (You can change this value in file « ape.conf », value Server.rlimit_nofile). So we set this value to 1000k (cause we are optimist).
Configurating clients to andle more users. Tuning server to receive more connections was easy, tuning clients was another story. For our tests we use Tsung (an erlang stress app), with an APE plugin we createds. The first problem was (like on the server), the maximum number of open file descriptors, we just added ulimit -n 999999 at the end of each client's /root/.bashrc file. The second problem we had was the number of ports wich seems to limit outgoing connections to 28k. This was easy to increase using echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range wich increases the number of available ports to 64511 wich is much better, but steels limited. The third problem was to have more then 64511 users per computer. Searching on the web I found the solution: « using virtual interface », but the new problem was that, by default, system gives an origin port that isn't used on any interface. So we had to specify the origin port manually wich isn't supported by tsung. So we learned erlang to modify tsung system to specify an origin port. We created this module (add it on src/tsung/ts_ports.erl):
|
 |


-->
correction by nilocski
,
correction by dineshviswanath
This text is already corrected!
Hello! My name is Dmitry Lopatin. I've created correctmytext.com
in 2009 to help everyone who learns foreign languages.
I'll be happy to see you as my friends in Facebook:

| |
Learning to write and speak a foreign language correctly requires having somebody to correct your grammar and usage errors.
Otherwise you may learn a substandard version of the language with deep-rooter mistakes and incorrect usages that are hard to get rid of.
A popular and tried-and-true way to learn languages involves writing texts in a foreign language on a daily basis and reading them aloud to a native speaker, who will correct any mistakes.
Native speakers or language professionals will review your text and correct all errors of style or grammar free of charge.
You can also request a sound recording of the spoken version of your corrected text that will let you hear the subtleties of pronunciation by a native speaker.
| |
|
|
|