Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: BerkeleyDB question

by Corion (Pope)
on Jun 18, 2016 at 10:00 UTC ( #1166019=note: print w/replies, xml ) Need Help??


in reply to BerkeleyDB question

I would expect the cursor in your reader program to only get a fixed set of elements, more or less the elements at the time of its creation, or maybe the elements on those pages in the Btree that were populated at the time of the cursor creation. To use the BerkeleyDB as a queue, reading off events as they are added, either use a predictable key (like an increasing number) or recreate your cursor and then skip over elements that you've already seen.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1166019]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2021-01-17 00:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?