B4J Question [ABMaterial] threading

ihabsharaf

Member
Licensed User
Longtime User
hi every one

how to make every user work with own thread
and prevent sharing public variables
i have project with more than 1500 user and i afraid
this issue make performance problem or
programming logic problem
 

alwaysbusy

Expert
Licensed User
Longtime User
There isn't a straight answer to that. At some point your will probably have to look into load balancing, using multiple physical servers etc.

Some articles that can give you indications:

https://www.b4x.com/android/forum/threads/server-performance-measures.37502/#content
https://webtide.com/jetty-in-techempower-benchmarks/

Also make sure to use the HicaryCP pool library by Mindful. The specs are spectacular!

https://www.b4x.com/android/forum/threads/hikaricp-high-performance-connection-pool.88430/#content
 
Upvote 0
Top