Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: ?Thread safe DBI? any updates?

by BrowserUk (Pope)
on Feb 15, 2013 at 18:05 UTC ( #1018935=note: print w/replies, xml ) Need Help??


in reply to ?Thread safe DBI? any updates?

I am looking at doing a threaded Producer /Consumer system, feeding into a PostgreSQL database.

The simple, conservative rule here is only have one thread accessing the database. This is pretty much guaranteed to work okay.

From experience, I can tell you that DBD::PgPP works fine from multiple threads. By hearsay, I believe that DBD::Pg is also threadsafe.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018935]
help
Chatterbox?
[thao4]: thao4
[hippo]: Indeed you are.
[thao4]: Hi all, I am new in perl. I need do somthing in perl: exemple: - search a patern "CADRE 1.1 CPU" in one file.txt - incremente +30 lines from the line with the patern found - replace the patern "Model Regle" by "Heath Rule A" in this new line (30 line
[marto]: good morning all
[hippo]: Welcome. Tell me, have you read perlintro? That's a great place to start.
[thao4]: I seach to do that since a week but I can't found the answer in google. Thank for your help

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2018-02-21 09:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (276 votes). Check out past polls.

    Notices?