The Best Way to Completely Purge a Varnish Cache

DZone

performance cache varnish vclIt's cargo-cult fighting time! Today, we are going to look at a ban expression that you probably have used, and maybe even have recommended (gasp!) to your fellow Varnish users: req.url ~ /.

Cache 148

How to Boost Redis With Local Caching in Java

DZone

You may also like: Java-Distributed Caching in Redis. Local caching is one of the most useful tactics for improving the performance of databases such as Redis. Redis developers who want to do local caching in Java will find that Redis doesn’t support this functionality out of the box.

Cache 194

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

Design Of A Modern Cache—Part Deux

High Scalability

The previous article described the caching algorithms used by Caffeine , in particular the eviction and concurrency models. This allows for quickly discarding new arrivals that are unlikely to be used again, guarding the main region from cache pollution. cache

Cache 239

Comparing Apache Ignite In-Memory Cache Performance With Hazelcast In-Memory Cache and Java Native Hashmap

DZone

java big data performance apache ignite in-memory data grid in-memory caching distributed cacheOverview.

Cache 139

How to Create a Simple and Efficient PHP Cache

DZone

Caching is extremely useful in order to speed up PHP webpages. In this article, I’ll show you how to make a simple PHP caching system for your web pages. tutorial performance cache page caching

Cache 177

Cache-Control for Civilians

CSS Wizardry

To this end, having a solid caching strategy can make all the difference for your visitors. ?? How is your knowledge of caching and Cache-Control headers? That being said, more and more often in my work I see lots of opportunities being left on the table through unconsidered or even completely overlooked caching practices. Cache-Control. One of the most common and effective ways to manage the caching of your assets is via the Cache-Control HTTP header.

Cache 216

Multiple Cache Configurations With Caffeine and Spring Boot

DZone

Caching is key for the performance of nearly every application. Distributed caching is sometimes needed, but not always. In many cases, a local cache would work just fine, and there’s no need for the overhead and complexity of the distributed cache. So, in many applications, including plain Spring and Spring Boot, you can use @Cacheable on any method and its result will be cached so that the next time the method is invoked, the cached result is returned.

Cache 100

WebP Caching has Landed!

KeyCDN

