Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

querwurzel/mersenne-primenet-report-kotlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrimeNet Report

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 51 known Mersenne primes, 17 discovered by GIMPS (state 2019-02-23).

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 17+
  • 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)
    • imports.start
  • own username for export endpoint (defaults to anonymous)
    • imports.identity
  • MySQL connectivity, database, user, password (default: localhost:3306)
    • spring.datasource.url

How to build

For productive use run: mvn -P prod package

How to run

For productive use run: java -Dspring.profiles.active=prod -jar primenetreport.jar

Endpoints

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

License

Apache License 2.0

About

Fetching PrimeNet's daily results of the GIMPS project ..

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages