<commit_before><?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<title>VoltDB | Demonstrations</title>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<!-- jQuery -->
		<script type="text/javascript" src="../studio.web/js/jquery-1.6.1.min.js"></script>

		<!-- jQueryUI -->
		<link type="text/css" href="../studio.web/css/smoothness/jquery-ui-1.8.13.custom.css" rel="stylesheet" />
		<script type="text/javascript" src="../studio.web/js/jquery-ui-1.8.13.custom.min.js"></script>


		<!-- VoltDB -->
		<link type="text/css" href="../studio.web/css/voltdb.css" rel="stylesheet" />
		<link type="text/css" href="css/demo.css" rel="stylesheet" />

		<script type="text/javascript">var root = window.location.pathname.replace('guide.htm','');$(document).ready(function() {
//alert(window.location
    $('.pnbw').click(function(){var active=this.id.replace('nlnk_','').replace('plnk_','');$('.sec').css('display','none');$('#sec_'+active).css('display','');parent.frames['content'].location.href = 'intro.' + active + '.htm';});
	$(document).unload(function() {$('*').unbind(); });
});</script>
    </head>
<body class="body" style="background-color:white;padding:10px;margin:0px;-moz-user-select:text;s:-moz-none;">
    <div style="border-bottom:1px solid #ccc;"><img src="../studio.web/img/logo_tagline_newsql.png" width="320" /></div>
	<div id="sec_0" class="sec">
        <h2>Requirements</h2>
        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">1</td><td class="nbrtitle">Pre-requisites</td></tr></table>
        <ul>
            <li>Run these samples on a Linux 64 bit Operating system (or Mac OSX 64 bits).</li>
            <li>You will need to have Java OpenSDK (or Sun JDK) installed, as well as the <b>ant</b> utility.</li>
        </ul>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">2</td><td class="nbrtitle">Using Terminal</td></tr></table>
        <ul>
            <li>Instructions include running commands in the terminal.  Simply open a terminal window, copy and paste the command and hit enter to run it.</li>
            <li>The provided command will take care of running your sample, however, take note it will kill any running VoltDB database - do not run these samples on a production server.</li>
        </ul>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">3</td><td class="nbrtitle">Questions?</td></tr></table>
        <ul>
            <li>Check out our <a href="http://community.voltdb.com/forum" target="content">community forums</a> for answers.</li>
            <li>You can also find detailed documentation and white papers on VoltDB <a href="http://community.voltdb.com/documentation" target="content">here</a>.</li>
        </ul>

        <div style="border-top:1px solid #ccc;padding:10px;margin-top:20px;margin-bottom:20px;">
            <div id="nlnk_0" class="pnbw" style="display:none;"><!-- --></div>
            <div id="nlnk_1" class="pnbw" style="float:right;"><div class="pnb">Next</div><div class="pnra_orange"><!-- --></div></div>
        </div>

	</div>

	<div id="sec_1" class="sec" style="display:none;">
    	<h2>Instructions</h2>
        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">1</td><td class="nbrtitle">Running the sample</td></tr></table>
        <br/>
        Open Terminal, and run:<br/>
        <pre><script>document.write(root)</script>launch voter</pre>
        This will open two Terminal windows:
        <ul>
            <li>A VoltDB database process.</li>
            <li>A call center client capturing phone calls.</li>
        </ul>
        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">2</td><td class="nbrtitle">Monitor Performance</td></tr></table>
        <p>Next, <a href="../studio.web/index.htm?oe=0&ms=nor&startup=monitor" target="content">click here</a> to launch VoltDB Studio.</p>
        <p>The performance monitor will show you how fast VoltDB is processing phone calls.</p>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">3</td><td class="nbrtitle">What is happening?</td></tr></table>
        <ul>
            <li>The call center is randomly posting votes.</li>
            <li>VoltDB validates each vote, blocking fraud.</li>
        </ul>
		<p>The charts in VoltDB Studio (right side) show how many votes the database is processing ('Transactions/s') and how long it takes to process each vote ('Latency (ms)').</p>
        <p>The obvious goal: high Transaction/s, low latency (more votes, faster!)</p>
        <hr />
		<p>At the end of the benchmark, the call center simulator reports the contest winner (in the Terminal window), a query that takes a mere fraction of a second, despite millions of votes having been processed!</p>
        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">4</td><td class="nbrtitle">Explore...</td></tr></table>
        <p>You can open a New Query in VoltDB Studio to run requests against the database even as the application is running.</p>
        Follow live voting results:<br/>
        <pre>declare procedure Results
exec Results</pre>
        Get the total number of votes:<br/>
        <pre>select count(*) from votes;</pre>
        <p>To close VoltDB Studio, <a href="intro.1.htm" target="content">click here</a></p>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">5</td><td class="nbrtitle">Play...</td></tr></table>
        <p>You can customize the Voter sample by editing:</p>
        <pre><script>document.write(root.replace('/tools/demo/','/examples/voter/build.xml'));</script></pre>
        <ul>
            <li>Change the number of contestants</li>
            <li>Change the voting duration.</li>
        </ul>

        <div style="border-top:1px solid #ccc;padding:10px;margin-top:20px;margin-bottom:20px;">
            <div id="plnk_0" class="pnbw" style="float:left;"><div class="pnla"><!-- --></div><div class="pnb">Prev</div></div>
            <div id="nlnk_2" class="pnbw" style="float:right;"><div class="pnb">Next</div><div class="pnra_orange"><!-- --></div></div>
        </div>

	</div>

	<div id="sec_2" class="sec" style="display:none;">
    	<h2>Instructions</h2>
        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">1</td><td class="nbrtitle">Running the sample</td></tr></table>
        <br/>
        Open Terminal, and run:<br/>
        <pre><script>document.write(root)</script>launch key_value</pre>
        This will open two Terminal windows:
        <ul>
            <li>A VoltDB database process.</li>
            <li>A client benchmark application.</li>
        </ul>
        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">2</td><td class="nbrtitle">Monitor Performance</td></tr></table>
        <p>Next, <a href="../studio.web/index.htm?oe=0&ms=nor&startup=monitor" target="content">click here</a> to launch VoltDB Studio.</p>
        <p>The performance monitor will show you how fast VoltDB is processing GET/PUT calls.</p>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">3</td><td class="nbrtitle">What is happening?</td></tr></table>
        <ul>
            <li>The client runs various PUT/GET ops (12K payload).</li>
            <li>VoltDB serves as a simple high-speed data store.</li>
        </ul>
		<p>The charts in VoltDB Studio (right side) show how many votes the database is processing ('Transactions/s') and how long it takes to process each operation ('Latency (ms)').</p>
        <p>The obvious goal: high Transaction/s, low latency (more votes, faster!)</p>
        <hr />
		<p>At the end of the benchmark, the client application reports performance results (in the Terminal window)</p>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">4</td><td class="nbrtitle">Explore...</td></tr></table>
        <p>You can open a New Query in VoltDB Studio to run requests against the database even as the application is running.</p>
        Sample out store data:<br/>
        <pre>select top 10 * from key_value;</pre>
        Get the total number of stored values:<br/>
        <pre>select count(*) from key_value;</pre>
        <p>To close VoltDB Studio, <a href="intro.2.htm" target="content">click here</a></p>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">5</td><td class="nbrtitle">Play...</td></tr></table>
        <p>You can customize the key-value store sample by editing:</p>
        <pre><script>document.write(root.replace('/tools/demo/','/examples/key_value/build.xml'));</script></pre>
        <ul>
            <li>Test payload sizes (up to 1MB)</li>
            <li>Test with GZIP compression.</li>
            <li>Test with various PUT/GET ratios.</li>
        </ul>

        <div style="border-top:1px solid #ccc;padding:10px;margin-top:20px;margin-bottom:20px;">
            <div id="plnk_1" class="pnbw" style="float:left;"><div class="pnla"><!-- --></div><div class="pnb">Prev</div></div>
            <div id="nlnk_3" class="pnbw" style="float:right;"><div class="pnb">Next</div><div class="pnra_orange"><!-- --></div></div>
        </div>

	</div>

	<div id="sec_3" class="sec" style="display:none;">
    	<h2>Next Steps</h2>
        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">1</td><td class="nbrtitle">More samples...</td></tr></table>
		<p>A lot more sample applications are available for your to explore VoltDB's amazing performance.  Simply browse:</p>
        <pre><script>document.write(root.replace('/tools/demo/','/examples/'));</script></pre>
        <p>For all those samples, simply go to the folder and...</p>
        <p>To compile and run the VoltDB server, type:</p>
        <pre>ant</pre>
        <p>To run the sample application, type:</p>
        <pre>ant client</pre>
        <p>(other options might be available as well for specific samples - explore the README file)</p>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">2</td><td class="nbrtitle">Development Tools</td></tr></table>
        <p>You can launch VoltDB's Web Studio from:</p>
        <pre><script>document.write(root.replace('/demo/','/studio.web/index.htm'));</script></pre>
        <p>You can launch a simple Command-Line Interface from:</p>
        <pre><script>document.write(root.replace('/demo/','/sqlcmd/sqlcmd'));</script></pre>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">2</td><td class="nbrtitle">Documentation</td></tr></table>
        <p>When you are ready to move forward and code your own application, make sure you check out our documentations at:</p>
        <pre><a href="http://community.voltdb.com/documentation" target="content">http://community.voltdb.com/documentation</a></pre>

        <div style="border-top:1px solid #ccc;padding:10px;margin-top:20px;margin-bottom:20px;">
            <div id="plnk_2" class="pnbw" style="float:left;"><div class="pnla"><!-- --></div><div class="pnb">Prev</div></div>
        </div>

	</div>