We’re happy to announce that WebP Caching has landed! How Does WebP Caching Work? Enable the Feature for your Zones Cache Key WebP can be enabled for all Pull Zones. Once enabled, a Zone will cache each image separately as WebP and the other image format (e.g.

Cache 97

Use Distributed Caching to Accelerate Online Web Sites

ScaleOut Software

The Solution: Distributed Caching. A widely used technology called distributed caching meets this need by storing frequently accessed data in memory on a server farm instead of within a database. That said, a web application needs to interact with a distributed cache as a unified whole.

Cache 52

Design Patterns: Cache-Aside Pattern

cdemi

Applications that rely heavily on a data-store usually can benefit greatly from using the Cache-Aside Pattern. If used correctly, this pattern can improve performance and help maintain consistency between the cache and the underlying data store. Lifetime of Cached Data.

Cache 64

AppFabric Caching: Retry Later

ScaleOut Software

Given all this, we thought it would be a good opportunity to see how we are doing relative to the competition, and in particular, relative to Microsoft’s AppFabric caching for Windows on-premise servers. Distributed Cache or In-Memory Data Grid?

Cache 52

Exploring a back/forward cache for Chrome

Addy Osmani

bfcache creates a cache allowing for instant navigations to previously-visited pages

Cache 53

Compress objects, not cache lines: an object-based compressed memory hierarchy

The Morning Paper

Compress objects, not cache lines: an object-based compressed memory hierarchy Tsai & Sanchez, ASPLOS’19. Existing cache and main memory compression techniques compress data in small fixed-size blocks, typically cache lines.

Cache 73

How to Make Your Website Load Faster

DZone

website load speed website speed wordpress website design and development website speed test in drupal caching with vanish drupal caching wordpress cachingFaster loading? Sign me up!

Intro to Redis Cluster Sharding – Advantages, Limitations, Deploying & Client Connections

High Scalability

Redis Cluster is the native sharding implementation available within Redis that allows you to automatically distribute your data across multiple nodes without having to rely on external tools and utilities. At ScaleGrid, we recently added support for Redis Clusters on our platform through our fully managed Redis hosting plans.

Improving Spark Memory Resource With Off-Heap In-Memory Storage

DZone

performance storage spark caching in-memory spark caching spark memoryImprove your Spark memory. In the previous tutorial , we demonstrated how to get started with Spark and Alluxio.

PostgreSQL Connection Pooling: Part 2 – PgBouncer

Scalegrid

Once the authentication succeeds: PgBouncer checks for a cached connection, with the same username+database combination. If a cached connection is found, it returns the connection to the client.

Cache 159

Top Redis Use Cases by Core Data Structure Types

Scalegrid

Depending on how it is configured, Redis can act like a database, a cache or a message broker. Session Cache: Many websites leverage Redis Strings to create a session cache to speed up their website experience by caching HTML fragments or pages. Since data is stored temporarily in the RAM, this attribute makes Redis a perfect choice as a session cache. Learn how to build your own Twitter feed in our Caching tweets using Node.js, Redis and Socket.io

How It Works (It Just Runs Faster): Non-Volatile Memory SQL Server Tail Of Log Caching on NVDIMM

SQL Server According to Bob

Note: We received feedback that there was some confusion on us calling this functionality “tail of the log caching” because our documentation and prior history has referred to the tail of the log as the portion of the hardened log that has not been backed up. Tail Of Log Caching.

Cache 52

Re-Architecting the Video Gatekeeper

The Netflix TechBlog

The Tech Hollow , an OSS technology we released a few years ago, has been best described as a total high-density near cache : Total : The entire dataset is cached on each node?—?there there is no eviction policy, and there are no cache misses.

Expanding the Cloud: More memory, more caching and more performance for your data

All Things Distributed

Amazon ElastiCache is a fully managed, in-memory caching service for customers to optimize the latency, performance and cost of their read workloads.

Cache 94

The Amazing Evolution of In-Memory Computing

ScaleOut Software

From Distributed Caches to Real-Time Digital Twins. Emerging in the early 2000s, the first such platforms provided distributed caching on clustered servers with straightforward APIs for storing and retrieving in-memory objects.

Application Scalability — How To Do Efficient Scaling

DZone

performance performance testing performance and monitoring performance tuning performance engineering application scaling performance caching scalability and performance

Self-Host Your Static Assets

CSS Wizardry

Users might already have the file cached. If website-a.com links to [link] , and a user goes from there to website-b.com who also links to [link] , then the user will already have that file in their cache. Penalty: Caching. Myth: Cross-Domain Caching.

Cache 285

Redis vs Memcached

Software Architecture

nosql caching memcached database redisMemcached is in-memory key value store whereas Redis is in-memory data structures store. Memcached supports only string data type which is ideal for storing read-only data. Redis supports almost all types of data.

Top Redis Use Cases by Core Data Structure Types

High Scalability

Depending on how it is configured, Redis can act like a database, a cache or a message broker. C C++ Caching Clustering Database DevOps Message Broker Redis Redis Cluster Redis Hashes Redis Lists Redis Queues Redis Sets Redis Sorted Sets Redis Strings Use Cases administrator cache data management database databases in-memory key-value store nosql open source queue redis

Working with fio “distribution /pereto” parameter

n0derunner

We would expect a similar shape for any sort of caching mechanism. Nutanix X-Ray caching fio modelingThe fio Pareto parameter allows us to create a workload, which references a very large dataset, but specify a hotspot for the access pattern.

Redis Cloud Gets Easier with Fully Managed Hosting on Azure

High Scalability

The demand for Redis is skyrocketing across dozens of use cases, particularly for cache, queues, geospatial data, and high speed transactions. ScaleGrid, a rapidly growing leader in the Database-as-a-Service (DBaaS) space, has just launched their new fully managed Redis on Azure service.

Azure 34

Use Parallel Analysis – Not Parallel Query – for Fast Data Access and Scalable Computing Power

ScaleOut Software

Looking beyond distributed caching, it’s their ability to perform data-parallel analysis that gives IMDGs such exciting capabilities. For more than a decade, in-memory data grids (IMDGs) have proven their usefulness for storing fast-changing data in enterprise applications.

PostgreSQL Connection Pooling: Part 2 – PgBouncer

High Scalability

When it comes to connection pooling in the PostgreSQL world, PgBouncer is probably the most popular option. It’s a very simple utility that does exactly one thing – it sits between the database and the clients and speaks the PostgreSQL protocol, emulating a PostgreSQL server.

Memory Latency on the Intel Xeon Phi x200 “Knights Landing” processor

John McCalpin

The modes that are important are: “Flat” vs “Cache” In “Flat” mode, MCDRAM memory is used as directly accessible memory, occupying the upper 16 GiB of physical address space. In “Cache” mode, MCDRAM memory is used as an L3 cache for the main DDR4 memory. I will discuss the performance characteristics of Cache mode at a later date.

Invited Talk at SuperComputing 2016!

John McCalpin

Computer Architecture Computer Hardware Performance cache DRAM high performance computing memory bandwidth memory latency STREAM benchmark“Memory Bandwidth and System Balance in HPC Systems” If you are planning to attend the SuperComputing 2016 conference in Salt Lake City next month, be sure to reserve a spot on your calendar for my talk on Wednesday afternoon (4:15pm-5:00pm).

Expanding the Cloud - Introducing Amazon ElastiCache - All Things.

All Things Distributed

Today AWS has launched Amazon ElastiCache , a new service that makes it easy to add distributed in-memory caching to any application. Amazon ElastiCache handles the complexity of creating, scaling and managing an in-memory cache to free up brainpower for more differentiating activities.

Cloud 83

Why Do We Need the Volatile Keyword?

DZone

Even if my application runs in the cloud on the JVM, despite all of those software layers abstracting away the underlying hardware, the volatile keyword is still needed due to the cache of the processor that my software runs on. The Volatile Keyword and the Cache of Modern Processors. Modern processors, like the Intel Xeon or the AMD Ryzen, cache the values from the main memory in per-core caches to improve the memory access performance.

Cache 130

PostgreSQL Connection Pooling: Part 3 – Pgpool-II

Scalegrid

Once authentication succeeds, it checks if it already has a cached connection for this database+user combination. Once the client disconnects, Pgpool-II has to decide whether to cache the connection: If it has an empty slot, it caches it.

Memory Bandwidth Requirements of the HPL benchmark

John McCalpin

The algorithms used by HPL have lots of data re-use (both in registers and from the caches), but the data still has to go to and from memory, so the bandwidth requirement is not zero, which means that at some point in scaling the number of cores or frequency or FP operations per cycle, we are going to run out of the available memory bandwidth. Algorithms Performance arithmetic cache high performance computing memory bandwidth

Site Optimization Framework To Boost Your Website Performance Using AEM

DZone

Insufficient dispatcher caching. Lack of browser caching. I often found that there are issues observed post-implementation due to not following the best practices recommended by Adobe. What Causes Performance Issues.

Bringing Rich Experiences to Memory-constrained TV Devices

The Netflix TechBlog

Our UI runs on top of a custom rendering engine which uses what we call a “surface cache” to optimize our use of graphics memory. A full-screen image at this resolution will use 1280 * 720 * 4 = 3.5MB of surface cache. The majority of legacy devices run at 28MB of surface cache.

Cache 189

Lazy Pre-Browsing with Prefetch

CSS Wizardry

This means that from a cold-cache, if a user were to land on this page for the first time, they’re absolutely going to take a performance hit—there’s just no way around it.

Cache 136

Prefetching? At This Age?

Tim Kadlec

For all HTML responses, I pass a Cache-control: max-age=900, must-revalidate header. This tells the browser to cache the response for 15 minutes ( 900 ⁄ 60 ). Netlify also passes along an ‘Age’ header, indicating how long they’ve been caching the resource themselves. The ‘Age’ header is used by upstream caching layers (Varnish, CDNs, other proxies, etc.) In other words, how long has that resource been sitting in that upstream cache.

Cache 57

Cloudburst: stateful functions-as-a-service

The Morning Paper

The key ingredients of Cloudburst are a highly-scalable key-value store for persistent state ( Anna ), local caches co-located with function execution environments, and cache-consistency protocols to preserve developer sanity while data is moved in and out of those caches.

Cache 81

Predictive CPU isolation of containers at Netflix

The Netflix TechBlog

Because microprocessors are so fast, computer architecture design has evolved towards adding various levels of caching between compute units and the main memory, in order to hide the latency of bringing the bits to the brains.

Cache 261

The Fastest Google Fonts

CSS Wizardry

It’s widely accepted that self-hosted fonts are the fastest option: same origin means reduced network negotiation, predictable URLs mean we can preload , self-hosted means we can set our own cache-control.

Google 282