New technologies for the new LinkedIn home page

Nash R.
6 min readintermediate
--
View Original

Overview

The article discusses the new technologies and methodologies implemented for the redesigned LinkedIn home page, focusing on improving performance, user experience, and development efficiency. Key advancements include the adoption of open-source frameworks and automation in testing and deployment processes.

What You'll Learn

1

How to implement server-side rendering to improve page load times

2

Why optimizing redirects can enhance user experience on slow networks

3

How to use automated testing to speed up deployment cycles

Prerequisites & Requirements

  • Understanding of web development concepts, particularly client-side and server-side rendering
  • Familiarity with Java and JavaScript frameworks(optional)

Key Questions Answered

What engineering goals were set for the new LinkedIn home page?
The engineering goals included delivering the fastest page load time, creating a responsive and interactive user experience, implementing fully-automated quality management, and allowing for high iteration speed with frequent public releases.
How did LinkedIn optimize the page load time for the new home page?
LinkedIn introduced several techniques to optimize page load time, including server-side rendering, BigPipe for streaming content, image lazy-loading, and reducing redirects to minimize latency, resulting in significant speed improvements.
What challenges did LinkedIn face with the old home page design?
The old home page faced challenges such as difficulty in documenting and sharing knowledge about the custom framework, limitations in designing responsive applications, and the complexity of testing and releasing from a monolithic repository.

Key Statistics & Figures

Automated test suite duration
45 minutes
This is the time taken to verify a good build before deployment to production.
Release frequency of the home page
daily
The new deployment strategy allows for daily releases, significantly improving iteration speed.

Technologies & Tools

Backend
Play
An open-source web framework utilized for building the new home page.
Frontend
Dust.js
An open-source HTML templating framework used for rendering the user interface.

Key Actionable Insights

1
Adopt server-side rendering to enhance the performance of web applications, especially for users on slower networks.
Implementing server-side rendering can significantly reduce the amount of JavaScript processing needed on the client side, leading to faster load times and improved user experience.
2
Utilize automated testing frameworks to streamline your deployment process, allowing for more frequent releases.
Automation in testing reduces the time required for manual testing, enabling teams to deploy updates more rapidly and respond to user feedback effectively.
3
Implement lazy-loading for images to improve initial page load times and user interaction.
By delaying image loading until after the page is interactable, users can engage with content without waiting for all images to load, enhancing perceived performance.

Common Pitfalls

1
Relying on monolithic repositories can hinder the speed of testing and deployment.
This often leads to longer release cycles and increased complexity in managing changes, making it difficult to iterate quickly.

Related Concepts

Web Performance Optimization
Client-side Vs. Server-side Rendering
Automated Testing Frameworks