# Distributed Cache

Published articles for Distributed Cache.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## How Infinitas Learning uses ClickHouse Managed Postgres to process billions of events for 1.6M unique learners

DevFeed: [How Infinitas Learning uses ClickHouse Managed Postgres to process billions of events for 1.6M unique learners](<https://devfeed.tech/articles/how-infinitas-learning-uses-clickhouse-managed-postgres-to-process-billions-of-events-for-1-6m-unique-learners-136653.md>)

Original publisher: [Read original article](<https://clickhouse.com/blog/infinitas-learning-clickhouse-managed-postgres>)

Author: ClickHouse

Published: 2026-11-16T10:54:45Z

Content type: news

Language: en

Sources: [ClickHouse Blog](<https://devfeed.tech/sources/clickhouse-blog.md>)

Topics: [clickhouse](<https://devfeed.tech/topics/clickhouse.md>), [streaming data analytics](<https://devfeed.tech/topics/streaming-data-analytics.md>), [Apache Kafka](<https://devfeed.tech/topics/apache-kafka.md>), [self-hosted databases vs managed services](<https://devfeed.tech/topics/self-hosted-databases-vs-managed-services.md>)

Tags: [1-6](<https://devfeed.tech/tags/1-6.md>), [about](<https://devfeed.tech/tags/about.md>), [analytics](<https://devfeed.tech/tags/analytics.md>), [cache](<https://devfeed.tech/tags/cache.md>), [clickhouse](<https://devfeed.tech/tags/clickhouse.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-cache](<https://devfeed.tech/tags/distributed-cache.md>), [events](<https://devfeed.tech/tags/events.md>), [latency](<https://devfeed.tech/tags/latency.md>), [learning](<https://devfeed.tech/tags/learning.md>), [managed](<https://devfeed.tech/tags/managed.md>), [p99](<https://devfeed.tech/tags/p99.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [process](<https://devfeed.tech/tags/process.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [time](<https://devfeed.tech/tags/time.md>), [transactions](<https://devfeed.tech/tags/transactions.md>), [unique](<https://devfeed.tech/tags/unique.md>), [uses](<https://devfeed.tech/tags/uses.md>)

### AI overview

Infinitas Learning separates learner-result transactions from customer-facing analytics: Postgres processes assignment events and updates learner progress, while ClickHouse Cloud serves teacher dashboards. After Neon, the team moved 750 GB to ClickHouse Managed Postgres in 16 hours and completed a no-downtime cutover in 20 minutes; reported P50 transaction latency fell from milliseconds to double-digit microseconds. For analytics, ClickHouse compressed a nearly 2-billion-row table from 300 GB to 27 GB, but cache misses caused P99 spikes up to 13 seconds against a 500 ms target. Self-hosting brought P99 to 300 ms but left the team responsible for operations and running a single replica. With ClickHouse support optimizing data and settings, then enabling distributed cache in Cloud, load-test P99 reached 410 ms. The team plans to connect Postgres and ClickHouse through pg_clickhouse, but that integration is described as a future vision.

### Source excerpt

Infinitas Learning runs transactions for 1.6 million learners on ClickHouse Managed Postgres and serves real-time analytics to teachers from ClickHouse Cloud, where distributed cache cut P99 latency from about 13 seconds to 410 milliseconds.

## Olson and Söderqvist Discuss Valkey's Evolution and Future Past Caching Use Cases at OSS EU

DevFeed: [Olson and Söderqvist Discuss Valkey's Evolution and Future Past Caching Use Cases at OSS EU](<https://devfeed.tech/articles/olson-and-soderqvist-discuss-valkey-s-evolution-and-future-past-caching-use-cases-at-oss-eu-83970.md>)

Original publisher: [Read original article](<https://www.infoq.com/news/2026/10/valkey-evolution/>)

Author: Olimpiu Pop

Published: 2026-10-09T09:09:00Z

Content type: news

Language: en

Sources: [InfoQ](<https://devfeed.tech/sources/infoq.md>)

Topics: [valkey](<https://devfeed.tech/topics/valkey.md>), [Redis](<https://devfeed.tech/topics/redis.md>), [Dependency management](<https://devfeed.tech/topics/dependency-management.md>), [Amazon ElastiCache](<https://devfeed.tech/topics/amazon-elasticache.md>)

Tags: [automation](<https://devfeed.tech/tags/automation.md>), [change-data-capture](<https://devfeed.tech/tags/change-data-capture.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [connection-pooling](<https://devfeed.tech/tags/connection-pooling.md>), [development](<https://devfeed.tech/tags/development.md>), [distributed-cache](<https://devfeed.tech/tags/distributed-cache.md>), [durability](<https://devfeed.tech/tags/durability.md>), [news](<https://devfeed.tech/tags/news.md>), [redis](<https://devfeed.tech/tags/redis.md>), [replication](<https://devfeed.tech/tags/replication.md>), [security](<https://devfeed.tech/tags/security.md>), [storage](<https://devfeed.tech/tags/storage.md>), [valkey](<https://devfeed.tech/tags/valkey.md>), [valkey-evolution](<https://devfeed.tech/tags/valkey-evolution.md>)

### AI overview

The article reports on Valkey's development since its fork from Redis, covering throughput and memory-efficiency improvements, cluster features, and the GLIDE client library. It also discusses possible future directions, including synchronous replication and tiered storage, alongside release automation and security work.

### Source excerpt

Valkey is a growing project, launched as a fork of Redis over two years ago, supported by twelve maintainers and nine committee members from various companies. Recent developments include enhanced throughput, improved cluster functionality, and plans for features like synchronous replication and tiered storage. The project also emphasises security and release efficiency through automation. By Olimpiu Pop

## Local and distributed cache coherence: stale data caused by missed invalidation messages

DevFeed: [Local and distributed cache coherence: stale data caused by missed invalidation messages](<https://devfeed.tech/articles/local-cache-plus-distributed-cache-the-coherence-bill-nobody-budgets-for-39606.md>)

Original publisher: [Read original article](<https://ankit-rana.com/logs/54-local-and-distributed-cache-coherence/>)

Author: hello@ankit-rana.com

Published: 2026-09-17T00:00:00Z

Content type: opinion

Language: en

Sources: [Ankit Rana | Mechanical Sympathy](<https://devfeed.tech/sources/ankit-rana-mechanical-sympathy.md>)

Topics: [Cache](<https://devfeed.tech/topics/cache.md>), [Redis](<https://devfeed.tech/topics/redis.md>), [data](<https://devfeed.tech/topics/data.md>), [Network](<https://devfeed.tech/topics/network.md>)

Tags: [cache](<https://devfeed.tech/tags/cache.md>), [cache-coherence](<https://devfeed.tech/tags/cache-coherence.md>), [caching](<https://devfeed.tech/tags/caching.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [data](<https://devfeed.tech/tags/data.md>), [distributed-cache](<https://devfeed.tech/tags/distributed-cache.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [network](<https://devfeed.tech/tags/network.md>), [redis](<https://devfeed.tech/tags/redis.md>), [ttl](<https://devfeed.tech/tags/ttl.md>)

### AI overview

The article explains that adding an in-process cache in front of a distributed cache can improve latency but creates independently stale copies across service instances. It focuses on Redis pub/sub invalidation, which provides no persistence, acknowledgement, retry, or replay, allowing instances to miss invalidation messages and serve stale data until their TTL expires.

### Source excerpt

An in-process cache in front of a distributed cache removes a network hop and adds one independent copy of the data per instance, each of which can be stale on its own schedule. Invalidation is normally broadcast over pub/sub, which is fire and forget, so any instance that is restarting, garbage collecting or briefly disconnected simply misses the message and serves stale data until its TTL expires. That TTL is not a performance setting, it is the maximum duration of incorrectness.

## Agoda Replaces 72-Shard SQL Server Price Cache with DragonflyDB

DevFeed: [Agoda Replaces 72-Shard SQL Server Price Cache with DragonflyDB](<https://devfeed.tech/articles/agoda-replaces-72-shard-sql-server-price-cache-with-dragonflydb-21543.md>)

Original publisher: [Read original article](<https://www.infoq.com/news/2026/09/agoda-price-cache-dragonflydb/>)

Author: Leela Kumili

Published: 2026-09-14T13:48:00Z

Content type: news

Language: en

Sources: [InfoQ](<https://devfeed.tech/sources/infoq.md>)

Topics: [Cache](<https://devfeed.tech/topics/cache.md>), [migration](<https://devfeed.tech/topics/migration.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [Prometheus](<https://devfeed.tech/topics/prometheus.md>)

Tags: [a-b-testing](<https://devfeed.tech/tags/a-b-testing.md>), [agoda-price-cache-dragonflydb](<https://devfeed.tech/tags/agoda-price-cache-dragonflydb.md>), [architecture-design](<https://devfeed.tech/tags/architecture-design.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [development](<https://devfeed.tech/tags/development.md>), [devops](<https://devfeed.tech/tags/devops.md>), [distributed-cache](<https://devfeed.tech/tags/distributed-cache.md>), [distributed-data](<https://devfeed.tech/tags/distributed-data.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [latency](<https://devfeed.tech/tags/latency.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [migration](<https://devfeed.tech/tags/migration.md>), [news](<https://devfeed.tech/tags/news.md>), [prometheus](<https://devfeed.tech/tags/prometheus.md>), [redis](<https://devfeed.tech/tags/redis.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>)

### AI overview

Agoda migrated its 1.5 TB hotel Price Cache from 72 Microsoft SQL Server shards to DragonflyDB. The staged migration used workload testing, dual reads, parity metrics, and gradual traffic shifting; Agoda reported substantially lower P99 read latency.

### Source excerpt

Agoda migrated its 1.5 TB hotel Price Cache from 72 SQL Server shards to DragonflyDB to handle growing read and write volumes. The migration used staged dual reads, parity validation, gradual traffic shifting, and decentralized failover detection. Agoda reports an approximately eightfold reduction in P99 read latency, with two DragonflyDB clusters providing high availability. By Leela Kumili

## Scaling a distributed cache: Why consistent hashing is mandatory

DevFeed: [Scaling a distributed cache: Why consistent hashing is mandatory](<https://devfeed.tech/articles/scaling-a-distributed-cache-why-consistent-hashing-is-mandatory-39578.md>)

Original publisher: [Read original article](<https://ankit-rana.com/logs/26-scaling-distributed-cache-consistent-hashing/>)

Author: hello@ankit-rana.com

Published: 2026-05-17T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ankit Rana | Mechanical Sympathy](<https://devfeed.tech/sources/ankit-rana-mechanical-sympathy.md>)

Topics: [consistent hashing](<https://devfeed.tech/topics/consistent-hashing.md>), [distributed-systems](<https://devfeed.tech/topics/distributed-systems.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [sharding](<https://devfeed.tech/topics/sharding.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [Database](<https://devfeed.tech/topics/database.md>), [Memcached](<https://devfeed.tech/topics/memcached.md>), [Redis](<https://devfeed.tech/topics/redis.md>)

Tags: [caching](<https://devfeed.tech/tags/caching.md>), [consistent-hashing](<https://devfeed.tech/tags/consistent-hashing.md>), [database](<https://devfeed.tech/tags/database.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-cache](<https://devfeed.tech/tags/distributed-cache.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [memcached](<https://devfeed.tech/tags/memcached.md>), [redis](<https://devfeed.tech/tags/redis.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [sharding](<https://devfeed.tech/tags/sharding.md>)

### AI overview

The article explains why modulo-based cache sharding can remap nearly every key when a node fails, causing a large cache miss surge and database overload. It presents consistent hashing on a fixed ring as a way to limit movement to keys assigned to the failed node, and notes that virtual nodes improve distribution across physical cache nodes.

### Source excerpt

Sharding a cache with hash(key) modulo N means the denominator changes when a node dies, remapping nearly every key. Dropping from five nodes to four invalidates about 80 percent of the cache instantly and routes that miss storm straight at the primary database. Consistent hashing maps nodes and keys onto a fixed ring so only the dead node's keys move, and virtual nodes fix the uneven distribution a handful of physical nodes would otherwise produce.

## Prisma | Introducing Accelerate in Early Access

DevFeed: [Prisma | Introducing Accelerate in Early Access](<https://devfeed.tech/articles/prisma-introducing-accelerate-in-early-access-47540.md>)

Original publisher: [Read original article](<https://www.prisma.io/blog/announcing-accelerate-usrvpi6sfkv4>)

Author: Andrew Carlson

Published: 2023-01-16T00:00:00Z

Content type: release

Language: en

Sources: [Prisma](<https://devfeed.tech/sources/prisma-blog.md>)

Topics: [Prisma](<https://devfeed.tech/topics/prisma.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [connection pool](<https://devfeed.tech/topics/connection-pool.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Database](<https://devfeed.tech/topics/database.md>), [Latency](<https://devfeed.tech/topics/latency.md>)

Tags: [connection-pool](<https://devfeed.tech/tags/connection-pool.md>), [database](<https://devfeed.tech/tags/database.md>), [distributed-cache](<https://devfeed.tech/tags/distributed-cache.md>), [latency](<https://devfeed.tech/tags/latency.md>), [prisma](<https://devfeed.tech/tags/prisma.md>), [release](<https://devfeed.tech/tags/release.md>), [serverless](<https://devfeed.tech/tags/serverless.md>)

### AI overview

Prisma announces Accelerate, an early-access Data CDN that combines managed connection pooling for serverless applications with a globally distributed cache. It is designed to speed up Prisma database queries and reduce latency while working with existing databases.

### Source excerpt

Query up to 1000x faster on any Prisma-supported database with our new distributed cache and scalable connection pool for Serverless apps.

## Trying on Pants

DevFeed: [Trying on Pants](<https://devfeed.tech/articles/trying-on-pants-15933.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/trying-on-pants>)

Author: Square Engineering

Published: 2014-09-16T16:07:00Z

Content type: article

Language: en

Sources: [Square Corner](<https://devfeed.tech/sources/square-corner-blog-medium.md>)

Topics: [monorepo](<https://devfeed.tech/topics/monorepo.md>), [Maven](<https://devfeed.tech/topics/maven.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [Continuous integration](<https://devfeed.tech/topics/continuous-integration.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [build-system](<https://devfeed.tech/tags/build-system.md>), [build-tool](<https://devfeed.tech/tags/build-tool.md>), [builds](<https://devfeed.tech/tags/builds.md>), [cache](<https://devfeed.tech/tags/cache.md>), [community](<https://devfeed.tech/tags/community.md>), [continuous-integration](<https://devfeed.tech/tags/continuous-integration.md>), [contributing](<https://devfeed.tech/tags/contributing.md>), [distributed-cache](<https://devfeed.tech/tags/distributed-cache.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [java](<https://devfeed.tech/tags/java.md>), [maven](<https://devfeed.tech/tags/maven.md>), [nexus](<https://devfeed.tech/tags/nexus.md>), [open](<https://devfeed.tech/tags/open.md>), [plugins](<https://devfeed.tech/tags/plugins.md>), [projects](<https://devfeed.tech/tags/projects.md>), [repo](<https://devfeed.tech/tags/repo.md>)

### AI overview

The team is experimenting with Pants to replace some Apache Maven build processes across a repository containing many Java projects. Pants appeals for incremental builds from repository HEAD, Maven Nexus integration, local and distributed artifact caches, third-party plugins, and an open community with contributions from multiple companies. It is still nascent and does not yet support all of the repository's needs, so it currently runs alongside Maven. Planned work includes supporting multiple Java source and target versions, tighter integration with Kochiku, and Wire protocol buffer support.

### Source excerpt

With many Java projects in a single repo, we are trying out the Pants build system.