cache   22202

« earlier    

Going Offline · An A List Apart Article
article explaining the point of service workers and how they interact with sites and the browser
webdesign  web  design  offline  service  worker  cookie  cache 
2 days ago by piperh
Caching In Web API in C#, SQL for Visual Studio 2015
In this article we will are going to learn how we can use caching in Web API. Normally caching is the process of storing data somewhere for the future requests, in our case we can avoid the unwanted hit to database to get the data if we cache the data somewhere.  webapi  cache 
9 days ago by andyhuey
ASP.NET Web API CacheOutput
A small library bringing caching options, similar to MVC's "OutputCacheAttribute", to Web API actions.

CacheOutput will take care of server side caching and set the appropriate client side (response) headers for you.

You can specify the following properties:

ClientTimeSpan (corresponds to CacheControl MaxAge HTTP header)
MustRevalidate (corresponds to MustRevalidate HTTP header - indicates whether the origin server requires revalidation of a cache entry on any subsequent use when the cache entry becomes stale)
ExcludeQueryStringFromCacheKey (do not vary cache by querystring values)
ServerTimeSpan (time how long the response should be cached on the server side)
AnonymousOnly (cache enabled only for requests when Thread.CurrentPrincipal is not set)

Additionally, the library is setting ETags for you, and keeping them unchanged for the duration of the caching period. Caching by default can only be applied to GET actions.  cache 
9 days ago by andyhuey
LHD: Improving Cache Hit Rate by Maximizing Hit Density (PDF)
Cloud application performance is heavily reliant on the hit rate of datacenter key-value caches. Key-value caches typically use least recently used (LRU) as their eviction policy, but LRU’s hit rate is far from optimal under real workloads. Prior research has proposed many eviction policies that improve on LRU, but these policies make restrictive assumptions that hurt their hit rate, and they can be difficult to implement efficiently.
We introduce least hit density (LHD), a novel eviction policy for key-value caches. LHD predicts each object’s expected hits-per-space-consumed (hit density), filtering objects that contribute little to the cache’s hit rate. Unlike prior eviction policies, LHD does not rely on heuristics, but rather rigorously models objects’ behavior using con- ditional probability to adapt its behavior in real time.
To make LHD practical, we design and implement RankCache, an efficient key-value cache based on mem- cached. We evaluate RankCache and LHD on com- mercial memcached and enterprise storage traces, where LHD consistently achieves better hit rates than prior poli- cies. LHD requires much less space than prior policies to match their hit rate, on average 8× less than LRU and 2–3× less than recently proposed policies. Moreover, RankCache requires no synchronization in the common case, improving request throughput at 16 threads by 8× over LRU and by 2× over CLOCK.
cache  performance  memcached  cs 
10 days ago by euler

« earlier    

related tags

a  analysis  and  android  apple  array  artifactory  assemblies  assembly  aws  axel  behavior  best_practice  big-data  blog  blogthis  book  borrar  breaker  browser  build  building  bulkhead  business_components  c#  caching  cassandra  cdn  chrome  circuit  clear  cli  cloud  cms  collaboration  computing  config  contenedores  cookie  cpu  craftcms  cs  dashboard  data-grid  data  database  datastructure  db  design  dev  development  device  devops  distributed  django  dlls  dns  docker  documentation  drupal  drush  electronicswizardary  encoding  extension  fastly  fault  favoritos  file+vm  firewall  flush  flywheel  fonts  formacion  fpc  framework  gac  go  golang  google  gradle  graphql  graphs  guava  ha  haproxy  header  headers  hosting  howto  http  iis  imagenes  indesign  infrastructure  inmemory  iosdev  java  javascript  kariosdb  keyvalue  kotlin  kubernetes  l2arc  laravel  library  limpiar  linked  linux  list  localstorage  macos  magento2  making  management  mar18  mechanical-sympathy  memcached  memoria  memory  meta  method  microservices  module  monitoring  mysql  netflix  network  networking  nginx  node  nodejs  nosql  npm  offline  opcache  opensource  operational-analytics  optimization  osx  pdf  performance  php  plugin  preference  programming  prometheus  proxmox  proxy  psr-16  psr-6  psr  query  quote  rails  re-upload  reference  reset  reverseproxy  rocksdb  ruby  scripting  security  self-hosted  server  servers  service  settings  sheet  sitecore  sitespeed  software  softwareengineering  speed  sprite  spritesheet  squid  ssd  standard  storage  structure  styleguide  supercache  svg  synchronous  sysadmin  tableau  timmer  tolerance  tomcat  tool  traffic  tsdb  tutorial  typekit  vary  view  virtual  warm  warmer  web  webapi  webdesign  webfont  windows  with  wordpress  work  worker  wpsupercache  zfs 

Copy this bookmark: