fabric3
Content
Documentation
Getting Started
FastQuote
FastQuote
search
attachments
weblink
advanced
image-effects
image-attributes
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
Colour picker
More colours
Formatting
Strikethrough
Subscript
Superscript
Monospace
Clear formatting
Bullet list
Numbered list
Task list
Outdent
Indent
Align left
Align center
Align right
Page layout
Link
Table
Insert
Insert content
Files and images
Link
Symbol
Emoticon
Markup
Horizontal rule
Insert macro
User mention
Jira Issue/Filter
Info
Status
Gallery
Table of Contents
Jira timeline
Lucidchart Diagrams
Trello Board
Other macros
Page layout
No layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Find/Replace
Keyboard shortcuts help
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account.
<h1>Introduction</h1><p>FastQuote (<a href="http://fabric3.org/downloads.html">download</a>) is a currency trading platform that demonstrates how to build modular, low-latency services with Fabric3. FastQuote is organized into two parts:</p><ul><li>A liquidity provider (e.g. third-party bank or trading network) that publishes currency price feeds </li><li>A pricing engine run by a bank that subscribes to the provider feeds, adds margin to the feeds, and publishes the margined prices to the bank's customers</li></ul><h1>Getting Setup</h1><p>FastQuote uses the <a href="http://www.zeromq.org">Zero MQ</a> messaging library (out-of-the-box it is configured with JeroMQ for easy setup but may be switched to ZeroMQ). The Liquidity Provider and Price Engine services are run on two Fabric3 instances. Unlike the other samples, FastQuote must be deployed on the servers produced by the Maven modules under the <code>servers</code> directory. These servers demonstrate how to use the <a class="confluence-link" href="/wiki/spaces/FABRIC/pages/1540300/Fabric3+Maven+Assembly+Plugin" data-linked-resource-id="1540300" data-linked-resource-version="10" data-linked-resource-type="page" data-linked-resource-default-alias="Fabric3 Maven Assembly Plugin" data-base-url="https://fabric3.atlassian.net/wiki">Fabric3 Maven Assembly Plugin</a> to build custom runtime images, in this case configured with extensions that provide low-latency features required to run the samples. </p><h3><strong>1. Build the FastQuote source</strong></h3><p>To build FastQuote, execute: <code>mvn clean install</code>.</p><p>The build will produce the FastQuote modules and runtime images in the <code>servers/provider/target/image</code> and <code>servers/pe/target/image</code> directories.</p><h3><strong>2. Start the servers</strong></h3><p><span style="line-height: 1.4285715;">Boot the Provider and PE runtimes from the </span><code style="line-height: 1.4285715;">server/vm/image/bin</code><span style="line-height: 1.4285715;"> directories by executing:</span></p><p><code>java -jar server.jar</code></p><p>Alternatively, the servers can be started by providing the path to the <code>server.jar</code> archive relative to the current directory. e.g.:</p><p><code>java -jar target/image/bin/server.jar</code></p><h3>Understanding the Architecture</h3><p>The <a class="confluence-link" href="/wiki/spaces/FABRIC/pages/1966175/FastQuote+Architecture" data-linked-resource-id="1966175" data-linked-resource-version="9" data-linked-resource-type="page" data-linked-resource-default-alias="FastQuote Architecture" data-base-url="https://fabric3.atlassian.net/wiki">next section</a> explains the FastQuote application architecture in detail.</p><p> </p>
Save
Close
Edit
Preview
View changes
Revert to last published version
{"serverDuration": 368, "requestCorrelationId": "749ea47b58744b3288b50d3655c7732e"}