<commit_before># microservice2

Testing Akka, Undertow, Hibernate, HikariCP, and Hazelcast on a cluster of Raspberry Pi 2B servers:

* git clone https://github.com/bitvector2/microservice2.git
* cd microservice2
* Edit src/main/resources/META-INF/persistence.xml
* Edit src/main/resources/application.conf
* ./gradlew clean shadowJar
* ./microservice2.sh

Use the following commands for benchmarking/fault recovery:

* ab -n 10000 -c 64 -k https://www.bitvector.org/products/2
* watch --interval 1 curl --silent --show-error --include --max-time 1 https://www.bitvector.org/products/2

To setup a development environment, download and expand Gradle into your home directory and configure as such in
IntelliJ IDEA.  Then enable the gradle daemon and check dependencies.

* Run: echo "org.gradle.daemon=true" >> ~/.gradle/gradle.properties
* Run: ./gradlew dependencyUpdates

Technology stack in use:

* [Java 8](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
* [Akka](http://akka.io/)
* [Undertow](http://undertow.io/)
* [Hibernate](http://hibernate.org/)
* [HikariCP](http://brettwooldridge.github.io/HikariCP/)<commit_msg>README updates<commit_after># microservice2

Testing Akka, Undertow, Hibernate, HikariCP, and Hazelcast on a cluster of
[Raspberry Pi 2 Model B servers](https://www.raspberrypi.org/products/raspberry-pi-2-model-b/):

* git clone https://github.com/bitvector2/microservice2.git
* cd microservice2
* Edit src/main/resources/META-INF/persistence.xml
* Edit src/main/resources/application.conf
* ./gradlew clean shadowJar
* ./microservice2.sh

Use the following commands for benchmarking/fault recovery:

* ab -n 10000 -c 64 -k https://www.bitvector.org/products/2
* watch --interval 1 curl --silent --show-error --include --max-time 1 https://www.bitvector.org/products/2

To setup a development environment, download and expand Gradle into your home directory and configure as such in
IntelliJ IDEA.  Then enable the gradle daemon and check dependencies.

* Run: echo "org.gradle.daemon=true" >> ~/.gradle/gradle.properties
* Run: ./gradlew dependencyUpdates

Technology stack in use:

* [Java 8](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
* [Akka](http://akka.io/)
* [Undertow](http://undertow.io/)
* [Hibernate](http://hibernate.org/)
* [HikariCP](http://brettwooldridge.github.io/HikariCP/)
{'fraction_non_alphanumeric': 0.13389830508474576, 'fraction_numerical': 0.015677966101694914, 'mean_word_length': 4.427586206896552, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 7, 'lorem ipsum': 0, 'www.': 7, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3152089', 'n_tokens_mistral': 822, 'n_tokens_neox': 755, 'n_words': 200}