Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    mycloud 0.48

    Download button

    No screenshots available
    Downloads: 570  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Russell Power | More programs
    BSD License / FREE
    December 3rd, 2011, 00:22 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    mycloud description

    Work distribution for small clusters

    mycloud are leverage small clusters of machines to increase your productivity.

    mycloud requires no prior setup; if you can SSH to your machines, then it will work out of the box. mycloud currently exports a simple mapreduce API with several common input formats; adding support for your own is easy as well.

    Usage

    Starting your cluster:

    # list each machine and the number of cores to use
    cluster = mycloud.Cluster([('machine1', 4),
     ('machine2', 4)],
     fs_prefix='/path/to/store/results')


    Invoke a function over a list of inputs:

    result = cluster.map(my_expensive_function, range(1000))

    Use the MapReduce interface to easily handle processing of larger datasets:

    from mycloud.resource import CSV
    input_desc = [CSV('my_input_%d.csv' % i for i in range(100)]
    output_desc = [CSV('my_output_file.csv']

    def map_identity(k, v):
     yield (k, int(v[0]))

    def reduce_sum(k, values):
     yield (k, sum(values))

    mr = mycloud.mapreduce.MapReduce(cluster,
     map_identity,
     reduce_sum,
     input_desc,
     output_desc)

    result = mr.run()

    for k, v in result[0].reader():
     print k, v



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    clusters distribution | machine clusters | clusters | distribution | productivity

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM