Remove Document Remove Latency Remove Network Remove Servers
article thumbnail

The Three Cs: Concatenate, Compress, Cache

CSS Wizardry

Concatenating our files on the server: Are we going to send many smaller files, or are we going to send one monolithic file? Compressing them over the network: Which compression algorithm, if any, will we use? 4,362ms of cumulative latency; 240ms of cumulative download. Read the complete test methodology. That’s almost 22× more!

Cache 291
article thumbnail

MongoDB Rollback: How to Minimize Data Loss

Scalegrid

Key Takeaways Rollbacks in MongoDB are triggered by disruptions in the replication process due to primary node crashes, network partitions, or other failures, which can lead to substantial data loss and inconsistencies. This failure in replication could happen due to crashes, network partitions, or other situations where failover occurs.

Database 130
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

Mastering MongoDB® Timeout Settings

Scalegrid

MongoDB drivers provide several options for Mongo clients to handle different network timeout errors that may occur during usage. Typical applications are interacting with different database servers based on the business logic. Primarily there are three kinds: Server selection timeout, Connection Timeout, and Socket Timeout.

Java 130
article thumbnail

Rethinking Server-Timing As A Critical Monitoring Tool

Smashing Magazine

Rethinking Server-Timing As A Critical Monitoring Tool. Rethinking Server-Timing As A Critical Monitoring Tool. In the world of HTTP Headers, there is one header that I believe deserves more air-time and that is the Server-Timing header. Setting Server-Timing. Sean Roberts. 2022-05-16T10:00:00+00:00.

Servers 92
article thumbnail

Compression Methods in MongoDB: Snappy vs. Zstd

Percona

In this blog, we will discuss both data and network-level compression offered in MongoDB. We will discuss snappy and zstd for data block and zstd compression in a network. Percona Server for MongoDB (PSMDB) supports all types of compression and enterprise-grade features for free. I am using PSMDB 6.0.4

Storage 108
article thumbnail

Towards a Unified Theory of Web Performance

Alex Russell

Tim Berners-Lee tweets that 'This is for everyone' at the 2012 Olympic Games opening ceremony using the NeXT computer he used to build the first browser and web server. Regardless of architecture, Gmail needs to send an HTTP request to the server and update some HTML when the server replies. This Is for Everyone #.

article thumbnail

Cache-Control for Civilians

CSS Wizardry

The best request is the one that never happens: in the fight for fast websites, avoiding the network is far better than hitting the network at all. This includes CDNs, proxy servers, and the like. Once the 60 seconds is up, the browser will head back to the server to revalidate the file. public and private.

Cache 264