0

I created a program in java that searches for and finds primes numbers. It works very well but I want to have it look for much, much high numbers but my computer isn't all that great. I tried looking at google cloud and AWS but they seem like they're for apps/websites? I'm a bit confused and just wondering what would be best for this project.

4
  • Are you concerned that your program might run slowly, or what? How slow is too slow? Commented May 13, 2017 at 4:38
  • Please specify more criteria and describe more your needs and intentions. Also, finish your "much, much" thought. Commented May 13, 2017 at 8:51
  • Well I want to try and use it to find prime numbers that are thousands of digits long and in two days it got to around 1 quadrillion on my home computer so if I want to reach those numbers anytime soon I need more computing power or multiple machines running my program at the same time Commented May 13, 2017 at 14:05
  • @SamanthaClark Edit your Question to provide further info rather than post as comments. Commented Jul 13, 2017 at 15:11

1 Answer 1

1

Heroku

Heroku was one of the first and best Java cloud providers. I believe the use Amazon AWS under-the-covers.

DigitalOcean

DigitalOcean is a cloud VM provider. They can instantly spin up a configured BSD (FreeBSD) or Linux virtual machine.

Simple pricing. Very cheap to get started, pay by the hour, less than a U.S. penny per hour.

Excellent documentation and many helpful articles including how to install Java on your VM.

They run their own hardware in multiple data centers. Apparently high quality including all flash-based storage.

1
  • Do you know where I could find information on how these sites work? Like would more CPU's mean they could do the math faster? OR would I have to find a way to split the program among different CPU's (like one looks for numbers between 1-100,000, another looks between 100,000-100,000,000) Commented May 14, 2017 at 2:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.