Seed

In the computer world, a seed may refer to three different things: 1) A random seed, 2) seed data, or 3) a client on a peer-to-peer network.

1. Random Seed

A random seed is a value used to generate random data. Since computers are programmed to follow instructions based on specific input, creating random output is more difficult than it might seem. In order to generate a random value, another value called a "random seed" must be provided as input. This may be a timestamp (which can include milliseconds), a system value (such as a GUID), a hardware serial number, or another unique value.

A random seed may be generated automatically (e.g., a timestamp) or may be explicitly passed to a randomizing function as a parameter. The function uses the seed value to produce random output, which is typically a number.

2. Seed Data

Seed data is information that is loaded to enable a function or program to work correctly. If a function queries an empty database, for example, it will not produce useful output. If the database is "seeded" with data, the function will generate meaningful results. Seed data is often used for testing purposes. It may be created using an automated process or can be entered manually.

3. P2P Seed

A peer-to-peer (P2P) seed is a or computer (or "peer") that uploads one or more files on a file sharing network, such as BitTorrent. Once a user downloads a complete file, he or she can share the file with other users. Peers that provide files for other torrent users to download are called seeds. Peers that download files but rarely or never upload them are called leeches.

Updated October 25, 2017 by Per C.

quizTest Your Knowledge

A timestamp contains what two values?

A
Date and location
0%
B
Time and date
0%
C
Location and time
0%
D
Time and speed
0%
Correct! Incorrect!     View the Timestamp definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Seed on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.