Commit 411fcb9
authored
LoadTester utility for benchmarking Membrane's performance … (#2441)
* feat: add LoadTester utility for benchmarking Membrane's performance and update README with test results and scalability details
* **feat: enhance LoadTester concurrency support and update dependencies**
- Updated `LoadTester` to include granular tracking of minimum semaphore permits during execution.
- Configured `AsyncHttpClient` with custom timeouts and connection limits for enhanced control and scalability.
- Replaced atomic LongAdder with AtomicInteger for better parallel execution tracking.
- Fixed formatting and simplified constants for readability.
- Upgraded `async-http-client` dependency from `2.12.3` to `3.0.4`.
- Adjusted YAML examples in `README.md` and clarified `JsonSchemaGenerator` flow logic documentation.
- Updated `ROADMAP.md` to reflect ongoing development goals.
* refactor: minor
* refactor: minor
* refactor: minor
* **feat: add documentation for Distribution Module and update assembly exclusion**
- Introduced a `README.md` for the Distribution module with details on responsibilities, usage, and building process.
- Updated `distribution.xml` to exclude `org.membrane-soa:membrane-api-gateway` from final ZIP packaging.
* chore: clarify ROADMAP note on WebSocketInterceptor.flow renaming
* refactor: restructure package structure for Distribution Module
- Moved `FilterExamples`, `LoadTester`, and `IDEStarter` classes to new `com.predic8.membrane.build` and `com.predic8.membrane.devtools` packages.
- Updated `distribution.xml` to include proper module exclusions.
- Adjusted POM dependencies and plugin configurations, ensuring consistency with the new package structure.
- Updated README to reflect the changes in package organization.
* feat: add IDE starter instructions and logging configuration to Distribution Module
- Updated `README.md` with steps for running Membrane in IDE and locating log configuration.
- Added Log4j dependencies with `provided` scope to `pom.xml`.
- Moved `log4j2.xml` configuration to the correct resources directory.
- Simplified log configuration initialization in `IDEStarter`.
* chore: remove redundant parent and unused dependencies from distribution pom.xml
* refactor: update LoadTester concurrency settings and package structure
- Reduced `CONCURRENCY` from 15000 to 200 in `LoadTester`.
- Updated package from `com.predic8.membrane.devtools` to `com.predic8.membrane.load`.
- Adjusted `pom.xml` dependencies, changing `async-http-client` scope from `provided` to `test`.
* refactor: adjust Log4j dependencies across modules
- Moved Log4j dependencies to appropriate locations in `annot/pom.xml` and `distribution/pom.xml`.
- Organized test dependencies to ensure separation and clarity in `annot` module.
- Improved indentation and comments in `distribution/pom.xml` for better readability.
* refactor: enhance `annot/pom.xml` formatting and dependency organization
- Improved XML indentation for better readability.
- Reorganized dependencies, ensuring logical grouping and clarified test dependencies.
- Adjusted comments for consistency and clarity.
* refactor: set Log4j dependencies to test scope in `annot/pom.xml` for better organization
* fix: upgrade jsonassert dependency in `distribution/pom.xml` from 1.5.1 to 1.5.3
* refactor: reorganize dependencies in `core/pom.xml` and enhance logging configuration
- Reorganized dependencies in `core/pom.xml` for improved clarity and logical grouping.
- Added Log4j2 configuration file `log4j2.xml` in `distribution/conf`.
- Adjusted dependency scopes for better separation between provided and test libraries.
- Introduced rolling file logging and ANSI color support in the logging setup.
* chore: update dependencies in `core/pom.xml`
- Upgraded `graal-sdk` to 24.2.0, `mongodb-driver-sync` to 5.6.2, and `activemq-broker` to 5.19.1.
* chore: centralize GraalVM version in `core/pom.xml` properties
- Added `graalvm.version` property for consistent version management.
- Updated `graal-sdk` and `graalvm.js` dependencies to use the centralized property.1 parent f66a966 commit 411fcb9
12 files changed
Lines changed: 627 additions & 368 deletions
File tree
- annot
- core
- distribution
- conf
- src
- assembly
- main
- java/com/predic8/membrane
- build
- devtools
- resources
- test/java/com/predic8/membrane/load
- docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
583 | | - | |
| 583 | + | |
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
| |||
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
734 | | - | |
| 734 | + | |
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
56 | 40 | | |
57 | 41 | | |
58 | 42 | | |
| |||
73 | 57 | | |
74 | 58 | | |
75 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
| |||
81 | 86 | | |
82 | 87 | | |
83 | 88 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
95 | 100 | | |
0 commit comments