What is the point of WCF MaxReceivedMessageSize -


Only when we see the information of this value appears to be a service because the price is very low, the quick way to fix it To set up a large number. Then there is no problem.

What I was thinking about, is there any negative device to set this value high?

I can see that this could possibly give some protection from the denial of service attack, but is there any other function?

This helps reduce stress on your WCF server. If you allow 1'000 connections, and each connection is allowed to send 1MB of data - you probably need 1GB RAM in your server - or there may be many swapping / garbage.

The limit of the message size (and the concurrent connection / call limit) helps in keeping RAM usage (and even CPU usage) at that handle level.

It depends on your server,. If you have a core CPU and 4GB or RAM, then you probably will not be able to handle a lot of traffic as you have 16-way CPU and 32 GB RAM or higher, with different settings including MaxReceivedMessageSize, you can set your WCF The environment can turn into the capabilities of its underlying hardware.

And of course, as you already mentioned: many settings are kept closed in WCF or a low value specifically malicious users shut down their servers with the Duo attack. To stop and stop it.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -