Browse Author

Donald Godby

Closer Look at the Facebook’s Insane Hardware

like facebook infrastructure

Facebook needs powerful infrastructure to support numerous activities that users engage in, as well as enormous content in the form of photos, videos and text.

The social networking site’s infrastructure is capable of supporting additional photos, videos and texts that both existing and new users upload every day, as well as activities that Facebook users engage in during the day and at night.

In order to support all the numerous activities as well as massive content, the company has constructed four data centers. It is currently putting up two more infrastructural facilities. Additionally, Facebook leases extra server space from providers of data centers both inside and outside the USA.

The company’s extensive network of storage centers and servers seamlessly work together to satisfy the needs of all users of the social networking site.

Are you aware that before your Facebook homepage becomes available, the system must access hundreds of servers, process huge amount of data and then deliver the desired results within a second?

During the initial stages, when the company still had no personal server farms, it used to manage its physical infrastructure by renting data center space on wholesale from third parties. However, it stopped renting data center space many years ago.

It developed extremely powerful internal-data-center engineering capacities that are used to support one of the most extensive data center portfolios in the world.

Location of Facebook’s hardware

The company constructed its first data center in Prineville. This enabled Facebook to have greater cooling capacity as well as superior customization of power.

The giant social networking site has put up other state of the art data centers in Forest City (N. Carolina), Altoona (Iowa) and Lulea (Sweden).

Other infrastructural facilities are being up in Forth Worth (Texas), Los Lunas (N. Mexico) as well as Clonee (Ireland).

How large is the physical facility at Oregon?

As more and more people join Facebook, the infrastructural requirements grow in equal proportion.

Initially, structural engineers had planned that the Oregon Data Center would be 147,000 sq ft in size. When construction got underway, a strategic decision was made to add an extra 160,000 sq ft. As a result, the facility became 307,000 sq ft in size.

In the year 2015, the company secured requisite permits to construct another humongous facility in Prineville. When complete, the data center will be 487,000 sq ft in size.

The type of servers used by Facebook

Servers used by the giant social networking site are powered by Intel and AMD chips. The chassis and motherboards were (and still are) specially designed and constructed by Quanta, a Taiwanese company.

In the recent past, Facebook experimented with servers powered by ARM. According to a renowned engineer who previously worked for the social networking site, FB ads spy tool, paints, bezels and any other unnecessary components are usually eliminated.

Power supplies and cabling are fixed at convenient locations to enable employees work in perfect environment.

The servers consist of specially-made power supplies which allow the use of 277V alternating current, rather than the normal 208V.

Electric power enters the system at 400/ 277V and directly goes to the servers. Since it passes through customized power distribution units and UPS systems, the power by-passes the step-down process that many data centers consist of. Delta Electronics and Power One (companies based in Taiwan and California respectively) were responsible for building the power supplies.

Facebook chose to install UPS units on its servers, instead of batteries. Each UPS system contains twenty batteries, with 5 strings of forty-eight Volt direct current batteries.

The power supplies comprise of two connections. One is for direct-current based Uninterrupted Power Supply, while the other is for alternating-current utility power. Additionally, systems have been put in place to manage current irregularities as well as surge suppression.

The number of servers used by Facebook

The giant social networking site doesn’t clearly state the number of web servers that support its infrastructure.

Related: Why Small Businesses Should You Facebook For Advertising

In the years 2008, 2009 and 2010, Facebook was running approximately 10,000, 30,000 and 60,000 servers respectively.

Today, the social networking site runs hundreds of thousands of serves. According to the latest report that Facebook submitted to the Securities Exchange Commission, it owns network equipment worth 3.36 billion US dollars.

Is Facebook’s infrastructure in Sweden different from the others?

The infrastructure in Sweden is substantially different from the others. The number of generators was reduced by 70% because the power grid that serves the region is extremely reliable.

Using fewer generators significantly reduces the effects that the infrastructure has on the surrounding environment. The amount of fuel that is stored on site is less. Additionally, the emissions resulting from testing of generators is very little.

Hardware Requirements For YouTube Video Recording And Streaming

youtube recording video

It has become quite popular to stream and record YouTube videos and some people operate their YouTube channels just like conventional TV channels. In order to stream YouTube videos, you need various types of software ranging from encoders to recorders and clip convertors.

You also need proper hardware that will allow you to create the video, connect to the internet and run the software applications. If you are planning to record and stream YouTube videos, some of the hardware requirements to think of include the following;

