Ruby on Rails C Extension with RubiInline (small job)
$30-250 CAD
Selesai
Disiarkan sekitar 12 tahun yang lalu
$30-250 CAD
Dibayar semasa penghantaran
I am looking for a Ruby on Rails developer to build a Ruby class with a method that has multithreading functionality written in C (RubyInline).
Here are the requirements for the multithreading method
- must be written in C using RubyInline
- is able to accept 2 VALUE parameters: (1) an array of elements which will be placed in a "thread pool" and (2) the number of threads
- will spawn a number of threads and supply them on demand based on the number of threads requested
- threads automatically close when there is no more supply
Here are more specifics of the simple application that needs to be built:
- an "User" model. The database table can have only one column: name (string)
- a ruby "Job" class which contains the method with the multithreading functionality.
- the method should be able to accept a large array of names (e.g. ["Adam", "Mary",……………,n]) and an "x" number of threads. Each name is added to "users" table through threads.
Thank you for your consideration.