Android Tutorial [B4X] CloudKVS - synchronized key / value store

luke2012

Well-Known Member
Licensed User
Longtime User
Hi all,
how to check if the KVS Server remote machine is available?
 

luke2012

Well-Known Member
Licensed User
Longtime User
Within the server db I see that the deleted items (put with Null as Value) still there.
So I think that it's a logical deletion. All deleted items will be preserved within the server db and never (phisically) deleted ?
 

luke2012

Well-Known Member
Licensed User
Longtime User
Can I use the test / development server as demo server for my customers ?
So if a user ask me for a demo Of my app I let him download the client app (my customized app) that use the b4x test server ?
 
Last edited:

luke2012

Well-Known Member
Licensed User
Longtime User
I want to push my CloudKVS Client App to PlayStore but I wish to implement a license checking system.
I'm thinking to implement Licensing library within my Client App.

Is there any problem or limitation to do this within an CloudKVS Client App ?
 

luke2012

Well-Known Member
Licensed User
Longtime User
Hi All,
I have two b4j web servers (CloudKVS & DataCollectionServer) running on a linux machine.
How to stop a specific server (for example started as "java -jar kvs_server.jar") and let the other server running ?
 

luke2012

Well-Known Member
Licensed User
Longtime User
Hi Erel.
I don't known how to estimate the (right) HW requirements (CloudKVS Server) to support a B4X Cloud with many users.

For example, my new customer ask me to implement a solution based on the KVS Cloud with this requirements:

1) An Android CloudKVS Client (Customer) that can put many items (each item is a type with about 10 fields).
2) The Cloud must be accessible by 1000 users (customers) from WWW.
3) The AutoRefresh is set to 0.01

Is there a way to estimate the hardware requirements based on the current version of CloudKVS solution ?

Thanks in advance for the reply.
 

luke2012

Well-Known Member
Licensed User
Longtime User
B4J server performance is very good: https://www.b4x.com/android/forum/threads/server-performance-measures.37502/#content
CloudKVS is a B4J server and should be able to handle many connected clients easily.

The reference system where the test was made is "Core i5, 8gb ram. The hard disk is quite fast (not SSD)": (https://www.b4x.com/android/forum/threads/server-performance-measures.37502/#content).

So the PI boards (also last version) is not suitable for a Cloud with thousands of users (from 1000 to 5000) ?
 

PhiloSophical

Member
Licensed User
Longtime User
I have installed the example client project in post#1 - but am getting this error logged:-

Error sending task: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

This when connecting to https://www.b4x.com:51041/cloudkvs

Running on a Nexus 10. - B4A 6.5 - OkHhtputils2 version 2.20

Any thoughts?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…