Skip to content

Latest commit

 

History

History
64 lines (46 loc) · 2.08 KB

File metadata and controls

64 lines (46 loc) · 2.08 KB

PrimeNet Report

Java CI

GIMPS, the Great Internet Mersenne Prime Search, was founded in 1996 by George Woltman. As the project grew, Scott Kurowski responded with the introduction of PrimeNet and its ability to manage thousands of volunteers and millions of work assignments. There are currently 52 known Mersenne primes, 18 discovered by GIMPS (state 2025-10-01).

As a GIMPS volunteer I wanted to observe and share my own results while growing a database to perform statistics, time series analysis and means of data science. This software collects the daily results of PrimeNet while offering an endpoint to publish your results.

More information:

Requirements

  • JDK 21+
  • MySQL 8+

How to configure

Have a look into the application-sample.properties

Copy and save the file to application-prod.properties and modify the properties as required.

  • port and ip address (default: localhost:8191)
    • server.address
    • server.port
  • starting date of imports (YYYY-MM-DD; defaults to yesterday, 1997-11-11 is the very beginning)
    • imports.start
  • own username for export endpoint (default: ANONYMOUS)
    • imports.identity
  • MySQL connectivity, database, user, password (default: localhost:3306)
    • spring.datasource.url

How to build

For productive use run:

./mvnw -P prod package

How to run

For productive use run:

java -Dspring.profiles.active=prod -jar primenetreport.jar

How to use

http://localhost:8191

  • /results
    • publishes your results
  • /results/meta
    • some meta data like number of imports, results, etc.

License

Apache License 2.0