You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dan Ballard 0a71846b73 update project site link 3 years ago
ConnHandler.java - getMsgs and getLog now both long pull. Much faster and more effecient 9 years ago
Cortex.java Now server applet garunteed to show correct port 9 years ago
LICENSE Create LICENSE 6 years ago
Makefile - getMsgs and getLog now both long pull. Much faster and more effecient 9 years ago
README update project site link 3 years ago
ResManager.java - getMsgs and getLog now both long pull. Much faster and more effecient 9 years ago
Runner.java Initial import of Cortex code from my cs416 class at UBC 9 years ago
Server.java recovering Server.java from backup 8 years ago
TSP_map_test.js Initial import of Cortex code from my cs416 class at UBC 9 years ago
ajax.js Initial import of Cortex code from my cs416 class at UBC 9 years ago
client.html - getMsgs and getLog now both long pull. Much faster and more effecient 9 years ago
gen-cert.sh Initial import of Cortex code from my cs416 class at UBC 9 years ago
shell.html - getMsgs and getLog now both long pull. Much faster and more effecient 9 years ago

README

Cortex: P2P in JavaScript
Dan Ballard (2010-2011) <dan@mindstab.net>
https://danballard.com/projects/cortex/

Cortex is a P2P framework that runs without installation in your web browser. It's one small part Java Applet (HTTP server) and one large part JavaScript. The JavaScript is all the P2P networking code and utilities you need to get off the ground and go.

Cortex was a school project for CS from late 2009 and early 2010 that won second place in the BCNet "Broadband Innovation challenge". On top of the P2P network, a distributed processing system was written to further demonstrate that mature complicated applications can be written in JavaScript.

As happens with school projects, the Cortex code base was a bit of a mess when done due to massive time constraints and due dates. I am slowly trying to clean up the codebase now in my spare time.

Step 1 was the longpull branch which added a few nice graphics feedbacl tweeks to the java applet and greatly sped up communication by making it use AJAX longpull.

Step 2 is to modularize it to make it more extensible