How do LS Agents compare with Java servlets in general wrt the performace?
Subject: LotusScript agent vs Java servlet
Servlets are generally faster because they remain memory resident, whereas LotusScript agents must be loaded and initialized every time they’re run.
As far as actual execution speed, I understand LotusScript and Java are about the same, but I haven’t seen specific benchmarks. It probably depends what you’re doing (e.g. maybe LotusScript is faster for accessing documents, Java for manipulating strings, etc).
Subject: RE: LotusScript agent vs Java servlet
Thanks for your response. Would it be fair to assume that for services consisting mostly of document access and presentation from the same database where the agent resides, the servlet’s stay-resident advantage probably disappears?
Subject: RE: LotusScript agent vs Java servlet
I wouldn’t assume that. I don’t know whether document access in LotusScript is faster or slower than in Java. I just gave that as an example of a possible difference that might exist between them (hence the “maybe”). I’m sure folks here would be interested to see your comparative timing results.