This company's traffic accounts for 1/3 of the global Internet, and its technology is awesome!

Which company has the most traffic in the world?

What is the first one that comes to your mind?

Is it Google or Facebook, or Amazon?

Little A poked his head out: Headlines, Douyin takes up so much time for me

image

I want to say, neither!

It's called Netflix, and the Chinese name is " Naifei "

Moreover, it is more than 20 years old.

image

Perhaps, this answer makes you a little suspicious. Where can such a large amount of traffic come from a company that has never heard of its name?

However, it doesn't matter, the name hasn't been heard, but you must have seen the American TV series it produces.

Yes, this is it, the Douban high-score American drama "House of Cards"

image

So, I am also curious, what kind of company is Netflix?

1997

The company was founded. Netflix was just a DVD rental company at the beginning. The rent was only 50 cents at the beginning, and the longest rental period was 7 days. The key was to provide free delivery.

This is the most original website. A video library with about 900 content has been launched on the website

image

Year 1999

Netflix's video library has expanded to 3,100 content and has begun to announce its new subscription model. The initial price of the subscription plan is $15.95, allowing Netflix members to rent 4 movies at a time, regardless of the return date.

2000's

The content in the Netflix video library has reached 5,200, and the late fee and return date have been abandoned, and a monthly subscription plan of 19.95 US dollars has been adopted instead.

2007

Streaming video became the mainstream, and DVD was replaced. Netflix launched its online streaming service Watch Now, which has 1,000 content when it launches and is included in a physical DVD subscription plan of $5.99 per month for free.

In the end, Netflix slowly evolved into a video company, offering subscription services ranging from $7.99 to $11.99 per month, using a single model of'All-you-can-eat', and having 81 million subscribers worldwide, of which The United States exceeds 46 million. At the beginning of 2016, Netflix has just achieved globalization, which means that in any corner of the world, except for China and a few countries, you know, you can subscribe to the Netflix service and watch massive videos.

image

In addition, this company, which occupies more than one-third of the Internet download traffic, its services are completely hosted on AWS and does not have its own basic hardware facilities, which means that as long as AWS blows up, it will kneel down.

Therefore, the introduction of Netflix today is not because of how good the videos it provides, but because of its awesome technology and its contribution to open source.

Open source contribution

In the open source world, Netflix has contributed very much. Its open source project is called Netflix OSS (aka Open Source Software). On its own github homepage, there are the following open source projects

  • Common Runtime Services & Libraries(e.g. Eureka, Ribbon, Hystrix)

  • Big Data (eg Genie)

  • Build and Delivery Tools(e.g. Asgard/Spinnaker)

  • Data Persistence(e.g. EVCache)

  • Insight, Reliability and Performance(e.g. Simian Army)

All open source projects have projects on github, and can fork, you can check through this link: https://github.com/Netflix

product description

Hystrix

https://github.com/Netflix/Hystrix Star 18000+ Although it is no longer maintained, it used to be brilliant.

Hystrix is ​​for distributed systems, providing delay and fault tolerance functions, isolating remote systems, access points and third-party library access points, preventing cascading failures, and ensuring that complex distributed systems are still resilient in the face of inevitable failures .

image

Netflix said that in a distributed environment, some services will inevitably fail. The Hystrix library is designed to control the correlation between greater tolerance and service failure in distributed services. Hystrix prevents cascading failures by isolating access points to remote systems, services, and third-party libraries, thereby making complex distributed systems more resilient.

Falcor

https://github.com/Netflix/falcor Star 9000+

Falcor is an efficient JavaScript data scraping library.

Falcor is a data middleware between the client and the server. It represents the domain model of the entire application through a virtual JSON object, and abstracts out the three operations of get, set and call, so that the application can be read in a consistent way Write the data of the domain model without paying attention to the source of the data. In addition, falcor also provides the functions of caching, bulk packaging and deduplication, thereby reducing the number of network requests and round trips, as well as the storage and transmission of redundant data.

SimianArmy

https://github.com/Netflix/SimianArmy Star 7000+

image

The Simian Army is a large force composed of various monkeys and orangutans. The most famous one is Chaos Monkey, which is the chaos-producing monkey. This is the arrogant and thin little monkey below.

image

What is this monkey used for? Among the dependencies of all services, it randomly selects a few downstream services each time, and directly kills it to see if the output of Netflix as a whole is still in line with expectations. Of course, Hystrix needs to be relied on in this process.

There are a bunch of similar monkeys in the project I did.

Eureka

https://github.com/Netflix/eureka Star 8000+

Eureka is a service discovery framework developed by Netflix. It is a REST-based service and is mainly used to locate middle-tier services running in the AWS domain to achieve load balancing and middle-tier service failover. SpringCloud integrates it in its sub-project spring-cloud-netflix to realize the service discovery function of SpringCloud.

Spinnaker

https://github.com/spinnaker/spinnaker Star 6000+

image

Spinnaker is a continuous delivery platform that is positioned to quickly and continuously deploy products to multiple cloud platforms. Spinnaker main features: configure once, run at any time; deploy anywhere, centralized management; open source.

Zuul

https://github.com/Netflix/zuul  Star 7000+

Zuul provides edge services such as dynamic routing, monitoring, resiliency, security, etc., which is equivalent to the front door for all requests on the device and the back-end of the Web site of the Netflix streaming application, and can appropriately route requests to multiple Amazon Auto Scaling Groups.

Excellent project, there are many...

Which companies are using Netflix products?

https://netflix.github.io/powered-by-netflix-oss.htmlimageimage

In fact, there are more companies used than these, but they are not included in the statistics.

end

About Netflix, there are actually many things to learn, including business model, company culture, etc., but this is not within our technical scope, and interested students can continue to learn about it.

Recently, Netflix engineers published a book called Chaos Engineering, which is Chaos Engineering.

At first glance, most people probably know what it means.

In fact, this is a new field, and chaos engineering is an emerging technical discipline. His original intention was to build confidence in the ability of complex distributed systems to withstand emergencies in production through experimental methods.

As long as you have the experience of actually running a distributed system in a production environment, you should know that all kinds of unexpected events will definitely happen. Distributed systems inherently contain a large number of interactions and dependencies, and there are countless places that can go wrong. We can keep enumerating some components such as hard disk failures, network failures, and traffic pressure. This is a common thing that we face every day, and if it is not handled well, it will lead to business stagnation, poor performance, or other unexpected abnormal behaviors.


Guess you like

Origin blog.51cto.com/15009384/2562464