Okay
  Public Ticket #2849754
It's show when many providers
Closed

Comments

  • Howard started the conversation

    HI,

    I noticed when there are many providers , the speed is getting slow. 

    The video is showing I made a api call in three different scenarios:

    1. An appointment is made by choosing one provider in one location. 
        It takes around 1.2 second which is in good speed.
    2. An appointment is made by choosing one location (5 providers in the api call)
        It takes around 5 seconds. A little bit slow.
    3. An appointment is made not choosing location (17 providers in the api call)
        It takes around 17 seconds. Very slow.

    https://streamable.com/d80ycy

    I've W3 cache enabled and object cache is on. 
    What else I can increase the performance?

  • [deleted] replied

    Hi, Howard,

    Thank you for choosing Amelia.

    Please make sure that you updated the plugin to the most recent version 4.1.

    Also, please try to enable the "Load Entities on page load" slider in Amelia -> Settings -> Activation:

    1199041157.png

    That might help to increase the speed.

    Looking forward to hearing from you. 

  • Howard replied

    HI,

    I'm using 4.1 version and I tried to enable the "Load Entities on page load"

    However, the speed is still very slow. 

    Please see the video.

    https://streamable.com/ogkinp


    These are my settings :
    1. all of my employees connect to their own google calendar.
    2. Period available for booking in advance is set to 30.

  • Howard replied

    I'm curious , do you send API query to google calendar every time for finding the busy slots of every employee ?

  • [deleted] replied

    Hi Howard,

    thank you for contacting backsmile.png

    Yes, that is how it works; also, do you have a lot of employees or appointments daily?

  • Howard replied

    I have 16 employees and all of them connect to google calendar and I only have total 4 appointments now.

    Each of employee's waiting time for Google api call for busy slots is around 800ms. 

    It takes around 12-16 seconds for customer choosing one location without choosing specific service provider. 

    This does not work........  Can you make an api call once a hour and save the google api result in database?  I can accept time delay and I think the performance issue will be solved.   

  • [deleted] replied

    Hi Howard,

    I can make a suggestion to the developers regarding this

    Can you make an api call once a hour and save the google api result in database? 

  • Howard replied

    I also noticed google is suggesting using push notification when user's calendar is updated. 

    https://developers.google.com/calendar/api/guides/push

    I think polling once a hour or using push notification is much better than query api every time. It's toooo much slow.....

    Please help!

  • [deleted] replied

    Howard,

    I'm afraid, for some reason, this logic cannot be changed at the moment since our developers are extremely busy working on the new features.

    As my colleague Ivana mentioned below, you can suggest that as a feature request here, or check if this request was already submitted and vote for it. 

    Please let us know if you have any other questions.

    Best Regards.

  • Howard replied

    Do you really consider this is a feature request not a bug?? 

    It takes over 8 seconds when selecting "Any employee" if you have 10 employees connecting with google calendar ...... 


  • [deleted] replied

    Hi Howard,

    thank you for the kind reply.

    Our developers make sure to include optimization in every update - for this particular method of processing feature changes would need to be implemented in order to process data in the way you required; this is why we suggested the page.

  • Howard replied

    HI Ivana,

    Do you see the "google calendar api slow" in feature request page?

    I clicked on Make a suggestion button and type suggestion but I didn't see my post on suggestion list?

  • [deleted] replied

    Hi Howard,

    Since you submitted it recently it can still be in the pending status; there are currently 2 pending suggestions that cannot be opened, so please check again a bit later.

  • Howard replied

    I still don't see my  feature request  in https://wpamelia.cnflx.io/boards/feature-requests

  • [deleted] replied

    Hi, Howard,

    Sorry for the delayed response.

    I couldn't find a request that contains the words "google calendar api slow". Could you please try to resend it? Usually, we don't have any issues with the system, but it could be a server glitch or any other technical inconvenience.

    Please let us know if you have any other questions.

    Best Regards. 

  • Howard replied

    I still don't see my feature request. Do you really care about the issue? 

    If 10 people connecting to google calendar , it takes 10 seconds to get response because you make api query to google calendar for every employees. 

    It's really a serious bug and I follow your instruction to make a feature request one month and made a second request two weeks ago but I still don't see my feature request. 

    This is the video I made my feature request. 
    https://streamable.com/u5gfhn

    Please help on this issue!!

  • [deleted] replied

    Hi Howard,

    thank you for contacting backsmile.png

    We will check in with a team to see where your submission is; all requests are automatic, so I'm not sure why it's not showing yet (as it's been a while). Team will be here from Monday, so we will contact you back as soon as possible.

    I wish you a lovely day in the meantime.

  •  2,572
    Aleksandar replied

    Hello Howard

    The feature requests pushed to our suggestion page first need to be reviewed by our management before they are approved and visible on the page, and available for voting.

    There are hundreds of feature requests that are being made weekly, so it takes a lot of time for our managers to go through them, and add them to the page for voting. We apologize for the delay, but you can rest assured that your request has been submitted.

    I forwarded your suggestion directly to our developers, so they'll take a look at it. If they're able to do this, it will be added as a task for one of our upcoming updates, so it may not even get to the feature suggestion page if that's the case.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables