Comments (6)
From Igor Shuvalov on 2013-09-21 17:52:54+00:00
you don't like RoninDev/dms-cache ?
from dms.
From Matt Joiner on 2013-09-22 08:24:52+00:00
I'll reevaluate it.
from dms.
From Matt Joiner on 2013-10-03 07:19:14+00:00
@ronindev , my concern is that as soon as the cache becomes persistent, we have the problem that we're reinventing the wheel. That is to say that the cache as it is in your fork is unbounded, and not generic.
I wonder if we should make use of some other technology, such as redis or similar, and make use of their ability to limit the cache size etc.
Another thought is store the metadata in a hidden file next to the file it describes thereby having the metadata deleted when the directory is removed, however that requires write access to the shared path, which can't be assumed.
Let me know what you think, I'm open to ideas here.
from dms.
From Matt Joiner on 2013-10-03 08:28:49+00:00
I've done some poking around. I was going to go with groupcache with NoPeers but it doesn't provide access to the underlying cache, which is LRU anyway. I think the vitess lru cache is the way to go, as the items are accessible and so can be marshalled to and from disk easily.
from dms.
From Matt Joiner on 2013-10-04 19:39:35+00:00
I'm implementing a persistent random replacement cache in the branch persistent-ffprobe-cache. Let me know what you think.
from dms.
From Matt Joiner on 2013-12-09 08:52:24+00:00
Implemented a random-replacement persistent cache.
from dms.
Related Issues (20)
- can not serv the flac and mp3 file HOT 1
- BubbleUPnP and DMS HOT 3
- HomeAssistant TorrServe error HOT 1
- dms binary can't be executed in NixOS. HOT 6
- binary: log level configuration HOT 1
- got an SSDP server running in LAN already, so how to disable SSDP listening in dms? HOT 7
- ssdp panic while caltulating delay time HOT 2
- Verbose/Debug output? HOT 3
- broken pipe from ffmpeg when transcoding HOT 3
- Does not work with Kodi HOT 7
- Can it run in the environment without go installed? HOT 4
- Can it cast to Chromecast audio directly? HOT 2
- Samsung TV: Video found but cannot be played (works on minidnla, trace attached) HOT 10
- Serving media from non-local/dummy filesystem HOT 6
- foobar2k iOS? HOT 1
- Not discovered by LG WebOS HOT 4
- Path must be absolute HOT 5
- docs HOT 1
- grep not works on usage message HOT 4
- how to use ffmpeg instead avconv? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dms.