Messenger users online/offline?
-
How do a messenger server/clients updates the online/offline stat. in real time? If the server has a connection for all the clients, (and there is a lot, 33000+ clients), you would need two or more computers??? I’m I right???? No good. Server pings all of the clients??? Takes a lot of bandwidth from the internet line, and takes a lot of time. Also no good. Any ideas?
-
How do a messenger server/clients updates the online/offline stat. in real time? If the server has a connection for all the clients, (and there is a lot, 33000+ clients), you would need two or more computers??? I’m I right???? No good. Server pings all of the clients??? Takes a lot of bandwidth from the internet line, and takes a lot of time. Also no good. Any ideas?
I'd have thought that there is a central database, which there needs to be to store IP addresses from login to login, and that each client requests the info for the users they have in their contacts. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
-
I'd have thought that there is a central database, which there needs to be to store IP addresses from login to login, and that each client requests the info for the users they have in their contacts. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
-
But what if the client's internet connection is lost? The client is stille online via. the database.
Our internet connection at work drops out quite a bit, and I've noticed it takes messenger about a minute to work out that I am no longer online. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
-
Our internet connection at work drops out quite a bit, and I've noticed it takes messenger about a minute to work out that I am no longer online. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
So the server should ping all of the clients??? via. the ip address from the database?? Or???
-
So the server should ping all of the clients??? via. the ip address from the database?? Or???
My guess - the client checks regularly to see if it's still online, and what users on the contact list are still online. If the check is not recieved, the user is offline. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
-
My guess - the client checks regularly to see if it's still online, and what users on the contact list are still online. If the check is not recieved, the user is offline. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
Ok, thanks for the reply.
-
How do a messenger server/clients updates the online/offline stat. in real time? If the server has a connection for all the clients, (and there is a lot, 33000+ clients), you would need two or more computers??? I’m I right???? No good. Server pings all of the clients??? Takes a lot of bandwidth from the internet line, and takes a lot of time. Also no good. Any ideas?
My guess is that the server gets a connection event when the client drops off that end of the connection.
Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall." George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
-
My guess is that the server gets a connection event when the client drops off that end of the connection.
Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall." George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
Witch means the server is connected at all times to the client, in a passive mode? Eg. ready to receive data.???? Not sending data?
-
Witch means the server is connected at all times to the client, in a passive mode? Eg. ready to receive data.???? Not sending data?
am telling you this for a fact, the messager has an open connection with the host, you can see it for yourself by using the "netstat -nao" command in the command prompt (run "cmd") this will show you all active connections on your computer, including the process ID associated with each connection. you can see which process id the messager uses using the Task Manager. Select the 'Processes' tab, and then 'View' -> 'Select Columns' (this option will only show when you're in the 'Processes' tab). then you'll see that the messanger process has an established connection. now, how is it done? as one server might not be able to support so many simultanious connections? If you will take a minute to experiment, you'll see that each time you log-on, the messanger logs on to a different IP, that's the load-balancing machanism, microsoft has many Messanger servers, each serving who knows how many users, and on the servers level, they are responsible for updating eachother. It sometimes takes a minute until the messanger detects a connection loss because connection loss on tcp connection is not always detectable, so it is only detected after some timeout occurs in your client (there is probably a reflecting timeout at the server side too) by the way, they probably went for the open connection architecture due to the fact that many users cannot accept incoming transmissions (everyone behind a router, ICS server, proxy, firewall etc.), the only way they can be sure they can send you data (like an incoming message) is an open connection you have initiated that's about it :) Fade (Amit BS)
-
am telling you this for a fact, the messager has an open connection with the host, you can see it for yourself by using the "netstat -nao" command in the command prompt (run "cmd") this will show you all active connections on your computer, including the process ID associated with each connection. you can see which process id the messager uses using the Task Manager. Select the 'Processes' tab, and then 'View' -> 'Select Columns' (this option will only show when you're in the 'Processes' tab). then you'll see that the messanger process has an established connection. now, how is it done? as one server might not be able to support so many simultanious connections? If you will take a minute to experiment, you'll see that each time you log-on, the messanger logs on to a different IP, that's the load-balancing machanism, microsoft has many Messanger servers, each serving who knows how many users, and on the servers level, they are responsible for updating eachother. It sometimes takes a minute until the messanger detects a connection loss because connection loss on tcp connection is not always detectable, so it is only detected after some timeout occurs in your client (there is probably a reflecting timeout at the server side too) by the way, they probably went for the open connection architecture due to the fact that many users cannot accept incoming transmissions (everyone behind a router, ICS server, proxy, firewall etc.), the only way they can be sure they can send you data (like an incoming message) is an open connection you have initiated that's about it :) Fade (Amit BS)
What can i say???, Thanks a lot for the reply!