1. Powerful computer (preferably PC)

It is still possible to stream and record from a laptop computer but it is often advisable to use PCs are they are more suited for the purposes of broadcasting and streaming media.

You must be able to run the software applications and upload your videos to YouTube or stream directly to your channel.

This requires a computer which is the most convenient device to connect to the internet on a wide screen. Ensure your computer has recent upgrades and is compatible with most modern software applications.

It should have sufficient RAM (4GB and above) as well as disk space as streaming/recording takes up lots of space.

Most recent design PCs should be able to achieve the feat.

2. Video recorder/camcorder

In order to stream YouTube video, you need to generate the clip or video. Streaming is a little different from uploading since the latter gives you a chance to finish editing before you upload it online. Streaming involves rendering the clip in real time.

However, you can still edit a full video and then stream it whenever you like. In fact, this is the common practice that makes YouTube streaming a little different from the direct broadcasts from the TV sets and boxes. Find a powerful video recorder or camcorder to capture your videos and clips.

Might interest you: Learn PHP the easy way

There are several camcorder models in the market and finding one should not be an overwhelming task. Simply make sure the settings, capacity and features and top quality to produce premium video clips.

3. Hardware encoders

Although you can use software encoders to convert data and media from original format to one that can be streamed live in YouTube, it is still recommendable to invest in hardware encoders. These are basically devices using defined algorithms to convert media to a format that can be streamed.

The video quality is often preset and there is little you can do to change this. While there are no free hardware encoders like you can find free software counterparts, some are as low as $100.

What’s more, hardware encoders are designed specifically for encoding making them very fast and efficient.

They do not rely too much on your computer’s processing power like software.

4. Microphone and audio setup

You can always use the in-built device microphone found in your smartphone and video camera. However, YouTube video live streaming and recording requires the microphone to be as close to the presenter as possible. What this also influences is whether or not you have to purchase YouTube subscribers or you’ll get them for free the natural with legitimate ways of getting YouTube views. It may be necessary to invest in an external microphone instead as this will help you capture high quality sound from your presenters.

The external microphones should be routed to an audio mixer before being fed into your computer, the camera or hardware encoder.

5. Capture and conversion hardware

Even with software encoders, you may still need a card or capture box to convert and digitize the video signal to a format that can be recognized by the encoding software.

However, those using a built-in camera in their smartphone or computer, a dedicated encoding hardware or USB camera will not have any need for additional capture device.

6. Internet connection hardware

Whether you choose Wi-Fi, Ethernet or LAN, you will need a few hardware elements to help you connect to the internet. You may need to invest in LAN and Ethernet cables and/or Wi-Fi routers depending on what you are using to connect to the internet.


Live streaming and recording YouTube videos basically involves 5 main areas that may have hardware demands. These include the camera (for video signal), microphone (audio signal), capture and conversion, Encoding and Internet connection.

In these five areas, you may need to buy one or two hardware components.

It is important to remember that each category is crucial for successful streaming. Low-level computers and weak internet connection for instance will result in poor or no streaming at all.

Checking issues of bandwidth and connection speeds are also of prime concern when buying your internet connection hardware.

Ideas To Accelerate Your Site Today

Everybody loves an awesome little running animation? But when that divot continues two or greater than a minute, it just gives focus on the truth that the web site is running slowly. And that’s a web site killer.

Customers assume sites to load efficiently and quickly. It’s your work to make sure that the look isn’t just visually attractive but additionally 100% functional. If your website is pulling significantly, you are able to stop worrying at this time since we’ve eight ideas to help your site speeds up with little adjustments for the design.

(ensure that you visit each one of the sites displayed within the article; they look fantastic and weight lightning fast.)

Be Mindful with Animations

Cartoon in site design is among the “it” styles of 2015. Making huge documents that only won’t weight left out Don’t. While you start dealing with this kind of impact begin with smaller lively details once you have a great sense for they work and operate with your general site construction and move ahead to larger animations.

sample animations

The important thing to animations isn’t launching a lot of movie files to your site. Small the cartoon, the simpler it’s to produce anything having a small footprint. Where would you begin?

Optimize Images

Using retina shows open to customers and the quantity of HD, you may be tempted to fill all of your pictures as full-size at high res when you’re creating your site. Don’t fall under this trap. Many of these images are most likely far too big for the website to deal with efficiently.

Use Code Where Feasible

