How to decide how many instances of Cometd nodes reqd in a cluster

3 views
Skip to first unread message

Vedachalam Muralidharan

unread,
Aug 24, 2022, 11:38:26 AM8/24/22
to cometd-users
Hi 

In our organisation we are planning to use Cometd to replace Skype as messaging service. So I wish to understand how to decide how many nodes need to be setup for 5000 users with messages & calls will be approximately 1 million / day. 

Help me to understand more about the architecture for cometd setup.

Thanks
Murali

Simone Bordet

unread,
Aug 24, 2022, 12:00:04 PM8/24/22
to cometd-users
Hi,

On Wed, Aug 24, 2022 at 5:38 PM Vedachalam Muralidharan
<vmura...@gmail.com> wrote:
>
> Hi
>
> In our organisation we are planning to use Cometd to replace Skype as messaging service. So I wish to understand how to decide how many nodes need to be setup for 5000 users with messages & calls will be approximately 1 million / day.

One node should be enough (unless it's really, really, really small).

1M messages/day is just 10-15 messages/s, which is practically no load
for CometD (depends on the user logic, but typically if it is just
text chatting 15 messages/s is a very light load).

5k users is also a small number, which yields that on average a user
will send about 10 messages/hour, something that could be easily
handled by just one NIO selector on the server.

We have a customer with 1 (large) server running 150k users and 50k
messages/s, just to give you a reference.

> Help me to understand more about the architecture for cometd setup.

Have you read the documentation at: https://docs.cometd.org/current/reference/?

--
Simone Bordet
---
Finally, no matter how good the architecture and design are,
to deliver bug-free software with optimal performance and reliability,
the implementation technique must be flawless. Victoria Livschitz

Vedachalam Muralidharan

unread,
Aug 24, 2022, 12:08:25 PM8/24/22
to cometd...@googlegroups.com
Thanks for the response. Will go thru the documentation and get back to you you if any clarifications is 

Regards
Murali

--
--
You received this message because you are subscribed to the Google Groups "cometd-users" group.
To post to this group, send email to cometd...@googlegroups.com
To unsubscribe from this group, send email to cometd-users...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cometd-users

Visit the CometD website at http://www.cometd.org

---
You received this message because you are subscribed to a topic in the Google Groups "cometd-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cometd-users/i-GTapLbfow/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cometd-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cometd-users/CAFWmRJ1U%2BYs_cRUxuuOGSzci7BRx%2Bjd%2BHhFP9wQZfCOzOPjpow%40mail.gmail.com.


--
Thanks and regards
Murali
Reply all
Reply to author
Forward
0 new messages