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

  • Home
  • SEARCH
  • 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 306641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:29:08+00:00 2026-05-12T07:29:08+00:00

I have written a web application that interacts with Google calendar (adds/edits/updates events). You

  • 0

I have written a web application that interacts with Google calendar (adds/edits/updates events). You may have seen one of my many posts about it.

I had been struggling with the fact that sometimes I find my application to be slow on performing calendar operations. I have since come to the conclusion that it is not slow due to the HTTP Request, but because of my GoDaddy shared server.

I have tried two methods of interacting with the calendar:

First, upon login, a connection is made to the Google Calendar and I store that connection token in a session, which I then use on any page needing to make a connection to the calendar. So, I add the event to my database, and then I add it to the calendar.

Second, I do the same thing, except when a user adds/edits/deletes and event, the event is changed in the database, and then a cron job runs on the server every hour and will add the event to the Google Calendar.

I have been looking a lot at script execution times for both methods, and haven’t been able to see a clear difference in speeds for either of the two methods. If I had to say, the second method seems to be faster a bit more consistently, but it all depends (sometimes the first method runs faster).

So, my question is, which method should I go with? I can’t seem to decide. I’ve been trying to figure out upsides and downsides but really can’t make up my mind. Which method would you guys suggest?

Thanks!

  • 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-05-12T07:29:08+00:00Added an answer on May 12, 2026 at 7:29 am

    I would always go with the cron job. As a general rule of thumb I do not make my application dependent on a resource outside of my control.

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

Sidebar

Related Questions

I have inherited a poorly written web application that seems to have errors when
I have a web application that was originally written on .Net 1.1 Framework. I
I have a web application written in C# that consumes several internal web services.
I have written an application that connects to a SSL web service (including client
I have written a web application that posts a file via http to a
I have a web application written using CherryPy, which is run locally on 127.0.0.1:4321
I need a little help on this subject. I have a Web application written
I have a web application, written in ColdFusion, which periodically starts using 100% of
We have a customer that is trying to call our web service written in
I have written an AIR Application that downloads videos and documents from a server.

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.