</body>
</html><commit_msg>Look & feel updates based on Andrew's feedback & mockup<commit_after><?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<title>VoltDB | Demonstrations</title>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<!-- jQuery -->
		<script type="text/javascript" src="../studio.web/js/jquery-1.6.1.min.js"></script>

		<!-- jQueryUI -->
		<link type="text/css" href="../studio.web/css/smoothness/jquery-ui-1.8.13.custom.css" rel="stylesheet" />
		<script type="text/javascript" src="../studio.web/js/jquery-ui-1.8.13.custom.min.js"></script>


		<!-- VoltDB -->
		<link type="text/css" href="../studio.web/css/voltdb.css" rel="stylesheet" />
		<link type="text/css" href="css/demo.css" rel="stylesheet" />

		<script type="text/javascript">var root = window.location.pathname.replace('guide.htm','');$(document).ready(function() {
//alert(window.location
    $('.pnbw').click(function(){var active=this.id.replace('nlnk_','').replace('plnk_','');$('.sec').css('display','none');$('#sec_'+active).css('display','');parent.frames['content'].location.href = 'intro.' + active + '.htm';});
	$(document).unload(function() {$('*').unbind(); });
});</script>
    </head>
<body class="body" style="background-color:white;padding:10px;margin:0px;-moz-user-select:text;s:-moz-none;">
    <div style="border-bottom:1px solid #ccc;"><img src="../studio.web/img/logo_tagline_newsql.png" width="320" /></div>
	<div id="sec_0" class="sec">
        <h2>Requirements</h2>
        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">1</td><td class="nbrtitle">Pre-requisites</td></tr></table>
        <ul>
            <li>Run these samples on a Linux 64 bit Operating system (or Mac OSX 64 bits).</li>
            <li>You will need to have Java OpenSDK (or Sun JDK) installed, as well as the <b>ant</b> utility.</li>
        </ul>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">2</td><td class="nbrtitle">Using Terminal</td></tr></table>
        <ul>
            <li>Instructions include running commands in the terminal.  Simply open a terminal window, copy and paste the command and hit enter to run it.</li>
            <li>The provided command will take care of running your sample, however, take note it will kill any running VoltDB database - do not run these samples on a production server.</li>
        </ul>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">3</td><td class="nbrtitle">Questions?</td></tr></table>
        <ul>
            <li>Check out our <a href="http://community.voltdb.com/forum" target="content">community forums</a> for answers.</li>
            <li>You can also find detailed documentation and white papers on VoltDB <a href="http://community.voltdb.com/documentation" target="content">here</a>.</li>
        </ul>

        <div style="border-top:1px solid #ccc;padding:10px;margin-top:20px;margin-bottom:20px;">
            <div id="nlnk_0" class="pnbw" style="display:none;"><!-- --></div>
            <div id="nlnk_1" class="pnbw" style="float:right;"><div class="pnb">Next</div><div class="pnra_orange"><!-- --></div></div>
        </div>

	</div>

	<div id="sec_1" class="sec" style="display:none;">
    	<h2>Instructions</h2>
        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">1</td><td class="nbrtitle">Running the sample</td></tr></table>
        <br/>
        Open Terminal, and run:<br/>
        <pre><script>document.write(root)</script>launch voter</pre>
        This will open two Terminal windows:
        <ul>
            <li>A VoltDB database process.</li>
            <li>A call center client capturing phone calls.</li>
        </ul>
        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">2</td><td class="nbrtitle">Monitor Performance</td></tr></table>
        <p>Next, <a href="../studio.web/index.htm?oe=0&ms=nor&startup=monitor" target="content">click here</a> to launch VoltDB Studio.</p>
        <p>The performance monitor will show you how fast VoltDB is processing phone calls.</p>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">3</td><td class="nbrtitle">What is happening?</td></tr></table>
        <ul>
            <li>The call center is randomly posting votes.</li>
            <li>VoltDB validates each vote, blocking fraud.</li>
        </ul>
		<p>The charts in VoltDB Studio (right side) show how many votes the database is processing ('Transactions/s') and how long it takes to process each vote ('Latency (ms)').</p>
        <p>The obvious goal: high Transaction/s, low latency (more votes, faster!)</p>
        <hr />
		<p>At the end of the benchmark, the call center simulator reports the contest winner (in the Terminal window), a query that takes a mere fraction of a second, despite millions of votes having been processed!</p>
        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">4</td><td class="nbrtitle">Explore...</td></tr></table>
        <p>You can open a New Query in VoltDB Studio to run requests against the database even as the application is running.</p>
        Follow live voting results:<br/>
        <pre>declare procedure Results
