Home

Last updated 6 months ago

Welcome to the Pronghorn documentation page! This GitBook contains everything needed to get started with Pronghorn.

Quick Links:

  • Learn how to create a simple Pronghorn app by following the Hello World Example. You can also use the chapters on the left as a reference for building better Pronghorn applications.

  • Visit the Downloads page for more information on how to download using Maven and other methods.

  • See benchmarks and FAQs.

What is Pronghorn?

The actor model in computer science is a mathematical model of concurrent computation that treats "actors" as the universal primitives of concurrent computation. In response to a message that it receives, an actor can: make local decisions, create more actors, send more messages, and determine how to respond to the next message received.

Pronghorn is a pragmatic approach to an actor based framework. It is a staged event driven single machine embedded micro-framework written in Java, designed to be garbage-free with a small memory footprint.

JavaDocs

The JavaDoc for every major Pronghorn-related project is listed below:

Examples

GreenLightning

For a project built completely with Pronghorn, there is GreenLighting, an incredibly fast & lightweight microservices framework.

JPG-Raster

For a real-world example of Pronghorn, please see JPG-Raster, a fast JPG encoder/decoder:

A live telemetry demo of encoding a JPG using Pronghorn.

Web Cookbook

Another example is the Web Cookbook. It demonstrates how to build a HTTP server, proxy, and more:

Telemetry demonstration of the Web Cookbook.

Why Pronghorn?

Pronghorn

Akka

Actor framework

Yes

Yes

Garbage-free

Yes

No

Statically typed

Yes

Yes

Language

Java

Scala

Blocking/locking free

Yes

No