Questions tagged [diskcache]

DiskCache is an Apache2 licensed disk and file backed cache library, written in pure-Python, and compatible with Django.

46 questions
0
votes
1 answer

Running into a race-condition, even with a 'wait'

I'm facing a strange race condition in my bash program. I tried duplicating it via a simple enough demo program but, obviously, as true for all/most timing-related race demonstration attempts, I couldn't. Here's an abstracted version of the program…
Harry
  • 3,684
  • 6
  • 39
  • 48
0
votes
1 answer

ImageResizer diskcache System.IO.IOException

The following exception is logged in our application: System.IO.IOException: Insufficient system resources exist to complete the requested service. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at …
advsoap
  • 3
  • 2
0
votes
0 answers

How can I use both DiskLruCache(DiskCache) and LruCache(MemoryCache)?

I'm developing Image Loader using both cache. and here is my logic. 1st, start get the images on the disk cache (when app starting) 2nd, check the memory cache. if it is, load from Cache memory. 3nd, If the image doesn't exist in memory cache, check…
Adrian
  • 301
  • 4
  • 15
0
votes
1 answer

Lock strategy in cache java

I'm developing disk cache (multithread). Cache can have many users at once. That is why I can write some rules: 1) Cache can't edit (or delete) file when client reads it. 2) When cache is editing file, clients should wait for the end of editing (and…
Adey
  • 1,846
  • 1
  • 10
  • 18
0
votes
0 answers

No performance improvement after adding diskcache: QtFrameWork(4.8)

I have an app that needs to be improved by adding disk cache to it. Because it will be deployed on different devices in the future. I have tested the current version with memory caching on a test device. As expected the first load of a specific page…
Isuru
  • 430
  • 5
  • 21
0
votes
1 answer

IE 11 Temporary Internet Files Disk Space set to 0 and would not change

Not so much a question as the issue I think has been solved I had a user ring me today when an application on our network would freeze before the users application menu appeared after they had logged in. It just did not appear. After a bit of…
Rick
  • 61
  • 1
  • 7
0
votes
1 answer

mod_cache_disk define max disk usage

I'm using mod_cache_disk to cache some data via apache, I have a 150gb avaiable but mod_cache_disk is only caching 2gb. I couldn't find a directive that explicit the disk usage, how can I do this? My current configuration is: CacheEnable disk…
Lucas César
  • 111
  • 1
  • 11
0
votes
1 answer

Volley only caches images in memory, but I want the cache both on disk and memory

I'm using volley like this. The problem is, Volley in my case only caches images in the memory but not on the disk. If I force the my application, all caches will be removed from the memory. How can I have caches on both the memory and the…
Alex
  • 1,623
  • 1
  • 24
  • 48
0
votes
1 answer

How to disable write barrier on docker thinpooldev?

My server has very low disk performance if write barrier is enabled. As it has a disk controller with battery for the cache it is safe to add the "nobarrier" option to /etc/fstab. This makes a huge difference in performance. I want to the same for…
Peter
  • 1,753
  • 18
  • 19
0
votes
1 answer

How to handle disk cache while use Retrofit?

I wanna to cache my data which request by Retrofit,but i don't know how to implement it. As we know read/write cache is time-consumed,and we should not do it in main thread. Does anybody can tell me how should i do to cache my data with…
Folyd
  • 1,148
  • 1
  • 16
  • 20
0
votes
1 answer

ifstream, unbuffered read, and no read ahead caching?

I'm trying to accurately determine some of the interactions between a userland program using the C/C++ library and the OS (and its components like the filesystem's Page Cache or Disk Cache). I have two questions. First, is "unbuffered" in C/C++…
jww
  • 97,681
  • 90
  • 411
  • 885
0
votes
2 answers

"sync" command over NFS

I'm working on a backup system over NFS, and I want to ensure as much as I can that the files are really written to the disk. Currently, when doing backups on my local hard disk, I copy everything into a temporary folder, do a sync() to flush the…
Rastersoft
  • 1
  • 1
  • 3
0
votes
1 answer

ImageResizer and Diskcache still queries my IVirtualImageProvider each time

I am trying to use ImageResizer (from http://imageresizing.net) in an ASP.Net MVC 4 website. I created an IVirtualImageProvider to fetch my images on a distant server (actually connected to SQL server with Entity). All is fine. Something odd is…
Kek
  • 3,145
  • 2
  • 20
  • 26
-1
votes
1 answer

Setting Disk Cache size in Selenium, while webscraping multiple websites?

From the available information I understood that setting disk cache size in selenium will help in faster loading of the web pages, when we are doing the scraping or anything on single website. But my question is what good will it do if we set the…
-1
votes
2 answers

Testing for disk cache buffers being flushed

I currently have a video file that's being converted to a different format via a shell_exec() call. No problems with the call or with the format conversion, that all works correctly; but my next step is to push that file up to an s3 bucket. However,…
Mark Baker
  • 209,507
  • 32
  • 346
  • 385
1 2
3