Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.055.660 Times

MivRHash 1.0.1

Company: Conbodien
Date Added: November 16, 2013  |  Visits: 430

MivRHash

Report Broken Link
Printer Friendly Version


Product Homepage
Download (35 downloads)



MivRHash (Million-value Remote Hash) is a remote hash table data structure which provides the compatible interface with the Python dict's interface. It stores hash table data in remote server. Therefore, it is useful when your application uses so many big hash tables (dict objects) that memory in one machine is not sufficient (in other words, you can utilize main memory in multiple hosts in your application). It is originally created for storing inverted indexes of a search engine.<br /><br />MivRHash allows you to specify the destination of the host where it will store data into. On the remote host, you need to run mivrhashservice to listen to hash operation requests from the client.<br /><br />Since MivRHash provides the same interface with Python's dict, adapting your application with MivRHash is very easy. It requires you to change only a line of code (e.g., the hash table initialization statement) to make your application a distributed one.<br /><br />MivRHash optimized its performance by using write-back cache. You can specify the cache-size when you initialize the remote hash object. The default cache size is 1000 items.<br />Example<br /><br />On the server (i.e., the machine that will store hash data), run the service:<br /><br />$ python -m mivrhash.mivrhashservice (or python mivrhashservice.py)<br />Server listening on port 10080<br /><br />On the client, write code like this:<br /><br />from mivrhash.mivrhashclient import MivRHash<br />h1 = MivRHash( "server_address", 10080 )<br />h1['hello'] = 'world'<br />h1[5] = 6<br />h1[ ( 'some', 'tuple' ) ] = 'hello'<br />h1[ 'aHash' ] = { 1 : 2, 3 : 4 }<br />h2 = h1[ 'aHash' ]<br />h2[1] = 5<br /># Now you need to explicitly assign h2 to h1['aHash']<br /># because h1 does not automatically recognize the change on its items<br />print h1['aHash'] # { 1 : 2, 3 : 4 }<br />h1['aHash'] = h2<br />print h1['aHash'] # { 1 : 5, 3 : 4 }<br />for k in h1.iterkeys():<br /> print k<br />h1.clear()<br />h1.close() # free memory on remote server and disconnect<br />h1 = None # this also free memory and disconnect<br /><br />Installation<br /><br />MivRHash is designed for very easy installation. It is a pure Python package. You can just copy the whole folder mivrhash into your site-packages directory (e.g., /usr/lib/python2.6/site-packages or C:/Python2.6/Lib/site-packages). The setup script is also available:<br /><br />$python setup.py install<br /><br />It requires no additional dependencies to be installed because it depends only on packages that are in Python standard library (such as cPickle and urllib).<br /><br />#md5=5fcca65413bdbbeaa967150812e2f466

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Ahash Application Cache Change Interface Machine Memory Mivrhash Python Remote Requires Server Store Table Write
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


MIVRHASH RELATED
Text Chat Clients  -  python-jabberbot 2007-07-28
python-jabberbot application is a Jabber bot framework for Python that makes it easy to write simple Jabber bots. One can use these Jabber bots to provide information about running systems, to make Web sites interact with Jabber-enabled visitors,...
5.12 KB  
Server Management  -  emetona 1.0
emetona is a desktop level remote administration server and client application with futuristic design and interface.The Nemetona System consists of two main components:1.The Server: The server is build on Java2.The Client(Nemetona): Built...
 
Utilities  -  RX Cache Out X 5.0.5
Use RX Cache Out X to clean up your application cache!
10.03 MB  
Specialized Tools  -  BMDFM 5.9.9 revision:10-Mar-2006
BMDFM (Binary Modular DataFlow Machine) is software, which enables running an application in parallel on shared memory symmetric multiprocessors (SMP) using the multiple processors to speed up the execution of single applications.BMDFM...
82.11 KB  
Multimedia  -  PlayMyMP3 for Music and Sound 0.6.2a
PlayMyMP3 is a PHP Server application allowing a single machine with a good sound card to play MP3 files, at the request of client machines.
10 KB  
Networking Tools  -  Ping Monitor Free 4.5
A free ping monitor utility with the visual interface to track connection to remote hosts, located in LAN/WAN or Internet. The application sends pings on a regular basis and analyze response to detect status of connections. Connection outage is...
31.28 MB  
Email  -  RoundCube Webmail for Email Systems Utilities 0.1.1
RoundCube Webmail is a browser-based multilingual IMAP client with an application-like user interface.It provides full functionality you expect from an e-mail client, including MIME support, address book, folder manipulation, message searching and...
1.35 MB  
Email  -  RoundCube Webmail for Scripts 0.1.1
RoundCube Webmail is a browser-based multilingual IMAP client with an application-like user interface.It provides full functionality you expect from an e-mail client, including MIME support, address book, folder manipulation, message searching and...
1.35 MB  
Graphics Viewers  -  Sybrex SpeedPDF Information Manager 1.1
Sybrex SpeedPDF Information Manager is a specialized application for change document information for PDF files. Adobe Acrobat is not required. Simply select the PDF file or folder with PDF files, set document's information, charset and push...
1019 KB  
Misc. Server Tools  -  Linux Hardware Scanner 1.1
Linux Hardware Scanner is a Windows client program which scans a remote Linux server, retrieves a full list of hardware and provides detailed information on the hardware configuration of the machine. It can report exact memory configuration,...
650 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, UTILITIES
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Utilities  -  Nessconnect 1.0.2
Nessconnect is a GUI, CLI and API client for Nessus and Nessus compatible servers. With an improved user interface, it provides local session management, scan templates, report generation through XSLT, charts and graphs, and vulnerability trending.
819.2 KB  
Utilities  -  Dynamic Power Management 2.6.16
The Dynamic Power Management (DPM) project explores technologies to improve power conservation capabilities of platforms based on open source software. Of particular interest are techniques applicable to running systems, adjusting power parameters...
30.72 KB  
Utilities  -  Ethernet bridge tables 2.4.37.9
Ethernet bridge tables - Linux Ethernet filter for the Linux bridge. The 2.4-ebtables-brnf package contains the ebtables+bridge-nf patch. Be sure to check out the ebtables hp. This site also contains the arptables userspace tool.
40.96 KB  
Utilities  -  SaraB 1.0.0
SaraB works with DAR (Disk ARchive) to schedule and rotate backups on random-access media (i.e. hard drives, CDs, DVDs, Zip, etc. Basically anything except magnetic tapes.) This reduces hassle for the administrator by providing an automatic backup...
20.48 KB  
Utilities  -  Command Not Found 0.2.41
Command Not Found is a program that uses a cache of existing programs and their associated packages to aid users in their day-to-day command-line work. Usage: command-not-found [options] Options: ...
30.72 KB