Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Multiuser app with SQLite, Dancer2 and CLI

by afoken (Chancellor)
on Dec 06, 2018 at 20:15 UTC ( [id://1226853]=note: print w/replies, xml ) Need Help??


in reply to Multiuser app with SQLite, Dancer2 and CLI

As fas as I understand, the SQLite "file" can be accessed safely by different processes.

Maybe it can be accessed by more than one process, but that does not mean it should be. Consider using a "real" database server if you need multi-process access to the database.

I would recommend using PostgreSQL. Here is why: Re^2: What is the best Perl library to use to connect and access MSSQL2008 Database from winXP PC?, Re^2: Perl and Database, Re^2: What is your favourite Linux or cross-platform database?. PostgreSQL runs on Unix (including MacOS X, Linux) and Windows, and is quite easy to set up and run, and it comes with excellent documentation. You may also want to install PgAdmin.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re: Multiuser app with SQLite, Dancer2 and CLI

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-23 06:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found