The idea is purely hypothetical, but it seems to me quite realizable. I am not an expert in Flash technology, but what if I set up a network for distributed computing using advertising banners?
For implementation you need a fairly large banner network or a visited site. For example, having a thousand people online who have an advertising (or hidden) banner loaded we
we can easily use some of the resources of their computer.
The scheme of work is as follows:
- The banner is loaded into the browser and requests a piece of data for calculations.
- Data processing.
- Sending to the server and requesting new data.
Naturally, we have a number of obstacles, and specifically:
- Users rarely spend much time on the same page. In this regard, it is necessary to place our application on pages with a large amount of information, where the user is delayed longer.
- Quite often there will be a situation when a portion of the data is given but the result was not returned for one reason or another (closing the page for example). In this case, it makes sense to break the task of the part as much as possible. That is, send the minimum useful amount of data for calculations. You may also have to check the channel width and hardware resources of the computer, etc. followed by recording the class of the machine in cookies (not sure about this item).
- User consent. This item, in principle, on the conscience of the owners of the system.
')
Classes of client machines can be estimated based on free memory, channel width, load, etc. I am not sure at this point because I did not work with technology and all the arguments are purely hypothetical. Using Java, all this is really done, but here we are faced with other problems, which is already beyond the scope of the article.
Next, go to the server side. It usually consists of both a database and a task manager.
We will not talk about the base because its structure is highly dependent on the tasks to be solved. Task Manager can be implemented in any convenient programming language but preferably C # or C ++ due to higher application performance.
All of the above are just thoughts. I do not know whether such systems work in reality. Although sometimes seeing as another advertising flash drive bites off 50% of the CPU time you start to think, but this is more likely due to the curvature of the developer, but who knows.