article thumbnail

A thorough introduction to bpftrace

Brendan Gregg

It was created by Alastair Robertson, a talented UK-based developer who has previously won various coding competitions. This example instrumented one of many thousands of available events. watchpoint Memory watchpoint events (in development). For large environments, this ability can help you save millions. END End of bpftrace.

Latency 68
article thumbnail

Getting Started with HTTP/2 and Server Push

Dean Hume

openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt. If you open up your developer tools, you should now be serving the website over HTTP/2! If you’d like to explore the code used in this example, it is all available on my Github repo. Next, fire up your browser and head over to [link].

Servers 40
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Getting Started with HTTP/2 and Server Push

Dean Hume

openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt. If you open up your developer tools, you should now be serving the website over HTTP/2! If you’d like to explore the code used in this example, it is all available on my Github repo. Next, fire up your browser and head over to [link].

Servers 40
article thumbnail

Getting Started with HTTP/2 and Server Push

Dean Hume

openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt. If you open up your developer tools, you should now be serving the website over HTTP/2! If you’d like to explore the code used in this example, it is all available on my Github repo. Next, fire up your browser and head over to [link].

Servers 40
article thumbnail

Chrome's NOSCRIPT Intervention

Tim Kadlec

How do developers know the intervention has been applied? The two results that jump out right away as oddities are The Atlantic and The Verge which managed to get a whopping 293% and 2048% heavier without JavaScript. In situations where JavaScript is not available, they wrap a fallback image in a element. Things go wrong.

Network 71
article thumbnail

Data Redundancy With the PostgreSQL Citus Extension

Percona

Data redundancy, a database version of a RAID Pondering the case of high availability and redundancy, one replicates data by creating a replica via streaming replication. Now let’s stretch our imagination and consider a second method of high availability, ala Citus. Much of what I will show you makes heavy use of them.

C++ 79
article thumbnail

A Deep Dive into Native Lazy-Loading for Images and Frames

CSS - Tricks

Well, that’s about to change when lazy-loading will be available natively in HTML as a new loading attribute… at least in Chrome which will hopefully lead to wider adoption. Until now, developers like ourselves have had to use JavaScript (whether it’s a library or something written from scratch) in order to achieve lazy-loading.

Traffic 58