• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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]
 
We can fix it! We just need some baling wire, some WD-40, a bit of duct tape and this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic