Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8501599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:15:21+00:00 2026-06-11T01:15:21+00:00

I have a simple pure C program, that takes an integer as input, runs

  • 0

I have a simple pure C program, that takes an integer as input, runs for a while (let’s say an hour) and then returns me a text file. I want to run this program 1000 times with input integers from 1 to 1000.

Currently I’m running this program in parallel (4 processors), what takes 250 hours. The program is such that it fits in a AWS micro instance (I’ve tested it). Would it be possible to use 1000 micro instances in AWS to do the whole job in one hour? (at a cost of ~20$ – $0.02/instance)?

If it is possible, does anybody have some guidlines on how to do that?
If it is not, does anybody have an also low-budget alternative to that?

Thanks a lot!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T01:15:22+00:00Added an answer on June 11, 2026 at 1:15 am

    In order to achieve this, you will need to:

    • Create a S3 bucket to store your bootstrapping scripts, application, input data and output data

    • Custom Lightweight AMI: you might want to create a custom lightweight AMI which knows about downloading the bootstrapping script

    • Bootstrapping Script: will download your software from your S3 bucket, parse a custom instance tag which will contain the integer [1..1000] and download any additional data.

    • Your application: does the processing stuff.

    • End of processing script is which uploads the result to a another result S3 bucket and terminates the instance, you might also want to send a SNS notification to communicate the end of processing status.

    • If you need result consolidation you might want to create another instance and use it as a coordinator, waiting for all “end of processing” notifications in order to finish the processing. In this case you might consider using in the future the Amazon’s Hadoop map reduce engine, since it will do almost all this heavy lifting for free.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a pure CSS layout with a simple container that houses my text.
I have a simple application that counts down to midnight and then plays a
I have a simple JSR 286 Portlet that displays a user manual (pure HTML
I created a simple program that takes the path of a directory as an
I have a simple, pure python project that I want to make available with
my question is rather simple, if you have an pure virtual class (interface) but
I have simple php validation form that is halfway working. If you leave the
I have simple win service, that executes few tasks periodically. How should I pass
I have very simple form, with input like this: <input id=my_id multiple=true type=file name=image_name[]
I have a very simple pure html file in which I have many PDF

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.