This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] Running info.whiter4bbit.akkaplayground.TestClient 2552 | |
[DEBUG] [07/05/2013 01:56:59.555] [run-main] [EventStream(akka://ClusterSystem)] logger log1-Logging$DefaultLogger started | |
[DEBUG] [07/05/2013 01:56:59.556] [run-main] [EventStream(akka://ClusterSystem)] Default Loggers started | |
[DEBUG] [07/05/2013 01:56:59.567] [ClusterSystem-akka.actor.default-dispatcher-3] [akka://ClusterSystem/system] now supervising Actor[akka://ClusterSystem/system/remoting-terminator#-430478231] | |
[DEBUG] [07/05/2013 01:56:59.594] [ClusterSystem-akka.actor.default-dispatcher-4] [akka://ClusterSystem/system/remoting-terminator] started (akka.remote.RemoteActorRefProvider$RemotingTerminator@273e5037) | |
[DEBUG] [07/05/2013 01:56:59.641] [ClusterSystem-akka.actor.default-dispatcher-2] [akka://ClusterSystem/system] now supervising Actor[akka://ClusterSystem/system/transports#-1289927136] | |
[DEBUG] [07/05/2013 01:56:59.642] [ClusterSystem-akka.actor.default-dispatcher-4] [akka://ClusterSystem/system/transports] started (akka.remote.Remo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.clearspring.analytics.stream.quantile; | |
import java.io.ByteArrayInputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.DataInputStream; | |
import java.io.DataOutputStream; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.Collections; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
whiter4bbit@katrin jdk-bug-repr % touch resource | |
whiter4bbit@katrin jdk-bug-repr % jar cf jar-1.jar resource | |
whiter4bbit@katrin jdk-bug-repr % jar cf jar-2.jar resource | |
whiter4bbit@katrin jdk-bug-repr % jar cf jar-3.jar resource | |
whiter4bbit@katrin jdk-bug-repr % jar cf jar-4.jar resource | |
whiter4bbit@katrin jdk-bug-repr % jar i jar-1.jar jar-2.jar jar-3.jar jar-4.jar | |
whiter4bbit@katrin jdk-bug-repr % vim Bug.java | |
import java.net.URLClassLoader; | |
import java.net.URL; | |
import java.util.Enumeration; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package bench; | |
import com.clearspring.analytics.stream.quantile.QDigest; | |
public class QDigestBenchmark { | |
public static void main(String[] args) throws Exception { | |
QDigest q = new QDigest(1000); | |
for (int k : Utils.readNumbers(args[0])) { | |
q.offer(k); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import akka.actor._ | |
object TCPFrontend { | |
case class Event(id: String) | |
} | |
trait StorageComponent { | |
val storage: Storage | |
trait Storage { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import akka.actor._ | |
import com.typesafe.config._ | |
object Storage { | |
case class Store(id: String) | |
} | |
trait StorageActorProvider { | |
val storageActor: Props |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sbt -Dakka.persistence.performance.cycles.load=200000 -Dakka.persistence.performance.cycles.warmup=10000 "project akka-persistence-experimental" "test-only akka.persistence.PerformanceSpec" | |
Loading /usr/share/sbt/bin/sbt-launch-lib.bash | |
[info] Loading project definition from /root/akka/project | |
[info] Set current project to akka (in build file:/root/akka/) | |
[info] Set current project to akka-persistence-experimental (in build file:/root/akka/) | |
[info] PerformanceSpec: | |
Coroner Thread Count starts at 12 in akka.persistence.PerformanceSpec | |
[info] A command sourced processor | |
.................................................................................................................................................................................................................. | |
throughput = 23691.30 persistent commands per second |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading /usr/share/sbt/bin/sbt-launch-lib.bash | |
[info] Loading project definition from /home/ec2-user/akka/project | |
[info] Set current project to akka (in build file:/home/ec2-user/akka/) | |
[info] Set current project to akka-persistence-experimental (in build file:/home/ec2-user/akka/) | |
[info] PerformanceSpec: | |
[info] A command sourced processor | |
.................................................................................................................................................................................................................. | |
throughput = 9702,99 persistent commands per second | |
[info] - should have some reasonable throughput | |
..............................[ERROR] [03/17/2014 23:18:56.778] [PerformanceSpec-akka.actor.default-dispatcher-2] [akka://PerformanceSpec/user/$b] boom (akka.persistence.TestException) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package persistence | |
import akka.actor._ | |
import akka.event.Logging | |
import akka.persistence._ | |
import AtLeastOnceDelivery.{UnconfirmedDelivery, UnconfirmedWarning} | |
import scala.annotation.tailrec | |
import scala.collection.immutable.ListMap | |
import java.util.UUID |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package persistence | |
import akka.actor._ | |
import akka.persistence._ | |
import akka.event.Logging | |
import com.typesafe.config.ConfigFactory | |
import AtLeastOnceDelivery.{UnconfirmedDelivery, UnconfirmedWarning, AtLeastOnceDeliverySnapshot} | |
object SimpleJournalActor { | |
case class Command(cmd: Any, id: Long) |