How do I manage server side database in open fire server for 1 million users for my application like whats app?
-
I need your advice... See we are working on the application similar as the Whatsapp. We almost completed it in android... We are using open fire server (http://en.wikipedia.org/wiki/Openfire) to manage the database. Open fire is the open source for this.. Now we need to manage 1 million users in the open fire server for this application so it is possible? And if yes then how? See below given image: Here each connection manager handles 5000 users so I want to ask you that if I create 200 connection managers to handle 1 million users... So it is like 200connection manager * 5000users = 1million user so is it possible? Do you have any idea about this? Here i also mention our query: How many open fire server How many databases How many storage servers How many connection manage server And how may licenses for 1 million user
-
Answer:
WhatsApp is a proprietary service using a number of technologies, so it's really hard to tell how they built it to scale so well. I'm not sure how Open Fire works in this context, but there are some lessons you can still learn from some of the informations available on the web about WhatsApp. For example, from a quick look at http://en.wikipedia.org/wiki/WhatsApp#Technical we learn that they have deployed a customised version of XMMP, a notorious Internet Messaging protocol (previously used by Google Talk, for example). So the question becomes "how to build a scalable XMMP service?" in general and using such answer you can then try and adapt the solution to the specifics of Open Fire, which is pretty standard XMMP. That said, a lean approach to this could be to use cloud computing and buy some allocation on Amazon Web Services or other provider to begin with and assess the usage. However, if you have your own server cloud this can be basically the same, but you will need to have resources to make sure that the uptime is constant. Also, a good search on stackoverflow comes with interesting results about specific issues implementing XMMP, for example http://stackoverflow.com/questions/5453029/pros-and-cons-of-xmpp-servers
Giuseppe Sollazzo at Quora Visit the source
Related Q & A:
- How do I set up windows 03 server as a server?Best solution by Yahoo! Answers
- How do I find out if my incoming e-mail server is a POP3 or IMAP?Best solution by Yahoo! Answers
- How can I get the remote server's date and time at the client side in my application in c#?Best solution by Stack Overflow
- How do I delete profile 2.0 and change it back to 1.0?Best solution by Yahoo! Answers
- How can I add local whether everytime I open the yahoo page?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.