Skip to main content

Home/ Coders/ Group items tagged Caching

Rss Feed Group items tagged

Fabien Cadet

MIT's Introduction to Algorithms, Lectures 22 and 23: Cache Oblivious Algorithms - good... - 0 views

  • Cache-oblivious algorithms should not be confused with cache-aware algorithms. Cache-aware algorithms and data structures explicitly depend on various hardware configuration parameters, such as the cache size. Cache-oblivious algorithms do not depend on any hardware parameters.
  • An example of cache-aware (not cache-oblivious) data structure is a B-Tree that has the explicit parameter B, the size of a node. The main disadvantage of cache-aware algorithms is that they are based on the knowledge of the memory structure and size, which makes it difficult to move implementations from one architecture to another.
  •  
    « Cache-oblivious algorithms take into account something that has been ignored in all the lectures so far, particularly, the multilevel memory hierarchy of modern computers. Retrieving items from various levels of memory and cache make up a dominant factor of running time, so for speed it is crucial to minimize these costs. The main idea of cache-oblivious algorithms is to achieve optimal use of caches on all levels of a memory hierarchy without knowledge of their size. »
Joel Bennett

Microsoft "Velocity" In-Memory Cache - 0 views

  •  
    "Velocity" provides a highly scalable in-memory application cache for all kinds of data. It supports optimistic and pessimistic concurrency models, high availability, and a variety of cache configurations...
Joel Bennett

Output Caching with the Spark View Engine - 0 views

  •  
    Expiring the cached output when it reaches a certain age, or when unused for a certain period, always involves a trade-off... To have ultimate control over your cached data you may provide an ICacheSignal that will fire an event when the data changes.
Paris Polyzos

Application Request Routing : The Official Microsoft IIS Site - 0 views

  • rules based on the URL, HTTP headers, and server variables to determine the most appropriate Web application server for each request
  • ARR enable hosting providers to route requests from clients to specific Web application servers in a server farm by creating an affinity between the client and server.
  • They can easily add or remove servers from a server farm to match demand throughput without impacting application availability
  • ...5 more annotations...
  • ARR is able to cache on disk any HTTP traffic that passes through the server
  • hierarchy of IIS Web servers running ARR, CDNs and hosting providers are able to considerably reduce the network traffic that traverses up to the origin server.
  • Health monitoring
  • Disk-based caching
  • Warming up cache mode
  •  
    enables Web server administrators, hosting providers, and Content Delivery Networks (CDNs) to increase Web application scalability and reliability through rule-based routing, client and host name affinity, load balancing of HTTP server requests, and distributed disk caching
Matteo Spreafico

Building Super-Scalable Web Systems with REST - 3 views

  • Standard fare for most dynamic data and the way most everybody would tell you to do it. Only thing is that it scales like a dog.
  • The thing is that holding all the weather of the entire globe in memory, well, takes a lot of memory. More than is reasonable. In which case, there’s a fairly decent chance that a given request can’t be served from the cache, resulting in a query to the database, an update to the cache, which bumps out something else, in short, not a very good hit rate.
  • If we were able to make our clients in London perform an HTTP GET on http://weather.myclient.com/UK/London then we could return headers in the HTTP response telling the intermediaries that they can cache the response for an hour, or however long we want.
  • ...1 more annotation...
  • Instead of getting hammered by millions of requests a day, the internet would shoulder easily 90% of that load making it much easier to scale. Thanks Al.
Fabien Cadet

Programming as if Performance Mattered, by James Hague [2004-04-04] - 3 views

  • I frequently see bare queries from programmers in discussion forums, especially from new programmers, who are worried about performance. These worries often stem from popular notions about what operations are "slow." Division. Square roots. Mispredicted branches. Cache unfriendly data structures.
  • Inevitably someone chimes in that making out-of-context assumptions, especially without profiling, is a bad idea. And they're right.
  • The golden rule of programming has always been that clarity and correctness matter much more than the utmost speed. Very few people will argue with that. And yet do we really believe it? If we did, then 99% of all programs would be written in something like Python. Or Erlang.
  • ...5 more annotations...
  • At the same time, such concerns and advice seem to remain constant despite rapid advances in hardware.
  • That tempting, enticing, puzzle-solving activity called "optimization," it hasn't gone away either.
  • Only now the process is on a different level. It isn't machine level twiddling and cycle counting, but it isn't simply mathematical analysis of algorithms either.
  • The big difference is that the code changes I made are substantially safer than running a program and having it silently hang the system. All array accesses are bounds-checked. There's no way to accidentally overwrite a data structure. There's no way to create a memory leak.
  • Really, this is what those cycle-counting programmers from 1985 dreamed of.
  •  
    « I frequently see bare queries from programmers in discussion forums, especially from new programmers, who are worried about performance. These worries often stem from popular notions about what operations are "slow." Division. Square roots. Mispredicted branches. Cache unfriendly data structures. »
alex gross

Univar - Session, cookie, query string & cache variables unified - 5 views

  •  
    s a web developer I have often had to work with the session, cookie, query string and cache to persist data locally. But it is a shame that there is no neat way of doing so. So I decided to write my own code to provide a simpler and unified model to work with and finally came up with this, a type safe and generic wrapper that supports complex data types
