What is maximum count of friends on GoogleTalk friend list?

1

I am developing a client for GoogleTalk server and need to know maximum count of friends Google allows a user to add to his/her friend list.

mjafari

Posted 2011-02-20T08:22:18.387

Reputation:

Back in 2010, I remember a friend hit the limit by having the “Add people I communicate with often to my Friends List.” feature enabled. Around 10000 entries the chat feature stopped working and only deleting 90% of the contacts enabled it again. I suspect such limitation would be enforced by the client-IDE though and not the server. – None – 2011-02-20T08:43:52.150

Answers

1

You can find pretty much everything you need to know to build a GTalk client at the GTalk developer's home page. GTalk uses the standard XMPP protocol, with a few extensions for additional features. You shouldn't need to know such limits if they even exist. If they do exist, there is no reason they could not be raised the next day. In general, it's a bad idea to use fixed-constants for buffer sizes, array sizes, etc. There is no reason to not allow the number of contacts to vary dynamically at runtime.

If you are using C++, you can use a vector or list for a list whose size can grow. In Java, you can use a List of which ArrayList and LinkedList are implementations for a dynamically-sized list. In Python, the list type grows dynamically. Pretty much every language has a notion of a dynamic array or a linked list (depending on what kind of access pattern and storage requirements you need). If you use a database of some kind, database cursors can read over arbitrary numbers of rows. Can you explain why you believe that you need to have a predefined fixed number of permitted contacts?

Michael Aaron Safyan

Posted 2011-02-20T08:22:18.387

Reputation: 2 645

1I don't need that limitation because of programming language restriction. I need to know because the program provides a service that informs customers of a Bank about their accounts. First I try to send IM to costumers without adding them to service "friend list" but Google talk (against Yahoo and other XMPP servers) only delivers IM to friends (probably an anti-spam policy). So Google account of this service must have thousands or millions of friends (i.e. costumers). – None – 2011-02-20T11:50:57.170

0

If you really need a static maximum number for a list, then i strongly suggest you review your approach. What language are you using? In any modern language, the maximum number of elements in a list/array/whatever is irrelevant.They all provide datatypes for that that are only capped by your RAM memory.

MestreLion

Posted 2011-02-20T08:22:18.387

Reputation: 1 489

I don't need that limitation because of programming language restriction. – None – 2011-02-20T13:14:35.277