Permalink
Browse files

new web page

  • Loading branch information...
1 parent 5af32a1 commit 4a89e9f3f4d8629b2aae92736fd620e3f61acab3 @gritzko committed Feb 22, 2010
Showing with 49 additions and 26 deletions.
  1. +33 −15 doc/index.html
  2. +13 −10 doc/style.css
  3. +2 −1 mfold/docmd
  4. +1 −0 mfold/status.default.sh
View
48 doc/index.html
@@ -8,13 +8,17 @@
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
$(document).ready(function(){
+ $("div.fold>p, div.fold>ul, div.fold>div").hide("fast");
+ $("div.fold>h2, div.fold>h3, div.fold>h4").attr("bullet","closed");
$("div.fold>h4, div.fold>h3, div.fold>h2").click(function () {
- $("div.fold>p, div.fold>ul, div.fold>div").hide("fast");
- $(this).siblings().each(
- function(){
- $(this).show("normal");
- }
- );
+ $("div.fold>p, div.fold>ul, div.fold>div").hide("fast");
+ $("div.fold>h2, div.fold>h3, div.fold>h4").attr("bullet","closed");
+ $(this).attr("bullet","open");
+ $(this).siblings().each(
+ function(){
+ $(this).show("normal");
+ }
+ );
});
});
</script>
@@ -29,16 +33,30 @@
<div id='abstract'>
<b>Abstract</b>.
- &nbsp;<i>swift</i> is a multiparty transport protocol; its mission is to
+ Current Internet protocols are geared for 1:1 client/server
+ communication. We expanded the TCP/IP protocol suit with swarming.
+ Our protocol is designed to be capable of integration
+ into browsers / operating systems and able to serve 95% of current Internet
+ traffic.
+ <p>
+ <b>swift</b> is a multiparty transport protocol; its mission is to
disseminate content among a swarm of peers. It is a sort of BitTorrent
- at the transport layer. <a href="http://bittorrent.org">BitTorrent</a> can't
- underlie a distributed filesystem or deliver Web pages; while
- <a href="http://github.com/gritzko/swift/raw/master/doc/swift-protocol.txt">swift</a> can.
- <a href="http://github.com/gritzko/swift">libswift</a>
- is 4000 lines of cross-platform C++ code
- licensed under LGPL; it runs on misc Unices, Mac OS X and Windows;
+ at the transport layer. We generalised the ideas of
+ <a href="http://bittorrent.org">BitTorrent</a> to make it
+ suitable for new usage areas such as distributed filesystems and
+ Web page delivery. The TCP+Bittorrent stack consists of
+ 60<a href='http://en.wikipedia.org/wiki/Source_lines_of_code'>KSLoC</a>
+ + 90KSLoC respectively
+ (by <a href='http://www.dwheeler.com/sloccount/'>SLOCCount</a>).
+ With novel datastructures and refactoring we managed to implement
+ <a href="http://github.com/gritzko/swift/raw/master/doc/swift-protocol.txt">swift</a>
+ in a mere 4KSLoC of cross-platform C++ code.
+ <a href="http://github.com/gritzko/swift">libswift</a> library
+ is licensed under LGPL; it runs on misc Unices, Mac OS X and Windows;
it uses UDP with <a href="http://tools.ietf.org/wg/ledbat/">LEDBAT</a> congestion control.
- So far our speed record is mere 400Mbps, but we are working on that.
+ Currently maximum throughput is 400Mbps, but we are
+ <a href='http://mughal.tribler.org:8080'>working on that</a>;
+ <!--going to 600 Mbps with further optimizations, and final--> our next target is 1 Gbps.
The library is delivered as a part of <a href="http://p2p-next.org">P2P-Next</a>,
funded by <a href="http://cordis.europa.eu/fp7/dc/index.cfm">EU FP7</a>.
</div>
@@ -303,4 +321,4 @@
</div>
</body>
-</html>
+</html>
View
23 doc/style.css
@@ -16,18 +16,18 @@ body > div {
margin: auto;
margin-top: 64px;
margin-bottom: 64px;
- #background: #d0e0ff;
+ /*background: #d0e0ff;*/
background: rgba(208,224,255,0.9);
padding-top: 16px;
padding-bottom: 16px;
}
img#logo {
- #display: block;
- #margin-left: auto;
- #margin-right: auto;
- #position: relative;
- #top: -40px;
+ /*display: block;
+ margin-left: auto;
+ margin-right: auto;
+ position: relative;
+ top: -40px;*/
position:absolute;
top: 4px;
}
@@ -50,16 +50,19 @@ div#motto {
div#abstract {
letter-spacing: 0.06em;
- #font-size: larger;
+ /*font-size: larger;*/
font-style: italic;
font-family: Georgia;
}
div.fold>h2, div.fold>h3, div.fold>h4 {
- text-decoration: underline;
cursor: pointer;
}
-div.fold > p, div.fold > ul, div.fold > div {
- display: none;
+[bullet='open']:before {
+ content: "";
+}
+
+[bullet='closed']:before {
+ content: "";
}
View
3 mfold/docmd
@@ -16,7 +16,8 @@ if [ ! -e $SHSC ]; then
exit 0
fi
-if ( cat $ENV $SHSC | ssh $HOST ) > logs/$HOST.$CMD.out 2> logs/$HOST.$CMD.err; then
+if ( (echo "HOST=$HOST"; cat $ENV $SHSC) | ssh $HOST ) > \
+ logs/$HOST.$CMD.out 2> logs/$HOST.$CMD.err; then
echo $HOST $CMD OK
exit 0
else
View
1 mfold/status.default.sh
@@ -0,0 +1 @@
+echo -e $HOST"\t"`tail -1 swift/lerr`

0 comments on commit 4a89e9f

Please sign in to comment.