Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 495 Bytes

README.md

File metadata and controls

25 lines (23 loc) · 495 Bytes

prime_finder

Demonstration web service for finding the prime number less than or equal to an upper bound.

Once deployed, requests should be in the form of:

http://localhost:8080/prime?limit=1000

The service will respond with a JSON structure:

[
   {
      "sieve":"sundaram",
      "prime":997,
      "limit":1000,
      "compute_time_sec":0.000244736
   },
   {
      "sieve":"eratosthenes",
      "prime":997,
      "limit":1000,
      "compute_time_sec":0.00018688
   }
]