Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Advanced-java] Fast Persistence of Unique Numbers


  • From: kkonaka@xxxxxxx (kkonaka@xxxxxxx)
  • Subject: [Advanced-java] Fast Persistence of Unique Numbers
  • Date: Sat, 19 Jan 2002 09:43:08 -0500

how about using
sun.rmi.log.ReliableLog as the log file maintainer, combined with
something like java.security.SecureRandom as the number generator?
- may reduce number of lines one have to write :)
kenji

(at least - two fsync()s should still be faster than 
a {close(),rename(),open()} triplet)