Engineering Blog

Blog posts tagged 'PHP'

Guilherme OttoniSoftware engineer at Facebook

Redesigning the HHVM JIT compiler for better performance

Posted about 2 years ago

The redesign of the HHVM JIT has improved the CPU usage for running Facebook by about 15 percent. Read more...

Open source in 2015: A year of growth

Posted about 2 years ago
blog post · Open Source · HipHop · PHP · JavaScript · Development Tools

Our open source growth wouldn't have been possible without the contributions of more than 3,400 developers — the majority of whom were external. Read more...

HHVM support for PHP 7

Posted about 2 years ago
blog post · Infra · Open Source · HipHop · PHP · Languages

The next version of the PHP language, version 7.0.0, was recently released. We’re excited to see this release come out the door and for what it means for the future of PHP. Read more...

Erin GreenEngineering

Under the hood: Box's HHVM migration

Posted about 3 years ago
blog post · HipHop · PHP · Open Source

How Box made significant strides by deploying HHVM as the exclusive engine that serves their PHP codebase. Read more...

Erin GreenEngineering

HHVM adoption news

Posted about 3 years ago
blog post · Web · Infra · Backend · PHP · HipHop · Hack · Open Source · Performance · Data Centers

Box and other well-known companies have adopted HHVM. The results have been great, including improvements in CPU efficiency and speed. Here's a little bit about how each company has experienced the transition, in the words of the engineers involved. Read more...

Erin GreenEngineering

Inside Wikipedia's transition to HHVM

Posted about 3 years ago
blog post · Infra · Web · Backend · Open Source · Performance · Optimization · User Experience · Caching · PHP · HipHopmore

Inside Wikipedia's transition to HHVM.

James PearceEngineering at Facebook

12 Days of Open Source

Posted about 3 years ago
blog post · Infra · Open Source · PHP

12 Days of Open Source: a review of 2014 Open Source stats and fun facts. Read more...

Announcing the Hack Transpiler

Posted about 3 years ago
blog post · Infra · Hack · Languages · PHP · Open Source

Today, we're proud to announce a first, experimental release of h2tp, or the “HH (Hack) Transpiler,” a tool which allows projects that have converted from PHP to Hack to still make releases that target the PHP language. Read more...

Joel PobarDirector of Engineering at Facebook

Hack Developer Day Recap

Posted about 4 years ago

A few weeks ago, Facebook introduced and open-sourced Hack, a gradually-typed programming language for HHVM that interoperates seamlessly with PHP. Yesterday we hosted our first Hack Developer Day to bring together members of the developer community for a deeper dive into Hack and HHVM. Read more...

Drew ParoskiSoftware Engineer at Facebook

Speeding up PHP-based development with HipHop VM

Posted about 5 years ago
blog post · Infra · HipHop · Open Source · PHP · Performance

Here at Facebook, the HipHop team constantly strives to improve the efficiency of PHP execution and increase productivity for our PHP developers. In late 2011 we announced that we were pursuing a just-in-time (JIT) compilation approach called HipHop VM (HHVM) as a successor to the HipHop PHP-to-C++ compiler (HPHPc). The goals of the HHVM project are two-fold: build a production-ready virtual machine that delivers superior performance, and unify our production and development environments. Read more...

Keith AdamsEngineer at Facebook

Meet a Facebook Engineer: Keith Adams

Posted about 6 years ago
blog post · Culture · Web · PHP · HipHop · Backend · Languages

At Facebook, our engineers collaborate to create an open environment where ideas win and are executed quickly. Each week, our engineers will give you a look into what it's like to ideate and build at Facebook in our new "Meet a Facebook Engineer" Q&A series. Check back weekly to hear from different engineers about what problems they're passionate about solving right now, what they're up to at Facebook and what advice they have for you. Read more...

Jason EvansEngineering

The HipHop Virtual Machine

Posted about 6 years ago
blog post · Infra · Open Source · HipHop · PHP · Performance · Languages


Minghui YangSoftware engineer at Facebook

Making HPHPi Faster

Posted about 7 years ago
blog post · Infra · Web · PHP · HipHop · Open Source · Performance · Development Tools · Languages · C++ · Optimization · Caching · Testingmore


Qiang WuInfrastructure Software Engineer at Facebook

Keeping the Site Reliable While Moving Fast

Posted about 7 years ago
blog post · Infra · Web · Data · Culture · Optimization · Performance · Backend · Platform · Chat · PHPmore


