Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Proofread and validate errors

...

  • 100 users accessing the server simultaneously;
  • Cache enabled for spell checking purposes; 
  • Certain hardware and software used (EC2 m5.large instance with 2 CPU and 8 GB RAM); 
  • Number of words to be checked (1K words or 6K characters);
  • Number of spelling and grammar problems in the text (15 grammar problems | 35 misspellings), around 5% of errors;
  • Type The type of the language used for check checking (17 default languages). 

Testing goal

...

We have run our tests continuously for each of the languages in the default language group (17 languages). The cache setting was enabled for all sets of tests. The following combinations of text to be checked are used for each language and for each user tier:

  • 1K words with 35 misspellings only.;
  • 1K words with 15 grammar problems only.;
  • 1K words (6K characters) with 15 grammar problems , and 35 misspellings.

The measured metrics were the response time and CPU utilization.

...

Response time and CPU utilization (only 35 misspellings)

Chart The chart below represents response time results aggregated by language when there are only 35 misspellings in text of 1K words word size.


Chart The chart below represents CPU utilization results aggregated by language and user tiers when there are only 35 misspellings in text of 1K words word size.



Response time and CPU utilization (only 15 grammar problems)

Chart The chart below represents response time results aggregated by language when there are only 15 grammar problems in text of 1K words word size.


Chart The chart below represents CPU utilization results aggregated by language when there are only 15 grammar problems  in text of 1K words word size.

Response time and CPU utilization (35 misspellings and 15 grammar problems)

Chart The chart below represents response time results aggregated by language and user tiers when there are 35 misspellings and 15 grammar problems in text of 1K words word size.

Chart The chart below represents CPU utilization results aggregated by language and user tiers when there are 35 misspellings and 15 grammar problems in text of 1K words word size.

...

Summary response time and CPU utilization

...

The chart Chart below represents response time results aggregated by language and user tiers when there are 35 misspellings or/and 15 grammar problems in text of 1K words sizefor 100 simultaneous users in case of three scenarious: 35 mispellings only, 15 grammar problems only, 35 misspellings and 15 grammar problems.

Findings and recommendations

...

Note

During testing we used API requests which contain 1K words per request where 3.5% of words are spelling errors and 1.5% are for grammar errors. On average a person writing on the second language makes around 4%-5% of errors in total. Note, a  The mechanism of requests distribution and size of each requests for UI-based product are being optimized greatly to ensure smooth experience for users and decrease the load on the servers.

...