I need Simple One Textbox with one button in MVC 4/5 , C# .Net and very important using WEB API, has the following:
if user enters any wrong words like hellllo worb, kjkjsdhfkjsdfkhsdfhskdfhdf, 231231231232131232131, its just an example then functionility,
which will Send a JSON-encoded string representing a comment to a Web API endpoint dedicated to checking strings for basic English words from a small dictionary containing at least 25,000 words. Also allow "words" consisting purely of digits.
Receive back from the service a JSON-encoded object containing the results of the validation call.
Status: Success or Fail.
InvalidWords: list of invalid words found
and be able to run a benchmark test indicating how long it takes to do the following:
Process 20,000 comments simultaneously according to the following 9 configurations:
- 100 chars long, error-free
- 1000 chars long, error-free
- 10,000 chars long, error-free
- 100 chars long, one word wrong
- 1000 chars long, one word wrong
- 10,000 chars long, one word wrong
- 100 chars long, all words wrong
- 1000 chars long, all words wrong
- 10,000 chars long, all words wrong
Note: this is to help ascertain how it will handle high load for 7500 concurrent users from both processing of uploaded error correction templates and via - - client or post-back server.
1- 7500 users all posting from the retention tables having all errors at once: 13 tables x 20 fields x 5 errors = 1300 comments
2- Processing uploaded files (Streaming) from 7500 concurrent users with server coincidentally hitting a comment row at the same time for each = 7500 comments
3- Doubled and rounded up for good measure
4- Total = (1300+ 7500) x 2 = 17600, rounded to 20,000
Hello, I have worked with multi-threaded applications and I have even developed simple HTTP server. There is a pattern how this should be done in .NET. Regards, Dejan