Confused about two development utils

2020-12-21 Thread Matthias Peng
Hello I am developing a simple mp2 application. I looked for the installation for mp2 utils, and found this two: libapache2-mod-perl2 libapache2-mod-apreq2 what're their relations? Should I install both, or only the first one? Thanks.

RE: Don't use session hashes [EXT]

2020-12-21 Thread James Smith
What I'm trying to say - yes use session IDs if you need to - but don't if you don't I see lots of PHP sites which create sessions for every visitor - and this tends to create a mass of 1 page sessions that never ever get used. So you should only create them on the first instance that you need t

Don't use session hashes

2020-12-21 Thread Vincent Veyron
On Mon, 21 Dec 2020 12:15:45 + James Smith wrote: Hi James, > > The first rule of session hashes is don't use session hashes, I thought this was a standard way of storing user information? I've copied an example at the bottom (this application calculates quotes for a sailmaker) I'm not

RE: suggestions for perl as web development language [EXT]

2020-12-21 Thread James Smith
> (I forgot to say in my previous post that over 50% of the time used by my > script is spent on the _one_ query out of 120 that writes a smallish session > hash to disk) The first rule of session hashes is don't use session hashes, but the 2nd rule of session hashes is don't write them to disk

RE: suggestions for perl as web development language [EXT]

2020-12-21 Thread James Smith
Didn’t see the earlier response – John if you are seeing 25% cpu utilization that indicates that something is wrong with architecture of the solution rather than the language. It would suggest that you have bottlenecks elsewhere – network, memory, database, disk. We have seen that the sweet spo

Re: suggestions for perl as web development language [EXT]

2020-12-21 Thread Mithun Bhattacharya
Making a wild guess here - most RDBMS won't like it if you make thousands of queries per second across 500 tables every second. Can this be done - yes but most setup's aren't tuned to be able to handle such a scenario. If I was doing something like this I can imagine quite a few places which would