Joel Bennett

Epic Privacy Browser - 6 views

  •  
    Give up your extensions, spell-check, password saving and form-filling, your auto-suggest for search, your history and web/DNS cache ... and get privacy. Epic even routes your searches through it's proxy so you can use Google without being tracked.
  •  
    The question is, are you giving up too much stuff that you didn't need to give up? It seems to me that you could keep spell-check at a minimum ;)
Fabien Cadet

Intel® 64 and IA-32 Architectures Software Developer's Manuals - 0 views

  •  
    Software Developer's Manuals: * Volume 1: Basic Architecture. * Volume 2A&B: Instruction Set Reference. * Volume 3A&B: System Programming Guide. * Optimization Reference Manual. * Memory Ordering White Paper. * Application Note: TLBs, Paging-Structure Caches, and Their Invalidation. * x2APIC Specification.
Joel Bennett

tweetsharp - Google Code - 0 views

  •  
    A feature-complete fluent .net library for the Twitter API. A simple, discoverable, fluent interface for building Twitter queries, as well as additional features like asynchronous processing, server-side caching, url shortening, and rate throttling. Now go, create.
Joel Bennett

Helicon Ape - .htaccess + mod_rewrite compatibility for IIS - 0 views

  • Helicon Ape is a unique module that emulates Apache execution environment on Microsoft IIS. It literally implements Apache configuration model (like .htaccess and httpd.conf files) and all most demanded Apache modules in a single IIS add-on, not only making IIS compatible with Apache, but also extending it’s functionality
  •  
    An IIS 7 Module which implements .htaccess and httpd.conf compatability, per-site installation, URL rewriting and forward/reverse proxy modules, etc. There's a huge list of implemented modules including auth, cache, deflate, filter, headers, proxy, rewrite, and env ...
  •  
    Supposedly, allows users to move Apache/PHP sites to IIS without modification!
escaping1 escaping1

Flag Polo Ralph Lauren pas cher Il - 0 views

Engagé jusqu'en juin 2015 avec les Spurs, Pochettino ne cache pas ses ambitions et imagine un jour entraîner un grand d'Europe. Interrogé sur les ondes de RMC mardi, l'ancien international a confié...

City Polo Ralph Lauren pas cher,Flag cher,Mesh cher

started by escaping1 escaping1 on 27 Apr 16 no follow-up yet
longchamppas

Doudoune Dsquared2 pas cher 17h30 - 0 views

Thomas De Gendt victorieux, Froome impérialThomas De Gendt (Lotto Soudal) s'impose sur le mont Ventoux après avoir pris part à l'échappée. Dans le même temps, Christopher Froome (Sky) a fait la dif...

Gabbana pas cher Doudoune Dsquared2 Duvetica

started by longchamppas on 16 Jul 16 no follow-up yet
escaping1 escaping1

dépense. sac a dos longchamp pas cher - 0 views

Harpagon Adieu : va. sac longchamps pliage pas chert'en à tous les diables.La Flèche Me voilà fort bien congédié.Harpagon Je te le mets sur ta conscience, au moins. sac longchamp pliage solde Voilà...

sac a dos longchamp pas cher

started by escaping1 escaping1 on 06 Dec 13 no follow-up yet
escaping1 escaping1

veste ralph lauren pas cher Les Occidentaux - 0 views

écrit le journaliste Jacques Massé dans un livre (1) consacré à la question paru cette semaine . Le consensus pour ne rien faire était général... Aucune disposition de l'Accord de Dayton n'obligeai...

robe ralph lauren pas cher veste chausse

started by escaping1 escaping1 on 20 Jun 14 no follow-up yet
escaping1 escaping1

Flag Lacoste pas cher Endormies - 0 views

Il faut fermer la télévision de Laridjani», pouvait-on entendre dans leurs meetings de contestation.Face à la concurrence accrue des images satellitaires de l'opposition qui diffusent clandestineme...

Tee Shirt Lacoste pas cher Flag Short Ralph Lauren

started by escaping1 escaping1 on 21 Jun 14 no follow-up yet
subsequent1 subsequent1

Lunettes Soleil Ray Ban Clubmaster pas cher pays - 0 views

Or le phénomène toucherait entre 4 et 10% de la population.Conclusion du Dr Philip : «La sécurité routière a toujours été traitée par les ministères et les administrations des Transports. Or, aujou...

Lunettes Soleil Ray Ban Highstreet Clubmaster pas cher Versace

started by subsequent1 subsequent1 on 14 Jun 14 no follow-up yet
escaping1 escaping1

lunette ray ban femme noir L'indépendance - 0 views

Une inquiétude nourrie chaque semaine par des déclarations enthousiastes du président du gouvernement espagnol, lequel a assuré que le «début de la fin de l'organisation terroriste basque était pro...

lunette ray ban femme optique noir de soleil homme aviateur

started by escaping1 escaping1 on 05 May 14 no follow-up yet
1 - 20 of 31 Next ›
Showing 20 items per page