Skip to content
rohitjoshi edited this page Sep 9, 2012 · 16 revisions

lua-mapreduce is a fast and easy MapReduce implementation for lua inspired by other ma-reduce implementation and particularly octopy in python.

It doesn't aim to meet all your distributed computing needs, but its simple approach is amendable to a large proportion of parallelizable tasks. If your code has a for-loop, there's a good chance that you can make it distributed with just a few small changes.

It uses following lua modules.

  1. lausocket: tcp client-server connectivity
  2. copas: Coroutine Oriented Portable Asynchronous Services for Lua
  3. lualogging
  4. serialize(included in this project)

Directory structure:

#lua-mapreduce-server.lua #lua-mapreduce-client.lua #utils/utils.lua #utils/serialize.lua #example/task-file.lua

Clone this wiki locally