Playing around with Redis for fast safe queuing
Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
spec/models
test
vendor
.gitignore
Gemfile
Gemfile.lock
README
Rakefile
config.ru

README

== redis test

Just playing around with redis and mongo for fast data imports with safe queues

Current benchmark times (2.4ghz c2d)

# foo_upload.parse_file
108.390000   4.580000 112.970000 (128.152839)

# foo_upload.load_parsed_data_for_working
  9.290000   2.350000  11.640000 ( 19.378842)

# until foo_upload.work_complete?; worker.work_once; end
299.780000  47.320000 347.100000 (447.298102)