java - Mechanism to prevent "flood" for a websocket -
i writing web application makes intense use of websockets (standard jsr implementation).
through websocket exchange information.
a client sends request (json) server, server decodes message , sends info (json).
how can avoid maliciously client flood server requests. example want limit number of requests @ 10 every 5 seconds (what mean request json message client sending in order information).
is there built-in-way of doing or have write own mechanism ?
Comments
Post a Comment