News for hackers. Stuff that matters.
Re:Is it possible to host Facebook on AWS? by ryandvm on Wednesday June 28, 2017 @07:17PM (#14659429)
I suppose the reason Facebook doesn't resell their infrastructure is because their endgame is to _be_ the internet. From their point of view, any site you're on that isn't Facebook is their competition.
Re:Is it possible to host Facebook on AWS? by matchagaucho on Wednesday June 28, 2017 @07:39PM (#14659560)
FB open sourced their infrastructure. Anyone can lift these designs and build their data centers using identical specs.

http://www.opencompute.org/wiki/Server/SpecsAndDesigns

Re:Is it possible to host Facebook on AWS? by unclebucknasty on Wednesday June 28, 2017 @08:20PM (#14659772)
I think both points are true: FB does want to be the Internet, but they also realize that the path to that endgame lies in capturing (and driving) behavior, not in building infrastructure.

The latter is just a necessary tool. But, you're not going to threaten FB 's mission by simply building out an identical (or even superior) infrastructure. So, there's virtually zero-risk to them in open-sourcing it.

Re:Is it possible to host Facebook on AWS? by jsmthrowaway on Wednesday June 28, 2017 @08:08PM (#14659697)
...which gives you a moderately-expensive pile of laser-focused hardware and nothing to run on it. Far less than half the infrastructure story.

(Not that I'm criticizing Facebook. Open-sourcing code is hard -- see Borg.)

Re:Is it possible to host Facebook on AWS? by EGreg on Wednesday June 28, 2017 @08:31PM (#14659813)
Nothing to run on it??
Re:Is it possible to host Facebook on AWS? by jsmthrowaway on Wednesday June 28, 2017 @10:13PM (#14660260)
Correct. "Infrastructure" means a lot of things. You don't get Tupperware, their scheduling and resource management infrastructure, most of their logging infra, most of their monitoring infra, operating systems for the whitebox hardware, even power and facilities management for the OC stuff... I could go on. They are quite good about releasing open source, which is why I was careful to point out that I'm not criticizing Facebook; open sourcing this stuff is really hard, because internal software develops tendrils to other internal things that you often don't want to open source.

The point was that yes, Open Compute exists, but its existence is only partially relevant when one claims that Facebook has opened their "infrastructure." The two sentences in GP are basically what I'm responding to -- mainly the verbatim "FB open sourced their infrastructure" -- and I guess the implied context of Facebook infrastructure was lost when I said "nothing to run on it," sorry. I meant Facebook code. So this is clear: Open Compute is good, and I'm appreciative of Facebook, just want to make sure we understand what "open infrastructure" means and its limitations in this case.

Re:Is it possible to host Facebook on AWS? by EGreg on Wednesday June 28, 2017 @11:36PM (#14660575)
Isn't there any software that would let you run your own social network like facebook on that hardware?
Re:Is it possible to host Facebook on AWS? by daxfohl on Thursday June 29, 2017 @12:10AM (#14660697)
Sure, you could write a social network app (or any other server-side app) and run it on that hardware. It just wouldn't take advantage of any of the Facebook-specific features on that hardware. So you'd be paying for a lot of stuff you're not using. For Facebook, it's more valuable to use it as Facebook hardware than to rent it out as generic servers, because Facebook actually uses all its proprietary features.
Re:Is it possible to host Facebook on AWS? by water42 on Wednesday June 28, 2017 @10:19PM (#14660296)
>anyone
Re:Is it possible to host Facebook on AWS? by coryl on Wednesday June 28, 2017 @07:53PM (#14659625)
Maybe, but I think Facebook understands that great products attract users, not scalable/speedy infrastructure.
Re:Is it possible to host Facebook on AWS? by notacoward on Wednesday June 28, 2017 @08:43PM (#14659861)
That's not entirely accurate. Page-load time has a significant effect on user retention. Yes, it's important to have a great product, but being fast is part of being great.
Re:Is it possible to host Facebook on AWS? by bedros on Wednesday June 28, 2017 @07:27PM (#14659487)
That's exactly why only a fool will use reactjs in their web design, because FB will put you out of business and if you sue them for infringing your patents, your reactjs license is revoked
Re:Is it possible to host Facebook on AWS? by goo on Wednesday June 28, 2017 @08:15PM (#14659741)
To be clear: reactjs uses the 3 Clause BSD license. https://github.com/facebook/react/blob/master/LICENSE

It's incredibly permissive (nearly the same as the MIT license), and does not allow for the concept of having it "revoked".

Re:Is it possible to host Facebook on AWS? by dgfgfdagasdfgfa on Wednesday June 28, 2017 @07:30PM (#14659503)
That's exactly why only a fool would build their software product around patent protection.
Re:Is it possible to host Facebook on AWS? by notheguyouthink on Wednesday June 28, 2017 @08:05PM (#14659677)
I see lots of down voting on this person, but not many replies. Is there truth to this comment? Is React licensing something companies should avoid?
Re:Is it possible to host Facebook on AWS? by dkn on Wednesday June 28, 2017 @09:14PM (#14659997)
Re:Is it possible to host Facebook on AWS? by jacquesm on Wednesday June 28, 2017 @09:00PM (#14659929)
Not a fan of FB here. That comment is nonsense. It is completely unthinkable that Facebook would do this.
Re:Is it possible to host Facebook on AWS? by beagle3 on Wednesday June 28, 2017 @10:52PM (#14660419)
> It is completely unthinkable that Facebook would do this.

Facebook is a (among many other things) a software company, and software companies do warfare with patents. It might be their least favorite weapon, one they have yet to use - but "unthinkable" can only refer to your beliefs -- it is actually extremely thinkable, even if at this point in time improbable.

Re:Is it possible to host Facebook on AWS? by jacquesm on Wednesday June 28, 2017 @10:56PM (#14660431)
The lifetime of JS frameworks is so short that this is not a realistic concern, beyond that the license makes it impossible. Sorry but this is not a scenario that will play out in some way that you'd have to be worried about it when evaluating your choices today.
Re:Is it possible to host Facebook on AWS? by beagle3 on Wednesday June 28, 2017 @11:13PM (#14660488)
For react, you are probably right.

I'm really concerned about zstd working its way into some future de-facto standard file format, though - I think the name "zstd" is marketing genius (of the evil kind).

Re:Is it possible to host Facebook on AWS? by bedros on Thursday June 29, 2017 @12:26AM (#14660765)
if you're a threat to FB, the unthinkable will happen.
Re:Is it possible to host Facebook on AWS? by jacquesm on Thursday June 29, 2017 @05:34AM (#14661879)
If you're a threat to FB you:

(1) can afford to roll your own framework

(2) can afford the lawyers required to point out that this doesn't hold water

Re:Is it possible to host Facebook on AWS? by bedros on Thursday June 29, 2017 @03:29PM (#14666174)
totally true, if you're google, however if you're a startup, and build your platform on react, it would be really hard to switch to other platform once you have million of lines of code.
Re:Is it possible to host Facebook on AWS? by zepolen on Wednesday June 28, 2017 @07:30PM (#14659507)
I didn't know this, this needs to be more well known.

How does this affect libraries like preact?

Re:Is it possible to host Facebook on AWS? by chc on Wednesday June 28, 2017 @08:04PM (#14659675)
It's not accurate. Facebook offers a blanket patent license with React, and the patent license (not the software license — just the patent one) terminates if you sue Facebook for patent infringement. And of course, if you sue them for any other reason, nothing happens at all. And even if the patent license is terminated, AFAIK React isn't known to be patent-encumbered.

Acting like this is some landmine that allows Facebook to just put anyone they dislike out of business is ridiculous. Other JavaScript frameworks like Angular and Ember don't even include patent clauses, so even if Facebook revokes the patent grant, that leaves you in the same position that you're in by default with Angular. The license even specifically allows you to counter-sue Facebook if they already have a lawsuit against you.

Re:Is it possible to host Facebook on AWS? by jacques_chester on Wednesday June 28, 2017 @09:58PM (#14660191)
I think the cause of the complaint is that if they wanted these things in a license, they could've used Apache 2 and been done with it.

Any confusion that arises from deciding to depart from well-understood licenses is fairly laid at their door, in my view.

Re:Is it possible to host Facebook on AWS? by chc on Wednesday June 28, 2017 @10:40PM (#14660367)
Apache 2 is somewhat less permissive than Facebook's choice of BSD + patent grant. I agree that people probably wouldn't have been able to spread the FUD so successfully if they'd gone for a more conventional setup, but the licenses are short (probably shorter than Apache combined) and pretty clear. It feels pretty unfair to say "Facebook's open source dev team deserve to have their names run down because they chose more permissive license terms than we're used to."
Re:Is it possible to host Facebook on AWS? by beagle3 on Wednesday June 28, 2017 @11:10PM (#14660479)
> Acting like this is some landmine that allows Facebook to just put anyone they dislike out of business is ridiculous.

That's true; however,

> React isn't known to be patent-encumbered.

That's a useless assertion. Many patents only become known once the lawsuits start. Facebook has amassed a patent portfolio, and patents are a legal instrument that can only be used offensively.

Re:Is it possible to host Facebook on AWS? by chc on Thursday June 29, 2017 @01:44AM (#14661047)
Sure, but none of that makes it a useless assertion. I'm not saying React is a magic shield from lawsuits — I'm saying that React doesn't appear to be any more dangerous in this regard than the majority of open-source software. You could validly express the same concerns about nearly anything.

Remember, the claim I was disputing was that "only a fool will use reactjs" because the patent license is conditional. All I'm saying is that I don't see any reason to be more concerned about React than, say, Angular.

Re:Is it possible to host Facebook on AWS? by madeofpalk on Wednesday June 28, 2017 @07:37PM (#14659550)
It is rather well known but it's mostly FUD.
Re:Is it possible to host Facebook on AWS? by bedros on Thursday June 29, 2017 @12:22AM (#14660742)
for those who downvoted me, can you explain why I'm wrong,

Would you believe that Apple today would use react in their products?

What would Steve Jobs say to someone who suggests using react in apple software/saas?

downvoting on HN is being abused here, just because someone is a big fan of reactjs and disagrees with me, they automatically downvote a valid opinion based on facts.

see for yourself, from react patent clause "The license granted hereunder will terminate, automatically and without notice,"

https://github.com/facebook/react/blob/master/PATENTS

Re:Is it possible to host Facebook on AWS? by spicyj on Thursday June 29, 2017 @01:00AM (#14660896)
Yes, Apple is known to use React.

If you are in doubt, the license that could terminate is just the patent grant. The copyright license would remain in effect.

Re:Is it possible to host Facebook on AWS? by chc on Thursday June 29, 2017 @01:57AM (#14661097)
I explained how you're wrong here: https://news.ycombinator.com/item?id=14659675

The TL;DR is: "That is just a patent license, and most OSS doesn't even include a patent license at all, so it seems weird to be super-concerned in this case in particular."

Re:Is it possible to host Facebook on AWS? by bedros on Thursday June 29, 2017 @05:02AM (#14661750)
Thanks for the reference ,but I read your earlier comment

here's the issue when picking reactjs vs others (like vuejs)

Choice A. by picking reactjs I'm in a clear violation of FB patents, but I'm covered as long I don't sue FB.

Choice B. by picking others (like vuejs), I may or may not be violating FB patents, (virtualDOM has some prior art, as some people claim)

why it's so hard for people to understand that "May or Maynot" is a better choice of "definitely" violating FB patents in case I need to sue FB if they are killing my business by copying my patents.

I know that suing for patents is not best business model. But, having that weapon (even defensively) is better than not having one.

still people downvote for gray areas?

Re:Is it possible to host Facebook on AWS? by vonmoltke on Thursday June 29, 2017 @08:52AM (#14662838)
You're being down voted because this core bit of your position is a load of crap:

> Choice A. by picking reactjs I'm in a clear violation of FB patents

Please tell us what Facebook patents one is "violating" by using React.

Re:Is it possible to host Facebook on AWS? by bedros on Thursday June 29, 2017 @03:15PM (#14666080)
all tech companies file patents to protect their cutting edge technology, so it's common sense FB has patents on react.

your argument of where are the FB patents on react is an example of your naivety

my position all along has been, using other libs than react is LESS likely to violate FB patents, and thus gives more freedom to compete with FB. if that's your definition of load-of-crap, well, that's not my definition.