Friday, October 2, 2009

Torrent


Torrent
When we wanna download a movie the first thing we search is the Torrent. What actually is torrent? It is a small file that contains the Metadata (Data about the File to be downloaded) about the movie and tracker. Well… we all use torrent for downloading movies, songs, software, games, but we rarely know how it works.
Let’s start with the beginning BitTorrent is a peer-to-peer file sharing protocol used for distributing large amounts of data. BitTorrent is one of the most common protocols for transferring large files, and it has been estimated that it accounts for approximately 27-55% of all Internet traffic. BitTorrent protocol allows users to distribute large amounts of data without putting the level of strain on their computers that would be needed for standard Internet hosting. A standard host's servers can easily be brought to a halt if extreme levels of simultaneous data flow are reached. The protocol works as an alternative data distribution method that makes even small computers with low bandwidth capable of participating in large data transfers.
In the conventional way of transfer of data like FTP and HTTP the client has only one server and we have to maintain the connection intact till the whole file is downloaded. Another big problem is that there is only one server and millions and millions of clients are requesting that server and which can lead to failure of service of some user.
The main thing about the torrent is that you not only download the file from other users but there are people who are downloading the file from you. It’s like sharing whatever you have.Now there are various terms related to torrent like seeds and peers. Peer is a computer on the net who is downloading the same file you are and Seed is the one who has completed the downloading. So while downloading a torrent you must see the peers higher the peers ,your downloading will be quick.
Now let’s see how torrent works when we start downloading a file using torrent. Our software (uTorrent,BitTorrent) search for the user who are sharing this file and pick random parts of same file from different location ,so we don’t need to be connected to any server continuously and in case we loss the connection from the peer we are getting the data from, no problem the whole piece is discarded and same piece is collected from some other peer. Some people think that torrent work on UDP but it’s not like that torrent work on the TCP.
This is the main drawback of torrent because of using TCP the download is very slow. We have to make multiple TCP connection to download a file. But it is far more better than the traditional FTP and HTTP data transfer.

Saturday, September 26, 2009

Artificial intelligence


Knowledge Base when I read this word the first thing that comes into my mine is artificial Intelligence. What actually is artificial intelligence???? What I think is my subject.. It’s really a horrible subject. I just don’t have any clue what my teacher say in a 1 hour class. I usually find myself sleeping in that class or doing something more useful then sleeping. Well…. From the first day of lecture to today I got one point is that this artificial intelligence gonna affect our future badly. What actually is artificial intelligence is??? It is not just a subject it is a dawn of something haunting, may be we are designing something really horrible for our upcoming generations. Let me tell you properly what is artificial intelligence it is creating an artificial mind which have its own intelligence. Seems to be funny but it is not any more, man is always known to create thing which creates problem sooner or later. We have millions of such examples, No doubt science has converted our life style, make thing look easy, but are actually they??? What I think we are steadily but surly moving towards something unpredictable………..