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
| (akka.remote.RemoteWatcher.Heartbeat$,1) | |
| (akka.remote.transport.ActorTransportAdapter.DisassociateUnderlying,6) | |
| (akka.remote.transport.AssociationHandle.InboundPayload,152) | |
| (akka.remote.EndpointWriter.AckIdleCheckTimer$,12) | |
| (akka.remote.EndpointWriter.BackoffTimer$,2) | |
| (akka.remote.transport.AssociationHandle.Disassociated,8) | |
| (akka.remote.transport.ProtocolStateActor.HandleListenerRegistered,4) | |
| (akka.actor.FSM.Timer,4) |
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
| implicit | |
| - implicit parameter | |
| - implicit parameter method | |
| - play request派 | |
| - implicit parameter constructor | |
| - env派(環境引き回し) | |
| - dynamic派 | |
| - implicit conversions | |
| - Int seconds派 | |
| - implicit class |
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
| snmpget | |
| コマンドライン | |
| snmp4j | |
| デファクトのJavaライブラリ | |
| http://www.snmp4j.org/ | |
| snmpbulk |
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
| scala> collection.immutable.ListMap(5->"",4->"",3->"",2->"",10->"",1->"") foreach(println) | |
| (5,) | |
| (4,) | |
| (3,) | |
| (2,) | |
| (10,) | |
| (1,) |
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
| val trys: Seq[Try[CreateChatRequest]] = foo | |
| trys.find(_.isFailure) match { | |
| case Some(error) => ChatsCreateFailed(sid, tid, error.toString) | |
| case None => | |
| val reqs = trys.map(_.get) | |
| store.addChats(sid, tid, reqs) match { | |
| case Success(chats) => ChatsCreateFinished(sid, tid, chats) | |
| case Failure(error) => ChatsCreateFailed(sid, tid, error.toString) | |
| } | |
| } |
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
| # enable plugin | |
| % rabbitmq-plugins enable rabbitmq_delayed_message_exchange | |
| # declare exchange | |
| % rabbitmqadmin declare exchange name=delayed type=x-delayed-message arguments='{"x-delayed-type":"direct"}' | |
| # declare queue | |
| % rabbitmqadmin declare queue name=q1 | |
| # binding |
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
| # docker | |
| wget -qO- https://get.docker.com/ | sh | |
| usermod -aG docker maiha | |
| # fig(docker-compose) | |
| curl -L https://github.com/docker/compose/releases/download/1.2.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose | |
| chmod +x /usr/local/bin/docker-compose |
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
| 03:09:57.973 [ERROR] Remoting - Association to [akka.tcp://broker@ubuntu:2553] with UID [-1354268361] irrecoverably failed. Quarantining address. | |
| java.lang.IllegalArgumentException: Highest SEQ so far was -1 but cumulative ACK is 3 | |
| at akka.remote.AckedSendBuffer.acknowledge(AckedDelivery.scala:103) ~[akka-remote_2.11-2.3.10.jar:na] | |
| at akka.remote.ReliableDeliverySupervisor$$anonfun$receive$1.applyOrElse(Endpoint.scala:284) ~[akka-remote_2.11-2.3.10.jar:na] | |
| ... 11 common frames omitted | |
| Wrapped by: java.lang.IllegalStateException: Error encountered while processing system message acknowledgement buffer: [-1 {}] ack: ACK[3, {}] | |
| at akka.remote.ReliableDeliverySupervisor$$anonfun$receive$1.applyOrElse(Endpoint.scala:288) ~[akka-remote_2.11-2.3.10.jar:na] | |
| at akka.actor.Actor$class.aroundReceive(Actor.scala:467) ~[akka-actor_2.11-2.3.10.jar:na] | |
| at akka.remote.ReliableDeliverySupervisor.aroundReceive(Endpoint.scala:188) ~[akka-remote_2.11-2.3.10.jar:na] | |
| at akka. |
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
| bytes: 1 | |
| ---- Global Information -------------------------------------------------------- | |
| > request count 100000 (OK=100000 KO=0 ) | |
| > min response time 0 (OK=0 KO=- ) | |
| > max response time 67 (OK=67 KO=- ) | |
| > mean response time 0 (OK=0 KO=- ) | |
| > std deviation 0 (OK=0 KO=- ) | |
| > response time 50th percentile 0 (OK=0 KO=- ) | |
| > response time 75th percentile 0 (OK=0 KO=- ) | |
| > mean requests/sec 20124.774 (OK=20124.774 KO=- ) |
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
| ベジット | |
| 威嚇が効くので適当に倒す |