I'm beginning to understand the concept behind SQL :)
Here's my problem in higher detail:
- I'm programming a webcrawler
- the database contains all the urls, the crawler still has to visit, the order in which he visits them doesn't matter at all
- the crawler is running with multiple threads...
I have a table containing three columns: "ID", "url" and "status". The table contains a list of URLs,
all with status = 0 in the beginning.
With each query I want to read one URL from the database and mark the read URLs by setting their status
to 1.
In the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.