GithubHelp home page GithubHelp logo

apache / camel-performance-tests Goto Github PK

View Code? Open in Web Editor NEW
8.0 23.0 8.0 2.34 MB

Apache Camel Performances Tests Repository

Home Page: https://camel.apache.org

License: Apache License 2.0

Java 85.39% XSLT 1.45% Shell 12.85% JavaScript 0.30%
camel integration performances

camel-performance-tests's Introduction

Apache Camel Performance Tests

This project provides performance tests for Apache Camel.

camel-performance-tests's People

Contributors

croway avatar davsclaus avatar dependabot[bot] avatar mcarlett avatar orpiske avatar oscerd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

camel-performance-tests's Issues

Exception when using camel-jfr in timer-http

Hi @davsclaus, @oscerd, I tried to add camel-jfr dependency in timer-http, executing mvn camel:run it is working as expected, but I'm getting an exception (warning) during camel shutdown:

13:17:48.062 [org.apache.camel.example.MyApplication.main()] INFO  o.a.c.i.engine.AbstractCamelContext - Apache Camel 3.14.0-SNAPSHOT (MyTinyCamel) shutting down (timeout:45s)
13:17:48.069 [Camel (MyTinyCamel) thread #3 - ShutdownTask] INFO  o.a.c.i.e.DefaultShutdownStrategy - Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 45 seconds. Inflights per route: [route1 = 1]
13:17:49.070 [Camel (MyTinyCamel) thread #3 - ShutdownTask] INFO  o.a.c.i.engine.PooledExchangeFactory - PooledExchangeFactory route1 (timer://foo) usage [pooled: 1, created: 1, acquired: 0 released: 1, discarded: 0]
13:17:49.074 [org.apache.camel.example.MyApplication.main()] INFO  o.a.c.i.engine.AbstractCamelContext - Routes stopped (total:1 stopped:1)
13:17:49.074 [org.apache.camel.example.MyApplication.main()] INFO  o.a.c.i.engine.AbstractCamelContext -     Stopped route1 (timer://foo)
13:17:49.077 [org.apache.camel.example.MyApplication.main()] INFO  o.a.c.i.engine.AbstractCamelContext - Apache Camel 3.14.0-SNAPSHOT (MyTinyCamel) shutdown in 1s15ms (uptime:11s62ms)
java.lang.InterruptedException
	at java.base/java.lang.Object.wait(Native Method)
	at jdk.jfr/jdk.jfr.internal.PlatformRecorder.takeNap(PlatformRecorder.java:448)
	at jdk.jfr/jdk.jfr.internal.PlatformRecorder.periodicTask(PlatformRecorder.java:441)
	at jdk.jfr/jdk.jfr.internal.PlatformRecorder.lambda$startDiskMonitor$1(PlatformRecorder.java:386)
	at java.base/java.lang.Thread.run(Thread.java:834)
[WARNING] thread Thread[JFR Periodic Tasks,5,org.apache.camel.example.MyApplication] was interrupted but is still alive after waiting at least 15000msecs
[WARNING] thread Thread[JFR Periodic Tasks,5,org.apache.camel.example.MyApplication] will linger despite being asked to die via interruption
[WARNING] thread Thread[JFR Recording Scheduler,5,org.apache.camel.example.MyApplication] will linger despite being asked to die via interruption
[WARNING] NOTE: 2 thread(s) did not finish despite being asked to  via interruption. This is not a problem with exec:java, it is a problem with the running code. Although not serious, it should be remedied.
[WARNING] Couldn't destroy threadgroup org.apache.camel.maven.RunMojo$IsolatedThreadGroup[name=org.apache.camel.example.MyApplication,maxpri=10]

build ends successfully and the jfr file is created as expected, I just wanted to report this since timer-log executes without the exception.

Document performance testing

Document:

  • directory structure/mvn modules and it's prupose
  • how to run, evaluate test results, etc
  • guidelines for contributing

Re-organize profiling examples

In the profiling examples we are focusing on kafka as source or sink, because it is a good way of having a dimension of throughput, memory pressure etc.

I think we should look also at other combinations, so I think it would be better to re-organizer the tree, with a kafka folder.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.