• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

Maximum limit for connected users

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Am I right to say that jforum allows up to 50 connected users?

If so, what are the possible maximum limit that I can safely set upwards?

Thanks in advance,
James Yong
[originally posted on jforum.net by jamesyong]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hm, you saw this "50" thing in a class, right?! ( I don't remember which class I put that, but there is a LinkedHashMap using this value somewhere ).
But I don't want to, by default, limit the max number of online users, although it is an interesting feature to have ( for example, allow the admin to restrict the number of concurrent connected users ).

But I also didn't stress test with jforum, but I, in theory, the limit is the memory you have ( and cpu counts too, but you'll need much more memory than cpu ).

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I saw it in SecurityRepository class



So do you mean jforum has limit connected users to 50 and the maximum value to set is dependent on the memory, right?

Regards,
James Yong
[originally posted on jforum.net by jamesyong]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ah, now I remember .. There is not limit.. the 50 is to just control the queue:



So, if we have more than 50 users, the old ones will be removed to give space to the new ones. In fact, I did that to try to "resuse" memory.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic