Cache for distributed system

I looking for any information about the right way to implement cache for distributed system, my system is running in many separated services and several languages(C#, Java, AngularJS etc..), all of the services can run in separated machine. I want t...
more »

2017-03-21 21:03 (1) Answers

File locked even if site down

From time to time i get file in use error when trying to build.. and respectively publish - even with app_offline handler or site turned off. So i have to find the reason why IIS locks files. I have caching service: public T Get<T>(string i...
more »

2017-03-21 16:03 (0) Answers

Caching and crsftoken

A view could be completely cached forever except the crsftoken, which obviously should not be cached. Is it possible to disable caching just for it or how is the common way of implementing this? ...
more »

2017-03-21 15:03 (1) Answers

AMAT & L1 Hit time

I need to know the Average Memory Access Time (AMAT) for a given processor. I Know the formula AMAT = Hit time + (miss rate * miss penalty), But I have no idea how to get information about the Hit time. Is there any tool to get information about cach...
more »

2017-03-21 13:03 (0) Answers

L1 cache vs Main memory

How many cycles does it take to access the L1 cache and main memory i know it is dependent. if L1, L2, L3 are missed, how many cycles does it take to access main memory ? but i want to know approximate average cycles. ...
more »

2017-03-21 10:03 (1) Answers

GraphQL caching mechanism

I want to use GraphQL to access data from different data sources (CSV, SQL Server, Web Server) . I want to know if caching mechanism is supported, so that when the connection is lost the data is still available? I see the data loader which is data ba...
more »

2017-03-21 08:03 (1) Answers

Caching attributes in superclass

I have a class which caches some values to avoid computing them many times, for instance class A(object): def __init__(self, a, b): self.a = a self.b = b self._value = None @property def value(self): if ...
more »

2017-03-20 22:03 (1) Answers

foreign data wrapper caching mechanism support

I want to use FDWs to access data from different data sources (CSV, SQL Server, Web Server) . I want to know if caching mechanism is supported for Foreign tables, so that when the connection is lost the data is still available? Thanks. ...
more »

2017-03-20 14:03 (1) Answers

WSO2 - Gateway Token Cache not working

We are using WSO2 to access some of our services. WSO2 also handles authentication. We are facing a problem with this authentication though. When we do a request for a token we get an active token which is about to expire (let's say 1 second left). ...
more »

2017-03-20 13:03 (1) Answers

mod_expires.c cause session problems

I active mod_expires.c with this configuration : ## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/gif "acces...
more »

2017-03-20 11:03 (0) Answers

Caching query results in MongoDB

I will be working on a large data set that changes slowly so I want to optimize the query result time by using a caching mechanism. For example , if I want to see some metrics about the data from the last 360 days I don't need to query the database a...
more »

2017-03-20 09:03 (1) Answers

Why does varnish hit-for-pass

When we were running load test on our application that is behind a varnish 4.1 server, we remarked that after a server error (500 returned with Cache-Control: no-cache) we were experiencing a load pea on our backendk. Afer diving in the varnish conf...
more »

2017-03-20 08:03 (1) Answers

Making better sense of the PTX store caching modes

I'm looking at the Store instruction caching modes table within the PTX ISA specification (for PTX v2). It provides details regarding four caching modes: .wb: Cache write-back all coherent levels .cg: Cache at global level (cache in L2 and below, n...
more »

2017-03-19 18:03 (1) Answers

OsmDroid - MapView background

how can I set map background in OsmDroid? I create custom WMS Provider and call on this url: final String WMS_FORMAT_STRING = "http://%s" + "?service=WMS" + "&version=1.1.1" + "&req...
more »

2017-03-19 13:03 (0) Answers

Prevent http request caching at client side

I am trying to measure the response time of a Web Server , at client side but the response times are very small. So I think that the requests are caching at the client side. I have already tried adding appendices next to url but no change. ...
more »

2017-03-19 13:03 (0) Answers