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 5936827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:27:11+00:00 2026-05-22T15:27:11+00:00

Okay, I know it sounds generic. But I mean on an AJAX level. I’ve

  • 0

Okay, I know it sounds generic. But I mean on an AJAX level. I’ve tried using Firebug to track the NET connections and posts and it’s a mystery. Does anyone know how they do the instant autosave constantly without DESTROYING the network / browser?

  • 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-22T15:27:12+00:00Added an answer on May 22, 2026 at 3:27 pm

    My guess (and this is only a guess) is that google uses a PUSH service. This seems like the most viable option given their chat client (which is also integrated within the window) also uses this to delivery “real time” messages with minimal latency.

    I’m betting they have a whole setup that manages everything connection related and send flags to trigger specific elements. You won’t see connection trigers because the initial page visit establishes the connection then just hangs on the entire duration you have the page open. e.g.

    1. You visit the page
      • The browser established a connection to [example]api.docs.google.com[/example] and remains open
    2. The client-side code then sends various commands and receives an assortment of responses.
    3. These commands are sent back and forth until you either:
      • Lose the connection (timeout, etc.) in which case it’s re-established
      • The browser window is closed

    Example of, how I see, a typical communication:

    SERVER:                              CLIENT:
    -------                              -------
                                         DOC_FETCH mydocument.doc
    DOC_CONTENT mydocument.doc 15616 ...      
                                         DOC_AUTOSAVE mydocument.doc 24335 ...
                                         IM collaboratorName Hi Joe!
    IM_OK collaboratorName OK
    AUTOSAVE_OK mydocument.doc OK
    

    Where the DOC_FETCH command is saying I want the data. The server replies with the corresponding DOC_CONTENT <docname> <length> <contents>. Then the client triggers DOC_AUTOSAVE <docname> <length> <content>. Given the number of potential simultaneous requests, I would bet they keep the “context” in the requests/responses so after something is sent it can be matched up. In this example, it knows the IM_OK matches the second request (IM), and the AUTOSAVE_OK matches the first request (AUTOSAVE)–Something like how AOL’s IM protocol works.

    Again, this is only a guess.

    —

    To prove this, use something like ethereal and see if you can see the information transferring in the background.

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

Sidebar

Related Questions

Okay! I know some people are gonna freak out at me, but, I tried
Okay, so I know that using eval() isn't great, but I haven't been able
Okay, I know this is a Noob question but I cant see to get
Okay, I know it is weird but when I put this code between <head
Okay so I know I asked a similar question a while ago, but this
Okay, I know this question have been asked plenty of times already, but I
Okay, I know this is a common enough question, but all the solutions I've
Okay. I know that I am asking a hackneyed, overchewed question but I am
Okay, I've tried to figure this out over and over again. I know the
(Okay, I know the questions probably sounds rancid bad, so someone edit if they

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.