Projects tagged ‘cache’ and ‘python’


[17 total ]

1 Users
 

CAFS is a read-only fuse filesystem, which works as a caching middleware above any other (local or remote) filesystem (e.g. sftp, samba, webdav). CAFS can also work in offline mode, when source fs is not accessible.
Created 10 months ago.

0 Users

ophiuchus is a php framework for all types of sites, which contains a module-system, settings-class, hooks and such stuff. It is managed partly by a administration script (probably in python or perl ... [More] , or php) which is used to activate modules. Version 0.2 will include caching. [Less]
Created 12 months ago.

0 Users

This project consists of two (2) files: a python script and an AS class file. You use the python script to create a new XML file describing all your external files (XML, bitmap, video, etc.) by ... [More] simply pointing it at the folder(s) containing those files. Run the python script from the command line (or from an Ant script -- example will be forthcoming soon). Example command line usage: python cachebuilder.py build/images build/xml This script will write out an XML file giving you all the information you need to preload all of these files with accurate information as to how far along you are -- in each folder you care about, if you choose to share that with the user! Download it here: http://flisp.googlecode.com/svn/trunk/cachebuilder.py ...and put it in your project's root folder, then open a terminal window and navigate to that same folder. Then invoke this script using "python cachebuilder.py" followed by the names of the folders you want it to scan for files. So, for example, with the command line: python cachebuilder.py build/jpeg build/swf it might generate a file like: python cachebuilder.py build and it would generate a preloadcache.xml file like this: Now the next step is to write an AS class that knows exactly how to parse this XML doc and sequentially load all the files while firing off a callback announcing (a) the name of the file you're currently loading, (b) the name of the folder you're currently loading, (b) the bytes you've already loaded of the current file, (c) the totalbytes of the current file, (d) the bytes you've loaded of the current folder, (e) the totalbytes of the current folder, (f) the bytes you've already loaded of the whole enchilada, and (g) the totalbytes of the whole enchilada. I'm thinking it'll just make a nice associative array with these properties defined in it, and pass that along to any function you designate as the onLoadProgress handler. so for the example right above, every time more data arrives as part of the load process, you'd fire off the equivalent of this: yourhandlerfunction( { currentfile: "build/jpeg/photo1.jpg", currentfolder: "build", filebytesloaded: 73, filebytesneeded:500, folderbytesloaded:73, folderbytesneeded:2000, totalbytesloaded:73, totalbytesneeded:2000} ); so then the handler could just reach into that object and get its info. For example: myhandlerfunction( info_object: Object ) { var ratio:Number = info_object[ "totalbytesloaded" ] / info_object[ "totalbytestotal" ] ; progressbar.xscale = ratio 100; } [Less]
Created 12 months ago.

0 Users

This is the open-source project page for GlassVine, a peer-to-peer HTTP cache for mesh networks written as an engineering thesis project, and mandated by Ingénieurs du Monde Morer code and ... [More] documentation will flow once the paper is released (so as to avoid problems with school regarding authorship). This projects uses the brilliant twisted library and apsw for SQLite access [Less]
Created about 1 month ago.

0 Users

Building blocks for reliable scaling.
Created 3 months ago.

0 Users

This is the project page for skunk.web, a new and largely rewritten version of the SkunkWeb web application framework. It is written as a series of libraries, which can be used independently or from ... [More] within other frameworks. Highlights include: skunk.cache, a useful cache for memoization. skunk.config, a configuration system which keeps configuration in Python, rather than using INI files or XML. skunk.stml, an implementation of STML (Skunk Template Markup Language). Includes a Buffet plugin. skunk.web, WSGI applications implementing STML active pages and an MVC framework. Right now this is alpha code with incomplete test coverage and not much documentation. skunk.web is available either under a New BSD License or under GPL 3. [Less]
Created about 1 year ago.

0 Users

A Content Dstribution Network based on P2P techology.
Created 12 months ago.

0 Users

creddump is a python tool to extract various credentials and secrets from Windows registry hives. It currently extracts: LM and NT hashes (SYSKEY protected) Cached domain passwords LSA secrets It ... [More] essentially performs all the functions that bkhive/samdump2, cachedump, and lsadump2 do, but in a platform-independent way. It is also the first tool that does all of these things in an offline way (actually, Cain & Abel does, but is not open source and is only available on Windows). [Less]
Created 12 months ago.

0 Users

TwiceTwice is a proxy server that uses caching and partial rendering to reduce load on application servers. Features at a Glance:In-memory cache Basic templating language to render dynmaic page ... [More] elements Intelligent reverse proxy (Squid like functionality) HTTP header and cookie inspection Written in Python using the Twisted event framework Detailed Overview:Twice is a caching reverse-proxy webserver with a templating language and plugable page element rendering engine. You can configure Twice on a per page basis by adding extra HTTP headers to your application server's responses. It is best to run Twice behind a hardened web server (like Apache, Lighttpd, or Nginx). These programs are better suited to serve static content like images and css files. Other requests hit Twice, which serves cached responses when it can. If Twice can't serve a page, it will proxy the request through to the application server(s) and intelligently cache the response. Case Study:At Justin.tv we use Twice to serve the majority of dynamic page views (up to 25 million pages per day). Here are some of the things it does: Temporarily caches pages that update frequently Renders cached pages in foreign languages by inspecting HTTP headers Renders usernames at the top of every page by inspecting browser cookies Renders page view counts into cached pages on demand by reading memcached keys Twice cut our peak application server load by 78% and reduced our average page load time by 50% overnight. [Less]
Created 12 months ago.

0 Users

Smart Cache: What is it?Application level caching code with built-in performance statistics and usage metrics. PurposeThis project is intended to produce language-independent cache metrics to help ... [More] application developers analyze code behavior, improve user experience and manage resources using real numbers. Current StateThis project is in early alpha development. Do not use in production code yet. Related InformationThis project contains the code for supporting a paper in progress on Cache monitoring. [Less]
Created 12 months ago.