Greg SchechterEngineering

Visualizing Facebook's PHP Codebase

Posted about 7 years ago
blog post · Infra · PHP


Xin QiResearch Scientist at Facebook

HipHop for PHP: More Optimizations for Efficient Servers

Posted about 7 years ago

Facebook switched all its production servers to HipHop in early 2010, also releasing the project’s source code at that time. At the time of the switch, HipHop reduced our average CPU usage by 50%, the six months after its release saw an additional 1.8x performance improvement, and in the past six months the team in conjunction with the open source community has made an additional 1.7x improvement. Read more...

Nagavamsi PonnekantiEngineering at Facebook

Hybrid Incremental MySQL Backups

Posted about 7 years ago
blog post · Infra · Web · Data · MySQL · PHP · Storage · Performance

This post discusses enhancements to our database backups. As we deploy these enhancements to production servers, we may write additional posts about other improvements made along the way. Read more...

Scott MacVicarEngineering

Google Summer of Code 2010

Posted about 8 years ago
blog post · Culture · Mobile · Web · Compute · Open Source · Academics · PHP · HipHop · HTML5 · JavaScript · iOSmore

This summer we participated in Google Summer of Code (GSoC) for the first time and wanted to share an update on the progress our students made. GSoC is in its sixth year and exists to encourage university students to spend their summer coding for an open source / free software project. The students in turn are awarded a stipend which definitely makes this a cool summer job. Read more...

Scott MacVicarEngineering

HipHop for PHP: six months later

Posted about 8 years ago

It's been six months since we released HipHop and I wanted to share an update on its progress. In February we released 693,613 lines of source code which on average reduced our CPU usage here at Facebook by about 50%. Since February, the team has made HipHop another 1.8 times faster and all of that code is open source. We’ve also seen improvements to PHP itself with the additions to PHP's trunk in April being about 10% faster than 5.3. Read more...

Marcel LaverdetSoftware Engineer at Facebook

XHP: A New Way to Write PHP

Posted about 8 years ago
blog post · Infra · PHP · Languages

Today, I'd like to take to this opportunity to share with you a project that's quickly becoming a cornerstone of front-end PHP development at Facebook. XHP is a PHP extension which augments the syntax of the language to both make your front-end code easier to understand and help you avoid cross-site scripting attacks. XHP does this by making PHP understand XML document fragments, similar to what E4X does for ECMAScript (JavaScript). While PHP is typically used to write front-end code, by itself it isn't a very good language for generating HTML (as evidenced by the popularity of templating engines like Smarty). XHP is something between a programmatic UI library and a full templating system. PHP has some tricks up its sleeve like the ability to switch between HTML and PHP syntax, but this often encourages poor security practices and hard to follow control flows. Consider this simple PHP application:. Read more...

Tao SteinE N G I N E E R. at Facebook

Facebook becomes a USENIX Patron

Posted about 8 years ago
blog post · Infra · Data · Web · Mobile · Compute · Open Source · Research · Graph · Languages · PHP · HipHop · Platformmore

From its beginnings, Facebook has had to solve novel systems challenges to help us scale and grow. The idea of the social graph, and its implementation as a web and mobile platform have repeatedly pushed our computer systems into uncharted territory. The workloads are non-traditional, graph-oriented and write-heavy, and the system has grown rapidly to a base of 350M users around the world. We have survived and thrived due to healthy innovation and creativity, but we haven't done it alone. We have benefited from innovation in both the open source and computer systems communities. The USENIX Association is an essential hub in the systems community and today we are pleased to announce that we are becoming a Patron of the USENIX Association. Read more...

Haiping ZhaoSenior Server Engineer at Facebook
Kannan MuthukkaruppanTechnical Lead at Facebook

XHProfLive: Continuous function-level performance stats from production

Posted about 9 years ago
blog post · Infra · PHP · Languages · Performance

The Facebook web tier serves billions of PHP requests every day across thousands of servers. Since new code or other changes to the site get pushed out frequently, it is critical to have near real-time performance data that is both representative of production traffic and rich in its ability to help pinpoint regressions down to specific functional areas. This blog post talks about our solution to this problem - a lightweight but powerful tool called XHProfLive. Read more...

Keep Updated

Stay up-to-date via RSS with the latest open source project releases from Facebook, news from our Engineering teams, and upcoming events.

Facebook © 2018