# Chronicle-Queue-Demo **Repository Path**: fortunate179/Chronicle-Queue-Demo ## Basic Information - **Project Name**: Chronicle-Queue-Demo - **Description**: No description available - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-02-23 - **Last Updated**: 2024-02-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README = Chronicle-Queue-Demo Peter Lawrey :imagesdir: images This is a tutorial demonstrating the usage of Chronicle Queue with simple demo programs. == Order Processor image::Two-hop-latency.PNG[] You can find the source code for the order processor example https://github.com/OpenHFT/Chronicle-Queue-Demo/tree/master/order-processor[here]. == Downloading and Running Sample Programs If you're running Windows, you will need to install the `git` client and `open-ssh` Cygwin, https://cygwin.com/install.html[here], with a guide showing installation and packages http://www.mcclean-cooper.com/valentino/cygwin_install/[here]. This allows you to install Linux packages that aren't already on Windows. When this asks you which packages you want to install, search for and add `git`. This is under `Development` and you need to click `skip` so it says to `install`. image::gitpack.png[] Open IntelliJ or your favorite https://en.wikipedia.org/wiki/Integrated_development_environment[Integrated Development Environment (IDE)]. If you haven't installed an IDE, we recommend https://www.jetbrains.com/idea/download/#section=windows[IntelliJ], which we'll use for this tutorial. In IntelliJ, select `Get from VCS` to clone the Chronicle Queue Sample code. image::homegit.png[] Then, copy the following URL into the `Git Repository URL` field and remember the `Parent Directory`. Click `Clone` to get the code. [source] ---- https://github.com/OpenHFT/Chronicle-Queue-Demo.git ---- image::Clone.PNG[] If you close the project, you can reopen it by going to `File -> Open`. You'll find the repository in the directory where you saved it. image::directory.PNG[] Now you're ready to run the example programs! You can start with https://github.com/OpenHFT/Chronicle-Queue-Demo/tree/master/simple-input[Simple Input]. The second example is https://github.com/OpenHFT/Chronicle-Queue-Demo/tree/master/simple-translator[Simple Translator].