Showing posts with label tomcat. Show all posts
Showing posts with label tomcat. Show all posts

Monday, November 20, 2006

Fuzzy "Anonymous" Bit Torrent

Limited alpha test done for kerjodando p2p (better cos its private).

Swarms made and fast "torrent" download of big files done in private network.

kerjodando similar to bit torrent.

In bit torrent users swarm around a specific file with specific ip addresses.

Kerjodando p2p users swarm around a group of files with indistinguishable ip addresses and proxies.

This forms many small networks like bit torrent.

To try the alpha test:

The next development will enable a user to belong to more than one group/swarm.

After that I will add facility for users to make own groups.

Both these functions will be done in a Ruby on Rails / AJAX website currently beeen coded by developer.

The new site is going to be called "Dagens" (Today's Special in Norwegian) and will resemble a thePirateBay in function except will be a friend to friend (F2F) website.

In summary, in normal p2p everyone is in one searchable network.

However, kerjodando is like a friend to friend version of bit torrent as you only join networks that share your interest.

Saturday, October 28, 2006

kerjodando p2p alpha tracker test


After a lot of stopping and starting and mis-communication between me and my developer (a java expert).

We have decided to reduce the scale of this phase so as to meet the Halloween deadline.

The tracker is now going to be done in server-side code on tomcat.

Ruby on Rails website has now been delayed to next phase.

Also, the project team is now three as we have been joined by a Style, Art and Editorial Director, Trine (from Norway) adding to the currrent team of me, Project Production Manager (from Jamaica) and Vicent, Project Developer (from China).

Here in the Developer's words is how the tracker works,


Proposed Ruby on Rails (RoR) Website before it was delayed:

Core website: I set up 3 tables, called users, catelogs, swarms.


Users is used to record a user's connection.

Catelogs is used to save catelog information.

Swarms is used to save swarm information (including corresponding catelog_id and last-time connect in seconds).
I then use RoR to make some function, such as browse catelog, browse swarms by catelog_id, show swarm by swarm_id and count users by swarm_id.


Tomcat:

I use java/jsp to let user download core_basic.jar file, and use java to output ipfilter.dat.

I have tell you that because of the deadline is closer, so I just use java to work now, later, I wanna use RoR totally instead of tomcat.

This why I use java to output the ipiflter.dat.
I also use tomcat/java to update the time that user last time download ipfilter.dat.

When user download the ipfilter.dat, such as http://*********.com/5/ipfilter.dat
just the user whose ip address is in the ipflter.dat can join the swarm.

I take the "5" as swarm_id, then I find the ip addresses of users whose swarm's id is "5" from users table in database.

When I gather their ip addressess, I output the ip addresses as a file called ipfilter.dat to user for their download.

See picture above.