Re: Post about a Apache/mod_perl based component/service architecture
[email protected] (Bas A . Schulte)
| Newsgroups | perl.p5ee |
|---|---|
| Message-ID | <[email protected]> |
Perrin, On Saturday, March 23, 2002, at 05:45 PM, Perrin Harkins wrote: >> Care to explain? Why not use SOAP to allow access to a service (that > is >> now being accessed using HTTP and Storable for (de-)serialization) and >> allow access to the services using non-perl languages? > > For one thing, it would be slower. Storable is the fastest way to > serialize perl data, bar none. That slowdown might get lost in the > overall slowness of doing network operations, but if you do multiple RPC > calls per request it could add up. Point taken. That, and the lack of my hands-on experience with SOAP, led me to go with Storable. However, SOAP allows me to have more flexibility in my components, language-wise. For that, I'm willing to trade in some (!) performance loss. Regards, Bas.