News for hackers. Stuff that matters.
Re:Turning web traffic into a Super Computer by noahdesu on Saturday March 03, 2018 @01:14PM (#16510626)
This is a great direction for a certain class of problems, but to call this a general approach for building a super computer ignores the biggest challenge of all: communication performance.

The leadership-class super computers have large budgets for network interconnects like Infiniband, because the hardest problems require ultra low-latency, high-throughput RDMA message passing between processes.

Re:Turning web traffic into a Super Computer by xtreme on Saturday March 03, 2018 @03:43PM (#16511454)
Absolutely true. Embarrassingly parallel problems are generally not the most interesting, because you can just throw compute power at it until it is solved. Most applications running on actual supercomputers are communication bound.
Re:Turning web traffic into a Super Computer by chroem- on Saturday March 03, 2018 @04:05PM (#16511573)
I actually made this a few years ago for an ill-fated application to YC (I was still a sophomore in college).

The first big problem is that you can't trust any of the results that you receive from the workers. You can alleviate this somewhat by not accepting job results until they've been replicated by at least several other workers (lowering efficiency of the system), but then you're still vulnerable to sybil attacks.

The second issue was the total lack of privacy for the data and computations.

Re:Turning web traffic into a Super Computer by ikeboy on Saturday March 03, 2018 @07:33PM (#16512598)
Check 10% of submissions randomly - if some are wrong, blacklist that source.

You can send the checking to other nodes and check those randomly as well.

Re:Turning web traffic into a Super Computer by chroem- on Saturday March 03, 2018 @08:12PM (#16512730)
That's what you would initially think, but a clever adversary can produce arbitrarily many identities, so even if results agree, there is a non-zero chance that all of the agreeing nodes are compromised. Even if you begin blacklisting nodes, an attacker can simply spoof new ones.

So then you need a proof of work scheme to defend against sybil attacks, but even then an attacker could choose to only produce incorrect output when they detect that a quorum group is made entirely of their compromised nodes, and otherwise produce correct output. That would once again render blacklisting ineffective.

I'm not saying it's impossible, but securing this sort of browser-based grid computing scheme is a nontrivial task. And that's coming from someone who is very fond of this technology.

Re:Turning web traffic into a Super Computer by ikeboy on Saturday March 03, 2018 @08:31PM (#16512778)
Use homomorphic encryption to ensure attackers can't tell when they get the same thing twice.

IPs are not so cheap, anyway. If you have enough legitimate traffic it would be tough to spoof enough.

Re:Turning web traffic into a Super Computer by radioo7555 on Monday March 05, 2018 @06:16AM (#16520256)
IPs are very cheap. You aren't renting them for a month. You are using them for a few requests.
Re:Turning web traffic into a Super Computer by Cyphase on Saturday March 03, 2018 @10:41PM (#16513138)
You're thinking in IPv4.
Re:Turning web traffic into a Super Computer by ikeboy on Saturday March 03, 2018 @10:46PM (#16513150)
Most traffic will be IPv4, if you only use them for work you'll do ok
Re:Turning web traffic into a Super Computer by mycall on Sunday March 04, 2018 @01:05AM (#16513511)
How does Steem and Nano solve this? They much have the same problems.
Re:Turning web traffic into a Super Computer by Buge on Sunday March 04, 2018 @02:50AM (#16513704)
Neither Steem nor Nano seem to be a supercomputer with arbitrary computation.

I'm not very familiar with either of them, but Steem seems to be a non-centralized database of reddit-like posts. This doesn't seem to be offloading arbitrary computations to others like OP wants to do.

Nano also doesn't seem to be offloading arbitrary computations to others.

Ethereum does allow arbitrary computations, but it is not offloading, it is requiring every node to rerun every computation, which is obviously much less efficient than a single centralized computer doing the computation.

Re:Turning web traffic into a Super Computer by hexscrews on Saturday March 03, 2018 @04:46PM (#16511799)
Ok, this is similar to Gridcoin (https://gridcoin.io/) , Golem (https://cryptoslate.com/coins/golem/) , SPARC (https://sparc.network/) , et al. I could keep going, but the point is, something like this exists. And we are seeing the issues of what happens when you embed a program that takes advantage of processing power. You get things like Coinhive (https://coinhive.com/), which were meant to be benign, turned into botnets.
Re:Turning web traffic into a Super Computer by huhtenberg on Monday March 05, 2018 @04:42AM (#16519893)
Tangentially related - http://www.gomezpeerzone.com/

This was one of the first attempts to monetize spare CPU capacity and to build a business around massively distributed computing. It seems to be in a zombi mode now, but it was launched almost 10 years ago - https://web.archive.org/web/20080529034258/http://www.gomezp...

Re:Turning web traffic into a Super Computer by tsneed290 on Saturday March 03, 2018 @12:56PM (#16510513)
For those having trouble viewing the site: https://web.archive.org/web/20180303173013/http://ben.akrin....
Re:Turning web traffic into a Super Computer by clon on Saturday March 03, 2018 @02:04PM (#16510912)
This will only work if you can cheaply validate the work performed. Or send it to several distinct visitors and compare results, driving down the likelyhood that the results are bogus.
Re:Turning web traffic into a Super Computer by noahdesu on Saturday March 03, 2018 @02:34PM (#16511085)
good point. my hunch is that the only way would be to duplicate work and check for consensus. it seems like there isn't any way to cheaply validate results for any interesting work.
Re:Turning web traffic into a Super Computer by 0xFFFF0000 on Saturday March 03, 2018 @02:20PM (#16510995)
Something like this could be a way to get finally rid of advertisements, and help finance free services in a novel new way if the CPU isn't over committed. I thought the same around crypto mining... Many people might prefer the resource providing/computation option compared to ads.
Re:Turning web traffic into a Super Computer by Dylan16807 on Saturday March 03, 2018 @05:37PM (#16512080)
Good luck getting people to not double-dip.

Also good luck making it so I don't spend 10 cents of electricity or have my phone die early to give a site <1 cent of value.

Re:Turning web traffic into a Super Computer by redka on Saturday March 03, 2018 @07:11PM (#16512502)
> Unlike a regular computer cluster, the nodes are very ephemeral (as website visitors come and go) and can’t talk to each other (no cross site requests).

Not sure how that would actually help but they somewhat _can_ talk to each other through WebRTC. I wonder if that would change anything here

Re:Turning web traffic into a Super Computer by nukeop on Saturday March 03, 2018 @06:40PM (#16512389)
This could be a good alternative for SETI or that protein folding project but if it somehow turns into a plague of attempts to shift the computing requirements of running the backend onto the users, our content blocking lists will have to grow a little bit longer again.
Re:Turning web traffic into a Super Computer by AtomicOrbital on Saturday March 03, 2018 @12:17PM (#16510274)
opportunity here to create cloud computation platforms where people submit work which gets executed on other people's machines who are getting paid to allow their browser to contribute compute ... eventually price of AWS / google compute engine will drop ... win win
Re:Turning web traffic into a Super Computer by fwip on Saturday March 03, 2018 @01:05PM (#16510571)
The big problem I see to be solved with p2p computation is trust. In the example, the problem to be solved is "Do any of these strings hash to a known value?" An adversary can accept the job, sleep for a second, and report "Nope" and collect their payment, without ever doing any work.

In contrast, I trust that if I run code on AWS, it'll actually run the code I give it.

These are solvable problems, but important to think about.

Re:Turning web traffic into a Super Computer by archgoon on Saturday March 03, 2018 @02:00PM (#16510884)
A bigger issue than lying (and randomly failing) clients is the fact that you're farming out your users data to third parties. You might be willing to trust a single entity like Amazon, Microsoft, or Google, who have a reputation to maintain / can be sued (for potentially a lot); but if your farming out to essentially anonymous individuals, there's no repercussions for, say, using their credit card information.

Now, there are definitely use cases where you don't care; which would be a cool application for this; but unless we figure out how to do homomorphic computing, this doesn't seem immediately likely to impact cloud computing prices; even if it was cheaper to simply use excess compute capacity (which I'm not convinced it is).

Re:Turning web traffic into a Super Computer by cercatrova on Saturday March 03, 2018 @02:10PM (#16510938)
This is what Golem cryptocurrency does, with the trust protocol in place through the blockchain [1]

1. https://golem.network

Re:Turning web traffic into a Super Computer by matte_black on Saturday March 03, 2018 @12:30PM (#16510364)
Keep dreaming.
Re:Turning web traffic into a Super Computer by bob_theslob646 on Saturday March 03, 2018 @12:32PM (#16510373)
Why should we keep dreaming?
Re:Turning web traffic into a Super Computer by matte_black on Saturday March 03, 2018 @12:40PM (#16510431)
AWS at least already has very cheap ways to get compute time if you don’t particularly care about having uniform availability of it in the form of spot instances.

The economics of people letting you use their browser doesn’t make sense. The pay is crap and the time when they are browsing is exactly when they would not want their computer doing a bunch of background processing. You’re better off letting people rent out their CPU time through a dedicated application when they are not using it. And remember electricity is not free.

Even then, it’d be tough to compete with AWS on pricing considering its spot instances do exactly this, even letting you bid for what you want to pay.

I should have explained this in my original post, but I figured it was obvious.

To suggest a solution: don’t offer payments at all but maybe instead gameify CPU time donation somehow. Maybe then you’ll have a better chance, but potentially less participation, unless people are donating to charitable causes. Either way it’s not going to do anything to affect AWS or Google Compute prices. Creating an entire startup just for the goal of getting some reduced prices on the actual compute platforms you want to use is madness. Just pay the money.

Re:Turning web traffic into a Super Computer by NegativeLatency on Saturday March 03, 2018 @01:07PM (#16510580)
Seti@home has been doing this for years
Re:Turning web traffic into a Super Computer by bradknowles on Saturday March 03, 2018 @03:02PM (#16511260)
I was thinking of that exact use case — could this be a modern alternative that might get even wider distribution due to lower barriers to entry?
Re:Turning web traffic into a Super Computer by sosborn on Saturday March 03, 2018 @01:12PM (#16510622)
Almost 20(!)
Re:Turning web traffic into a Super Computer by matte_black on Saturday March 03, 2018 @01:40PM (#16510770)
Yup
Re:Turning web traffic into a Super Computer by ryanlol on Saturday March 03, 2018 @01:53PM (#16510850)
>AWS at least already has very cheap ways to get compute time

No it does not. AWS and "very cheap" simply don't belong in the same sentence.

Re:Turning web traffic into a Super Computer by matte_black on Saturday March 03, 2018 @02:56PM (#16511220)
Compared to what? Useless to compare anything without numbers.
Re:Turning web traffic into a Super Computer by ryanlol on Saturday March 03, 2018 @04:38PM (#16511750)
Compared to what? The compute market in general.

AWS is a premium provider charging premium prices, they've essentially priced themselves as the most expensive provider on the market. It feels insane to describe them as "very cheap".

You might as well be calling a Bugatti Chiron "pretty cheap".

Any datacenter provider will be able to sell you compute time at a fraction of the cost of EC2. Look at OVH for example.

Re:Turning web traffic into a Super Computer by matte_black on Sunday March 04, 2018 @08:00AM (#16514553)
Spot instances are insanely cheap, not talking about EC2.
Re:Turning web traffic into a Super Computer by ryanlol on Sunday March 04, 2018 @12:09PM (#16515406)
EC2 spot instances are still EC2.
Re:Turning web traffic into a Super Computer by matte_black on Sunday March 04, 2018 @09:06PM (#16518176)
But cheaper.
Re:Turning web traffic into a Super Computer by zappo2938 on Saturday March 03, 2018 @12:39PM (#16510427)
>If you have built castles in the air, your work need not be lost; that is where they should be. Now put the foundations under them.

Henry David Thoreau

Re:Turning web traffic into a Super Computer by king07828 on Saturday March 03, 2018 @01:01PM (#16510545)
Seems like getting a Linux kernel and a LAMP stack running on this would be a good first step. The technical challenge of doing it sounds fun and interesting. The real payoff may be when a billing and payment system is able to consolidate billing from processing clients and to distribute the payments to the owners of the processing clients based on the work performed
Re:Turning web traffic into a Super Computer by king07828 on Monday March 05, 2018 @01:38PM (#16523208)
Why did the parent get downvoted?
Re:Turning web traffic into a Super Computer by antoineMoPa on Saturday March 03, 2018 @05:56PM (#16512200)
I should code a fractal renderer that combines the work of many clients...
Re:Turning web traffic into a Super Computer by WalterGR on Saturday March 03, 2018 @02:45PM (#16511163)
What are the performance numbers for work distributed like this?