You may be tempted to produce a couple of pictures and great designs being an individual component for the site and fill each. This could cause some problems. Alternatively, use code when possible to contact these factors.

Use CSS to load background images aswell. This can “force” your website to fill anything else in front of the history, so customers can begin viewing text and different components on the webpage immediately. W3Schools includes a wonderful, and easy guide for just how to do that.

Keep Videos Short

Another stylish website design component is utilization of full screen movie in your website. This is often another load-time capture. You’ll end up trapped between velocity, video information and video quality and can need to create a compromise somewhere.

The very best movies are super-short – a couple of cycle and moments – so the motion doesn’t stop. You don’t have to contain other or noise effects.

Take Into Account The Concept

Understand that not all styles are made the same if you should be using WordPress or another information management program having a concept. As you will probably have significantly more chance having a premium choice – a number of which allow you to “turn off” unused components – have a close consider the signal and develop to ensure that’s not finished that’s bogging down your website.

Watch Your Plugins

Have you got a lot of third-party or extensions programs associated with your website? Are you actively with them all? Ensure that you switch off unused extensions to enhance performance.

WordPress users may take advantage of the Plugin Performance Profiler to determine just how they’re working and what extensions are lively. It will help you eliminate or reconfigure these extensions and discover and troubleshoot issues. (a typical problem area is usually cultural sharing extensions.)

Shrink, pack, Reduce

Minified files making smaller files and are the best path as it pertains to extensions. In addition you wish to examine the way the signal was created inside the site. For maximum rate, all of the JavaScript ought to be included to 1 file and all of the CSS must be found in another document. (another note: Where you spot this signal counts too. Link CSS towards the the top of site and JavaScript towards the base to improve your website rate aswell.)

Guidelines for PHP Development

This report can examine the very best practices which are usually adopted within the PHP world.

1. Error reporting must be turned on
Error reporting can be a very helpful purpose in PHP and may be allowed whilst in the development stage. This can help us to recognize the issues within our code. One of the most popular function is ‘E_ALL’, which helps us to identify critical problems and all of the warnings.

2. Indentation and Utilization Of whitespace

While writing code in any programming language, you have to make sure adequate whitespace is provided needed and that the signal is correctly indented. the readability of the signal advances and helps us to keep the signal in a far more efficient manner.

3. Use the DRIED approach

DRIED means DoN’t Repeat Yourself’. This notion is just a very helpful development idea and may be utilized in almost any programming language, for example PHP or Java, C#. Utilizing the DRIED strategy we make sure that there’s no unnecessary code. A bit of signal that violates DRY is known as MOIST solution. MOIST means write everything twic or we appreciate typing.);

4.We’ve two main methods while we guarantee to implement this:

Using Camel Case– within this strategy, the initial page is in first page and lower case of each term afterwards is in uppercase.

• Using underscores between two words– In this method, we place an underscore character between every two words.

5. Deep Nesting must be avoided

Any developer must stay away from deep nesting.

6. Use adequate responses

This can be a regular training and may be implemented. This can help because it is just an usually the situation the individual who is creating the signal isn’t keeping the same in further examining the code-base. Inline comments will be useful to realize the purpose of creating the code even when the exact same person is requested to create some improvements within the code. To be able to keep top quality remark standard in PHP I’d suggest you familiarize yourself having a PHP documentation package for example phpDocumentor.

7.phpInfo() is an essential purpose and may be utilized with utmost care. By using this purpose, anybody will get the facts of the server environment. It’s usually recommended to maintain the document containing phpInfo()function in a secured area. It ought to be removed from the code when the growth is performed.

8. Never trust the consumer

Create your code in this means that it may manage a variety of possible inputs if your program requires any individual feedback. A great strategy to safeguard your software from hackers would be to initialize your parameters with a few initial value that’ll irrelevant within the current business move.

9. Use Cache system wherever required

Great programming methods usually recommend utilizing the cache system whilst the cache helps us to attain better performance. Within the PHP earth, caching is accomplished using:

XCache– a quick reliable PHP opcode cache
Zend Cache– an accumulation of APIs for recognizing advanced caching capabilities.

10. Avoid burning extra variables

It’s not really a great development exercise to repeat predefined variables into local factors having smaller brands. It has a bad impact on the efficiency of the application form.

11. Use frameworks

Frameworks are created following a lot of study and therefore they end up being problematic. In PHP you will find plenty of frameworks available. During development, you need to take advantage of these. Among these frameworks which are popular is Product View Controller or MVC.

Php Video Learnings