https://github.com/lanimall/ehcache_lmaxbulkloader
A sample application demonstrating how to fast bulkload random generated objects in ehcache/terracotta using the LMAX disruptor multi-threaded framework (more http://lmax-exchange.github.io/disruptor/)
https://github.com/lanimall/ehcache_lmaxbulkloader
Last synced: over 1 year ago
JSON representation
A sample application demonstrating how to fast bulkload random generated objects in ehcache/terracotta using the LMAX disruptor multi-threaded framework (more http://lmax-exchange.github.io/disruptor/)
- Host: GitHub
- URL: https://github.com/lanimall/ehcache_lmaxbulkloader
- Owner: lanimall
- License: apache-2.0
- Created: 2013-08-30T16:08:42.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-08-30T16:34:15.000Z (almost 13 years ago)
- Last Synced: 2025-02-13T09:55:17.904Z (over 1 year ago)
- Language: Java
- Size: 133 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ehcache_LMAXBulkLoader
======================
A sample application demonstrating how to fast bulkload random generated objects in ehcache/terracotta using the LMAX disruptor multi-threaded framework (more http://lmax-exchange.github.io/disruptor/)
Quick start
---------------------------------------------
There are 2 maven profiles created: "small" (default, with smaller JVM memory footprint) and "large" (to test with large dataset and memory environments). Feel free to tweak the JVM parameters appropriately for your test environment.
Each of the build profile generates 2 executable scripts per platform:
- 1 script for standlone ehcache - BigMemory Go (ehcache-standalone.xml)
- 1 script for distributed ehcache - BigMemoryMax (ehcache-distributed.xml)
Finally, I'm using by default ehcache-ee version 2.7.2 (and relted terracotta-toolkit-runtime-ee version 4.0.2 for distributed scenario)...feel free to adjust as needed.
Steps:
- Build, Package, and Generate the run scripts. 2 profiles created: "small" (default, with smaller JVM memory footprint) and "large" (to test with large dataset and memory environments):
mvn clean package appassembler:assemble (use the default "small" profile)
mvn clean package appassembler:assemble -P large
- Run based on platform:
Linux/OSX/UNIX:
sh target/appassembler/bin/LaunchLoader-Standalone (for standlone ehcache - BigMemory Go)
or
sh target/appassembler/bin/LaunchLoader-Distributed (for distributed ehcache - BigMemoryMax)
Windows:
target/appassembler/bin/LaunchLoader-Standalone.bat (for standlone ehcache - BigMemory Go)
or
sh target/appassembler/bin/LaunchLoader-Distributed.bat (for distributed ehcache - BigMemoryMax)