What architecture should I use so as not to accidentally create a DDoS on a web service?
-
The system would serve as a middware between the client and the web service. The aim is to throttle the rate of web service requests that we are generating. Requirements: 1) Scalable to handle a large number of incoming requests from the client asynchronously. 2) Scalable for the number of different web services it can connect to. 3) Load balancing across nodes. 4) Throttling the rate of requests made to the web services. Possible solution: Gearman Problem: Requirement 4 is not solved by gearman as we cannot control the rate of requests made by a particular worker for a particular service. Use case: The client gives me a file containing URL's (6-7 million) from which some data is to be downloaded. I have a gearman cluster set up which provides this functionality. However, all workers start sending download request simultaneously to the web service, hence, creating a DDoS.
-
Answer:
Ddos is a very capital intensive operation. So until you are fb or yahoo, you should be pretty safe.
Pan Kaja at Quora Visit the source
Related Q & A:
- How do I forward gmail raw email to a web service?Best solution by email.about.com
- What colors should i use for a project of architecture?Best solution by Yahoo! Answers
- What book should I use to teach playing on a bass guitar?Best solution by Yahoo! Answers
- What licenses would I need in order to start up a restaurant or general delivery/courier service?Best solution by Yahoo! Answers
- What monitor can I use with a mac mini?Best solution by eHow old
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.