Daniel thanks really for all your feedback. Just one last question:I think it will at least not be worse ;-) And I'd appreciate any further information on the performance issue.
If I decide to use the Slide APIs directly and turn off Slide's Security Checks using SlideTokenWrapper
SlideToken token = new SlideTokenImpl(credentials); token.setEnforceLockTokens(true); SlideToken tokenWrapper = new SlideTokenWrapper(token,true); tokenWrapper.setForceSecurity(false);
And provide my own LockStore, since I will be maintaining user list in my
own Schema. Will this configuration significantly reduce the performance
bottleneck? Basically, is security check the main performance impairer?
If you use the slide API for storing data from your app, take into account that it is reallly complicated to store content in a way that you can use the versioning stuff, because all of the versioning is done in the webdav layer. For fast content retrieval in the same vm, slide API might be a good choice.
Regards,
Daniel
Regards and Thanks, Ritu
-----Original Message----- From: Daniel Florey [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 5:15 PM To: Slide Users Mailing List Subject: Re: Which API should I use for a web app?
Ritu Kedia wrote:
Hello Daniel,really usable.
Thanks a lot for your reply. Please find my comments inline.
-----Original Message----- From: Daniel Florey [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 3:08 PM To: Slide Users Mailing List Subject: Re: Which API should I use for a web app?
Yes, Slide is an abstract content repository but it depends on the kind of application you want to build on top of it, if it is
stored inWhat I was talking about was a portal like webapplication using some of the content displayed to the user by using slide. If you are thinking of a totally different app, the performance problems might not occur.
Let's say you are thinking of a webapp that has several JSP-pages that work without retrieving data from slide while generating output and you have a download area where users can download documents it might be ok. But if you think of web pages that contain content that is
then how would itslide and will be retrieved while generating the page it will be really slow. The API you use will not make a very big difference as the performance problems occur inside the slide kernel (permission checking etc.)If the performance impact occurs inside the Slide Kernel,
be different when accessed via a Web-Client as opposed to aDesktop-Client?
The only difference is: in case of a Web-Client I would usesome JSP/XSP and
in case of a Desktop-Client I would use some Web-Service.With both the
JSP/XSP and Web-Services internally using the Slide ClientLIB to access
Slide's WebDAV Service.Slide", do you
In your example above, when you say "retrieving data from
imply retrieving actual Content or retrieving anyinformation: MetaData or
Content?sub-folders inside
E.G. 1. if the client(Web/Desktop) wants to view all the
a folder, a Slide WebDAV <ls> command would be issued andthe results would
be wrapped in respective format and returned to the client. E.G. 2. if the client(Web/Desktop) wants to download all thefiles in a
folder, a recursive Slide WebDAV <Get> command would beissued and the
results would be wrapped in respective format and returnedto the client.
understand theWill there be performance impact in both cases or only case 2 (large information download)?
Sorry for going into so much details... But I really did not
difference between a Web-Client and a Desktop-Client. Thesecurity and lock
checks would be required in both cases. And most likely bothcases would be
communicating with server over http.webdav lib or
When you mention "background-building of webpages"... areyou referring to
the fact that Slide communicates over the WebDAV(HTTPextension) protocol
and by that fact it would be required to return a webpage inresponse to any
request?APIs inside our
If yes, would that mean that the performance impact is due to the
communication layer between a WebApp and Slide? In other words, the
performance impact can be attributed to using Slide's Client
WebApp. And that could be avoided if we access Slide APIsdirectly from
inside our WebApp. Is this interpretation correct?No, the api makes no big difference. You should use the
performance differencewvcm to access slide, otherwise your app is bound to the same vm.When using the Client LIB, wouldn't there be a big
due to the additional HTTP communication layer introduced(Iam referring to
using Client LIB from inside a JSP or Web-Service on theServer side)?
(Having the Slide APIs run in the same VM is acceptable).WebDAV and the
However I think not having a clean separation between the
Slide API layer would mandate the use of the Client or WVCMlibraries.
Hi,
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
.
there is no performance difference in using slide from webapp or desktop-client view. But normally it is more acceptable if you e.g. want to save a word document to slide or load it and wait a few seconds for it. Or if you open a folder in webfolder view it is acceptable if it takes another several seconds. But if you want to build a webapp the user in not used to wait several seconds for a page. And also there are much more parrallel users using a webapp than document editors.
So if you want to build a dynamic webapp based on slide stored content, it will be damned slow if you don't cache the rendered pages until content is changed.
I've integrated the event based stuff to enable some webapp like this.
But it depends on the needs of your application.
The protocol layer will for sure add some overhead, but this is not the big point. As the slide API will probably change in future releases it would be my strong advice to use the webdav api instead.
Regards, Daniel
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]