exec Results</pre>
        Get the total number of votes:<br/>
        <pre>select count(*) from votes;</pre>
        <p>To close VoltDB Studio, <a href="intro.1.htm" target="content">click here</a></p>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">5</td><td class="nbrtitle">Play...</td></tr></table>
        <p>You can customize the Voter sample by editing:</p>
        <pre><script>document.write(root.replace('/tools/demo/','/examples/voter/build.xml'));</script></pre>
        <ul>
            <li>Change the number of contestants</li>
            <li>Change the voting duration.</li>
        </ul>

        <div style="border-top:1px solid #ccc;padding:10px;margin-top:20px;margin-bottom:20px;">
            <div id="plnk_0" class="pnbw" style="float:left;"><div class="pnla"><!-- --></div><div class="pnb">Prev</div></div>
            <div id="nlnk_2" class="pnbw" style="float:right;"><div class="pnb">Next</div><div class="pnra_orange"><!-- --></div></div>
        </div>

	</div>

	<div id="sec_2" class="sec" style="display:none;">
    	<h2>Instructions</h2>
        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">1</td><td class="nbrtitle">Running the sample</td></tr></table>
        <br/>
        Open Terminal, and run:<br/>
        <pre><script>document.write(root)</script>launch key_value</pre>
        This will open two Terminal windows:
        <ul>
            <li>A VoltDB database process.</li>
            <li>A client benchmark application.</li>
        </ul>
        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">2</td><td class="nbrtitle">Monitor Performance</td></tr></table>
        <p>Next, <a href="../studio.web/index.htm?oe=0&ms=nor&startup=monitor" target="content">click here</a> to launch VoltDB Studio.</p>
        <p>The performance monitor will show you how fast VoltDB is processing GET/PUT calls.</p>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">3</td><td class="nbrtitle">What is happening?</td></tr></table>
        <ul>
            <li>The client runs various PUT/GET ops (12K payload).</li>
            <li>VoltDB serves as a simple high-speed data store.</li>
        </ul>
		<p>The charts in VoltDB Studio (right side) show how many votes the database is processing ('Transactions/s') and how long it takes to process each operation ('Latency (ms)').</p>
        <p>The obvious goal: high Transaction/s, low latency (more votes, faster!)</p>
        <hr />
		<p>At the end of the benchmark, the client application reports performance results (in the Terminal window)</p>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">4</td><td class="nbrtitle">Explore...</td></tr></table>
        <p>You can open a New Query in VoltDB Studio to run requests against the database even as the application is running.</p>
        Sample out store data:<br/>
        <pre>select top 10 * from key_value;</pre>
        Get the total number of stored values:<br/>
        <pre>select count(*) from key_value;</pre>
        <p>To close VoltDB Studio, <a href="intro.2.htm" target="content">click here</a></p>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">5</td><td class="nbrtitle">Play...</td></tr></table>
        <p>You can customize the key-value store sample by editing:</p>
        <pre><script>document.write(root.replace('/tools/demo/','/examples/key_value/build.xml'));</script></pre>
        <ul>
            <li>Test payload sizes (up to 1MB)</li>
            <li>Test with GZIP compression.</li>
            <li>Test with various PUT/GET ratios.</li>
        </ul>

        <div style="border-top:1px solid #ccc;padding:10px;margin-top:20px;margin-bottom:20px;">
            <div id="plnk_1" class="pnbw" style="float:left;"><div class="pnla"><!-- --></div><div class="pnb">Prev</div></div>
            <div id="nlnk_3" class="pnbw" style="float:right;"><div class="pnb">Next</div><div class="pnra_orange"><!-- --></div></div>
        </div>

	</div>

	<div id="sec_3" class="sec" style="display:none;">
    	<h2>Next Steps</h2>
        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">1</td><td class="nbrtitle">More samples...</td></tr></table>
		<p>A lot more sample applications are available for your to explore VoltDB's amazing performance.  Simply browse:</p>
        <pre><script>document.write(root.replace('/tools/demo/','/examples/'));</script></pre>
        <p>For all those samples, simply go to the folder and...</p>
        <p>To compile and run the VoltDB server, type:</p>
        <pre>ant</pre>
        <p>To run the sample application, type:</p>
        <pre>ant client</pre>
        <p>(other options might be available as well for specific samples - explore the README file)</p>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">2</td><td class="nbrtitle">Development Tools</td></tr></table>
        <p>You can launch VoltDB's Web Studio from:</p>
        <pre><script>document.write(root.replace('/demo/','/studio.web/index.htm'));</script></pre>
        <p>You can launch a simple Command-Line Interface from:</p>
        <pre><script>document.write(root.replace('/demo/','/sqlcmd/sqlcmd'));</script></pre>

        <table cellspacing="0" cellpadding="0" border="0"><tr><td class="nbr">3</td><td class="nbrtitle">Documentation</td></tr></table>
        <p>When you are ready to move forward and code your own application, make sure you check out our documentations at:</p>
        <pre><a href="http://community.voltdb.com/documentation" target="content">http://community.voltdb.com/documentation</a></pre>

        <div style="border-top:1px solid #ccc;padding:10px;margin-top:20px;margin-bottom:20px;">
            <div id="plnk_2" class="pnbw" style="float:left;"><div class="pnla"><!-- --></div><div class="pnb">Prev</div></div>
        </div>

	</div>

</body>
</html>
{'fraction_non_alphanumeric': 0.19243191340782123, 'fraction_numerical': 0.014577513966480446, 'mean_word_length': 3.4909839278714228, 'pattern_counts': {'":': 0, '<': 795, '<?xml version=': 2, '>': 795, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6774679', 'n_tokens_mistral': 7660, 'n_tokens_neox': 7276, 'n_words': 1776}