• Stars
    star
    903
  • Rank 48,622 (Top 1.0 %)
  • Language
    Clojure
  • License
    Other
  • Created about 11 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Fibers, Channels and Actors for Clojure

Pulsar
Fibers, Channels and Actors for Clojure

Build Status Dependency Status Version License License

Pulsar wraps the Quasar library with a Clojure API that's very similar to Erlang.

Requirements

Java 7 and up and Clojure 1.5 and up are required to run Pulsar.

Getting started

Add the following dependencies to Leiningen's project.clj:

[co.paralleluniverse/quasar-core "0.7.9"]
[co.paralleluniverse/pulsar "0.7.9"]

Then, the following must be added to the project.clj file:

:java-agents [[co.paralleluniverse/quasar-core "0.7.9"]]

or, add the following to the java command line:

-javaagent:path-to-quasar-jar.jar

Alternatively, to build Pulsar from the source, clone the repository and run:

lein midje

You can run the examples like this:

lein -o run -m co.paralleluniverse.pulsar.examples.pingpong

For benchmarks, you should use lein trampoline, like so:

lein trampoline run -m co.paralleluniverse.pulsar.examples.ring-benchmark 1000 1000

Usage

Documentation and examples can be found here.

You can also read the introductory blog post.

When running code that uses Pulsar, the instrumentation agent must be run by adding the following to the java command line or to the :jvm-opts section in project.clj:

-javaagent:path-to-quasar-jar.jar

Documentation

Community

Contributions (including Pull Requests)

Please have a look at some brief information for contributors.

License

Pulsar is free software published under the following license:

Copyright Β© 2013-2017 Parallel Universe

This program and the accompanying materials are dual-licensed under
either the terms of the Eclipse Public License v1.0 as published by
the Eclipse Foundation

  or (per the licensee's choosing)

under the terms of the GNU Lesser General Public License version 3.0
as published by the Free Software Foundation.

githalytics.com alpha

More Repositories

1

quasar

Fibers, Channels and Actors for the JVM
Java
4,547
star
2

capsule

Dead-Simple Packaging and Deployment for JVM Apps
Java
1,146
star
3

comsat

Fibers and actors for web development
Java
600
star
4

galaxy

A cache-coherent in-memory data grid
Java
336
star
5

javafs

Java filesystems as FUSE
Java
105
star
6

spaceships-demo

SpaceBase demo application: a simulation of tens of thousands of spaceships in battle
Java
94
star
7

timewarp

Virtual Time for the JVM
Java
60
star
8

comsat-examples

Comsat Examples
Java
48
star
9

capsule-shield

Container caplet
Java
35
star
10

photon

Java
27
star
11

extended-stacktrace

Enhanced stack traces for the JVM
Java
26
star
12

quasar-mvn-archetype

Java
25
star
13

capsule-maven

Runtime dependency-resolution caplet
Java
20
star
14

capsule-desktop

Make native executables out of capsules
Java
16
star
15

capsule-daemon

A caplet that will run a capsule as a daemon
Java
14
star
16

quasar-gradle-template

Java
13
star
17

capsule-demo

Java
13
star
18

capsule-osv

OSv Caplet
Java
9
star
19

CascadingFailureExample

Java
8
star
20

quasar-intro-jdk8

Groovy
7
star
21

quasar-codeswap-example

Quasar Actors Hot Code Swap Example
Java
7
star
22

comsat-gradle-template

Comsat Gradle template project
Java
6
star
23

capsule-secure

Launches a capsule in a Java sandbox
Java
6
star
24

comsat-mvn-archetype

Java
5
star
25

capsule-avatar-demo

JavaScript
4
star
26

capsule-gui-demo

Java
4
star
27

capsule-runnable-war

A Runnable-WAR Capsule Demo
Java
4
star
28

high-scale-lib

Java
4
star
29

capsule-docker

Docker Caplet
Java
3
star
30

JettyWebActor

Java
2
star
31

spaceships

SpaceBase technology demo
Java
2
star
32

quasar-intro-jdk7

1
star
33

jersey-connectors

Java
1
star
34

NIOQuasarTest

Java
1
star