38,437 questions
1
vote
0
answers
17
views
cache coherence vs atomicity
I want to verify that if I understand properly the notion of atomicity and cache coherence.
Starting with a simple scenario with only one shared memory location a, so I suppose there is nothing to do ...
1
vote
1
answer
41
views
Avoiding unnecessary caching of data when using numpy memmap
I have a program that reads through very large (~100GB-TB) binary files in chunks using numpy memmap. The program does a single pass over the data, so there is no need to cache anything since there is ...
0
votes
0
answers
47
views
How to implement an in-memory cache in Spring Boot with Java 8 that stores a list of strings and loads automatically on application startup? [closed]
I am trying to implement an in-memory cache in a Spring Boot application using Java 8. The cache should store a list of String values, and it should automatically load with values at application ...
-2
votes
0
answers
47
views
Woocommerce “add to cart” button is acting very strange [closed]
the site page I am working on is “companykd.com/designer-finds”. The “add to cart” button has been working fine until today. In some browsers it will work (chrome) and on others it won’t (safari). My ...
1
vote
1
answer
23
views
Cache for REST requests in icCube
Is there a way to activate caching for REST requests in icCube? It seems we can enable caching for GVI and XMLA but not for REST. Where can I find some relevant documentation?
iccube.xml:
<...
-1
votes
1
answer
49
views
Is it beneficial caching a DTO rather a DAO? [closed]
this is a sample code of how we do caching in our application
@Service
public class CacheService {
@Autowired
private ChannelRepository channelRepo;
@Cacheable(...
0
votes
0
answers
33
views
UNet is loading 1 epoch per day [closed]
I am not allowed to share my full code but I can share parts.
I have built a UNet that uses cache and shuffle buffers. It was working well and training fast until I realised any updates I made were ...
0
votes
1
answer
16
views
Revalidation Delay in Next.js
I'm working with Next.js version 14. The goal is to allow a user to apply for a listing only if they have enough credits. If they don’t have enough credits, I redirect them to a payment page.
After a ...
-2
votes
1
answer
37
views
How to replace multiple slashes with backslashes in URL string in Node.js environment?
I cache images in a directory after fetching them from different URLs. The cache files must identify the URL precisely so, in my ext4 file system where NUL and / chars are not allowed in file names, I ...
0
votes
2
answers
57
views
Are use cases of Redis mutually exclusive? E.g is Redis either a cache or a DB or something else but not all at once?
I have not used Redis but from what I have read it can be either an application level cache or can be used as a durable storage i.e. a primary NoSQL DB.
Also in my understanding it is a in-memory ...
0
votes
1
answer
38
views
Deserialize a cached response into a Kontent ai strongly typed object
I'm using Blazor wasm with .Net 8 and the Kontent.Ai.Delivery package and I'm trying to integrate caching into the system.
One problem I'm facing is, after I store the data as json in cache, I can't ...
1
vote
1
answer
92
views
Data Not Refreshed in Physical Memory After fork() and copyDataToBuffer Calls
I'm encountering an issue where data in physical memory is not being refreshed after a fork() call and subsequent plib->copyDataToBuffer operations in a C++ program.
Here's a summary of the problem:...
0
votes
0
answers
45
views
BoundedLocalCache$BoundedLocalAsyncCache and ASYNC in Caffeine
Am trying to setup Async cache for springboot instance(3.x) and everytime I try to buildAsync, I get the following error
Caused by: org.springframework.beans.factory.BeanCreationException: Error ...
0
votes
0
answers
53
views
Migrating Angular app to microfrontends (native-federation) broke my caching strategy
I used to have a single Angular (monorepo) app in production. Users would often complain about cached/stale content, so I enabled an Angular Service Worker (PWA) to force updates whenever we deployed ...
0
votes
0
answers
37
views
NGINX cache always returning MISS in browser although its caching
I am trying to learn caching using nginx to cache my NEXT APIs. This is my
nginx.config
worker_processes 1;
events {
worker_connections 1024;
}
http {
proxy_cache_path /tmp/nginx/cache ...