Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8089265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:20:54+00:00 2026-06-05T19:20:54+00:00

Yesterday I’ve posted question about SQLite performance issues ( Terrible performance in Zend Db

  • 0

Yesterday I’ve posted question about SQLite performance issues ( Terrible performance in Zend Db PDO_sqlite insert and update queries ). After several tests It seems like the problem occurs only when methods are called through SoapServer (tried both native PHP SoapServer and Zend_Soap_Server classes).

Test case – calling 10 methods which use SQLite DB INSERT and UPDATE DB operations.

Here are several cases of how it works:

1.Through the controller – without using Soap server. localhost:~0.3s, remote server:~0.3s

2.Through the Soap server. 1st call. localhost:~1-2s, remote server:~7s!

3.Through the Soap server. Several calls. localhost:~1-10s, remote server:~7s

3rd case doesn’t concern me that much, probably might be the local server performance issue. Important thing is that it works stable on remote server.

On the other hand, 7 seconds for simple 10 method calls is increadibly long. Obviously – part of this 7 seconds is client-server communication, as case 1 omits that, but i don’t think It should be that slow!

For debugging I’m logging everything, and what seems to happen is that the same SQLite methods called in case 1, take 0.00x-0.02s, here last for ~0.15-0.45s.

What might be the issue? Is it normal thing that it slows down so drasticly when using SOAP? (It’s my first soap server project).

EDIT: another important log fact I’ve found:

Information -2012-04-26 13:08:07.782679 Class: SoapController. Method: SoapController::hadleWSDL. Line: 18.

Information-2012-04-26 13:08:08.318641 * SYSTEM START UP *

So that’s basicly time between 2 methods being called. Over 0.5s for client-server communication with a little amount of data seems a lot to me. Here’s the code for handleWSDL action:

$options = array(
    'encoding' => 'UTF-8',
    'cache_wsdl' => WSDL_CACHE_BOTH,
    'uri' =>$this->_WSDL_URI
);  
$soap = new Zend_Soap_Server(null, $options); 
$soap->setClass('SoapServerFunction');
$soap->setObject(new SoapServerFunction());
$soap->handle();

The application is really simple – SOAP method takes 1 parameter, and basing on it 1 cached object is created, data is being processed, and part of data is returned in XML format.

Thank you in advance for any suggestions what I can do to either make it faster or how to track what’s the real reason of slowing down.

Best regards!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T19:20:56+00:00Added an answer on June 5, 2026 at 7:20 pm

    Do you use a FQDN for the server’s address? In that case it might actually be DNS-related. You might also want to try everything on a real system and not on a virtual host, as you will not have much control over what the physical system is actually doing.

    Secondly, I would recommend installing xdebug and use kcachegrind or wincachegrind, which will give you a much more detailled view of what your system is doing.

    Thirdly, you may log slow queries by utilizing PostgreSQLs pg_stat_statements().

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Yesterday, I started here asking a question about my own project, and when I
Yesterday, after about two years we re-deployed our application. Code hasn't changed, but the
Yesterday I posted a similar question on why my code started on my content
Yesterday I asked a question here about a oneliner and mjschultz gave me an
Yesterday I asked a question about parallel matrix multiplication in Java 7 using the
yesterday I took a database exam and the question about normalization was strange. We
yesterday i asked one question and got the answer from our friend here, and
Yesterday another user helped out with building a generic function for handling MySQL Queries.
Yesterday I felt in big issue that happens with all my projects. After I
Yesterday I was thinking about whether it would be possible to use the convenience

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.