online fast computation environment for ruby

I'm writing a ruby program that need raw cpu power (I know ruby is a very bad choice for this!).. but I don't have a powerful computer, so I wanted to rent something online that you pay per hour..

Any idea? Something simple to use yet very powerful, with multiple cores. I took a look at amazon ec2, that's a possibility. Anything else, more CPU oriented?

-------------Problems Reply------------

As far as on-demand compute power, Amazon's EC2 is a good choice. You can either pay market rates or you can go to their special discount spot market which is similar, but your instance can and will be terminated without warning when demand picks up again.

It's best to have a system that either uses a persistent EBS drive to save results, or saves them to something like S3 frequently.

If you can parallelize your processing, try and split it across the most cost-effective instance type instead of having to pay a premium for a single instance. For example, the XL Hi-CPU On-Demand Instance gives you 20 compute units for $0.68/hr. compared with the 4XL Cluster Compute Instance which is only 33.5 for $1.60/hr.

Remember that a single Ruby process can only use one CPU core unless you're using a combination of JRuby and threads. You will need to support multiple processes in order to make full use of the machine if this is not the case.

SimpleWorker - I think it's more simpler then EC2.

Category:ruby Views:8 Time:2011-11-08

Related post

  • Numerical computing environment on cloud? [ Undergrad Project ] 2010-08-12

    I am a computer science undergraduate currently in my final year. As my final year project, I am thinking of creating a matlab-like numerical computing environment as SAAS that supports matrix manipulations, plotting of functions and data, image proc

  • Running R jobs on a grid computing environment 2010-10-05

    I am running some large regression models in R in a grid computing environment. As far as I know, the grid just gives me more memory and faster processors, so I think this question would also apply for those who are using R on a powerful computer. Th

  • How to specify rubygems path in environment-less Ruby script? 2009-10-09

    I've written a data collection script for Cacti in Ruby and it runs fine from the command line but Cacti runs the script via "env -i" which strips the environment so Ruby can't find the rubygems library ("in `require': no such file to load -- rubygem

  • Race car game, car moving faster on faster computer 2010-02-04

    I understand why it does that but I don't really have any idea of how to prevent that. So the scenario is, every frame I move the car by a certain of predefined pixels. What happens is when I go on slow or faster computer... well I get less or more f

  • How can I create a reliable and fast network daemon with Ruby? 2012-02-07

    I am trying to create a Ruby daemon process which clients will be able to connect to. I need to ensure that the remote Ruby process always remains up and available for connection, so I need to detect network outages or unreachable errors. I was think

  • Loading existing Sqlite database into memory for fast computation 2012-03-22

    Does anyone knows how to load an existing database (Sqlite 3) into memory for fast computation in Perl, MATLAB or Java? Perl is preferred? I am working on a project that needs intensive computation, and I want to keep the real database fixed. So I wa

  • No more room on my computer. How and what do I delete to optimize more space and have a faster computer 2014-05-28

    What can I delete to have a faster computer and how do I get there? --------------Solutions------------- What Joshi mentioned will work. CCleaner may do an even more thorough job. CCleaner Also, if it has bee

  • How come it takes forever and i do mean forever to download a movie i paid for? I have a fast computer and a moderately fast connection. I don't understand 2014-11-23

    How come it takes forever and i do mean forever to download a movie i paid for? I have a fast computer and a moderately fast connection. I don't understand --------------Solutions------------- Hello and thank you for posting. Your download issues may

  • Why Ruby 1.9 GUI hangs if i do any intensive computation in separate Ruby thread? 2012-01-30

    Ruby 1.9 is supposed to have native threads, and GIL is supposed to lift if some threads enters native code (like GUI toolkit main loop or C implementation of some Ruby lib). But if i start following simple code sample that displays GUI in main threa

  • RoR environment in Ruby standalone script 2008-12-02

    I want to run a standalone ruby script in which I need my RoR environment to be used. Specifically, I need my models extending ActionMailer and ActiveRecord. I also need to read the database configuration from my database.yml. How do I go about it? -

  • quick/fast integer multiplication in ruby? 2009-11-24

    I am trying to make a quick/efficient Mandelbrot implementation in Ruby. A long long time ago, one way to speed it up was using fixed point integers instead of floats. So i made the following benchmark, comparing float and integer raising to a square

  • How to create a new environment in Ruby on Rails? 2010-03-03

    I'm trying to create a new environment (build) for using it with hudson. I'm doing this because I didn't want to mix up my test databases with hudson test database. --------------Solutions------------- Assuming you want create the hudson environment.

  • How to log Computer Environment name in log4net? 2010-04-07

    Does anyone know how to dump environment name in log4net? e.g. <conversionPattern value="%date{ISO8601} Server:%property{log4net:HostName} [%-5level] %m" /> This will give computer name. --------------Solutions------------- Not sure what do you

  • What are fast XML parsers for Ruby? 2010-10-27

    I am using Nokogiri which works for small documents well. But for a 180KB HTML file I have to increase the process stack size, via ulimit -s, and the parsing and XPath queries take a long time. Are there faster alternatives available using a stock Ru

  • Expose Rails App Environment to Ruby Script 2010-11-16

    Out of pure curiosity, I am wondering if it's possible (no doubt it is) to 'hook into' a Rails Application's environment. So for example, say I want to create a cron script (I don't) that operates some sort of maintenance on a Rails app, and I want t

  • Best possible environment for Ruby and Rails on Windows 7? 2011-07-19

    I normally develop for Ruby and Ruby on Rails on a mac, but in my workplace we use Windows. We are starting to do some stuff in Ruby at work, so I am trying to set up an environment... and it is a pain in the ass. I just installed ruby with the win a

  • fast computation of histogram on a grid 2011-08-15

    I have a greyscale 200x200 image and I would like to compute the histogram of the intensity for each 8x8 window in the image. How can I compute that fast? I use for loops now but it is so slow. My current code looks like: I = imread('image.jpg'); for

  • Setting up Rhodes environment with Ruby on Rails already installed 2011-08-26

    I am learning and have already set up a Ruby on Rails environment based on Hartl's book. I would also like to set up a Rhodes environment for mobile app development. How would I set up Rhodes after having set up Ruby on Rails, without messing up my R

  • Need a fast computer for PTC software. 2013-03-15

    Hello to all. I need a fast desktop computer for a PTC software, OS in not a problem is long is it will run PTC with add on without hick-ups. System will be used heavily for calculation and drafting/design. This is a not a gaming computer... Was thin

Copyright (C), All Rights Reserved.

processed in 0.132 (s). 11 q(s)