Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Database access and async web framework (like Mojolicious)

by stevieb (Canon)
on Dec 13, 2024 at 09:40 UTC ( [id://11163173]=note: print w/replies, xml ) Need Help??


in reply to Database access and async web framework (like Mojolicious)

My concern is that because of the use of threads in such frameworks, keeping a DB handle over time will lead to problems.

The only way to quell or prove the anecdotal theories you have, is to test for yourself. Take the time to set up whatever DB configuration you want, then write an automated test suite to hammer the db code until it either breaks, or is usable beyond what you perceive to be acceptable.

FWIW, I prefer Dancer2, but I digress.

  • Comment on Re: Database access and async web framework (like Mojolicious)

Replies are listed 'Best First'.
Re^2: Database access and async web framework (like Mojolicious)
by Arunbear (Prior) on Dec 13, 2024 at 10:15 UTC
    Can you say more about why you prefer Dancer?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2026-01-17 01:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (120 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.