Skip to content

Instantly share code, notes, and snippets.

View markxnelson's full-sized avatar

Mark Nelson markxnelson

  • Oracle
  • New York
View GitHub Profile
@markxnelson
markxnelson / Consumer.java
Created May 19, 2022 14:44
Example of a standalone Java JMS consumer for TEQ
package com.wordpress.redstack;
import java.sql.SQLException;
import javax.jms.JMSException;
import javax.jms.Session;
import javax.jms.Topic;
import javax.jms.TopicConnection;
import javax.jms.TopicConnectionFactory;
import javax.jms.TopicSession;
Pods Access Application Logging Avg. Response Time (ms) Transactions / sec
1 Traefik Golang No 5.07 14651.80
1 Traefik Native Image No 5.05 15812.28
1 Traefik Java (Helidon) No 7.05 11823.69
1 Traefik Java Jlink (Helidon) No 9.08 9271.02
100 Traefik Golang No 5.06 15646.75
100 Traefik Native Image No 5.17 15462.40
100 Traefik Java (Helidon) No 11.42 without warmup/ 5.07 with warmup 8015.96 / 15838.32
100 Traefik Java Jlink (Helidon) No 9.61 / 5.64 9424.62 / 14732.31
1 ClusterIP Golang No 1.2 43712.02
Application Logging Warmup Avg. Response Time (ms) Transactions / sec Memory (RSS) (Start/End)
Native Image Yes No 5.61 14273.48 28256KB / 1508600KB
Native Image No No 0.25 82047.92 29368KB / 1506428KB
Native Image No Yes 0.25 82426.64 1293216KB / 1502724KB
Golang Yes No 4.72 18540.49 132334KB / 72433KB
Golang No No 1.69 37949.22 12864KB / 70716KB
Golang No Yes 1.59 39227.99 16764KB / 76996KB
Java (Helidon) Yes No 7.38 11216.42 318545KB / 529848KB
Java (Helidon) No No 0.40 74827.90 307672KB / 489568KB
Java (Helidon) No Yes 0.38 76306.75 398156KB / 480460KB
Application Logging Warmup Avg. Response Time (ms) Transactions / sec Memory (RSS) (Start/End)
Golang Yes No 5.79 15330.60 5160KB / 15188KB
Golang No No 4.18 20364.11 5164KB / 15144KB
Golang No Yes 3.97 21333.33 10120KB / 15216KB
Java (Helidon) Yes No 12.13 8168.15 296376KB / 427064KB; committed = 169629KB +15976KB (NMT); reserved=1445329KB +5148KB (NMT)​
Java (Helidon) No No 5.13 17332.82 282228KB / 430264KB; reserved=1444264KB +6280KB; committed=166632KB +15884KB
Java (Helidon) No Yes 4.84 18273.18 401228KB / 444556KB
Native Image Yes No 12.01 7748.27 18256KB / 347204KB
Native Image No No 5.59 15753.24 169765KB / 347100KB
Native Image No Yes 5.22 17837.19 127436KB / 347132KB
@markxnelson
markxnelson / round-one.csv
Last active November 5, 2020 14:13
round-one
Application Logging Warmup Avg. Response Time (ms) Transactions / sec Memory (RSS) (Start/End)
Golang Yes No 5.79 15330.60 5160KB / 15188KB
Golang No No 4.18 20364.11 5164KB / 15144KB
Golang No Yes 3.97 21333.33 10120KB / 15216KB
Java (Helidon) Yes No 12.13 8168.15 296376KB / 427064KB; committed = 169629KB +15976KB (NMT); reserved=1445329KB +5148KB (NMT)​
Java (Helidon) No No 5.13 17332.82 282228KB / 430264KB; reserved=1444264KB +6280KB; committed=166632KB +15884KB
Java (Helidon) No Yes 4.84 18273.18 401228KB / 444556KB

Keybase proof

I hereby claim:

  • I am markxnelson on github.
  • I am markxnelson (https://keybase.io/markxnelson) on keybase.
  • I have a public key whose fingerprint is C09B BD00 4321 5844 995B 9DF6 8392 39E7 7C14 917A

To claim this, I am signing this object: