old

old is a simple lock server.
Download

old Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Open Software License
  • Price:
  • FREE
  • Publisher Name:
  • Alberto Bertogli
  • Publisher web site:
  • http://auriga.wearlab.de/~alb/msnlib/

old Tags


old Description

old is a simple lock server. old is a short from Open Lock Daemon and is a simple lock server which provides central point where to lock resources in a distributed environment by using TCP/IP to communicate with its clients.Objects are identified by strings, so it's really a general purpose server: you can use it to lock from files to pointers, as long as all your apps have a coherent object naming scheme. This makes it useful to any kind of distributed applications, for instance mailservers or databases.It provides the basic locking primitives (lock, unlock and trylock) and uses a lightweight and simple network protocol, but there are both C and Python libraries which abstract you from handling it directly and provide the normal straightforward functions to use in a very simple and easy way.It's written in plain C and has no dependencies on external libraries, and it has a decent performance (about 7850 lock(A); unlock(A) operations per second on a normal Pentium 4 2.8Ghz).If you're intrested in performance, some measurements have been included inside the package, and you can find a small document in doc/performance (raw data files and scripts used are in doc/perf/ directory); but there are some not included in the tarball, let me know if you want them.What's New in This Release:· A very difficult to hit race was fixed, the library now compiles under Windows, and some minor code improvements were made.


old Related Software