Variable Storage Table with TCP-IP-Sync [BETA]
Posted: Wed Aug 07, 2013 4:47 pm
Hello!
I've just developed another "usefull" eaxample.
This is the first Time that i used Ruby on my own so please if some ruby expert would be able to check the rubycode - well it is working but my ruby basics are not that good
What does this little thing do?
* You will be able to define a variable and a value as STRING
* All variables will be stored within arrays
* The whole variable-table is sync-able ofer network
What could be done with the variable-table
* You are able to store some data combined with a name for the data
* Changing the data of the variable
* Read out the data from the table
What enables the Network part of it
* You are able to sync the data - so if you change data in one table the network will spread it to all other conected
* You are able to have all same variables with the same value in several FlowStone apps on one ore more PCs
* This little thing will also help at "Multi-Instance" if you want to send data from one FlowStone-App to another FlowStone-App
* If one app crashes all other would not lose the conection and sync on - it is built up witrh a P2P structure that was made from me.
Things you need to know
* You'll be able to store any String into the table
* If you do not enter any data to the value, the variable will be ignored/ existing variable will be deleted
* Be careful not to get any Data-Feedback-Loop
* SAVE SAVE SAVE!!!! - FlowStone seems to have problems with TCP-IP if it gets complex
* The Network server will not be checked before conecting!!!
* The first started Sync-Server get priority and will overwrite maching variables to all peers that will conect after it.
* There are only up to 20 IPs possible - anything higher will slow down the System
CHANGELOG:
BETA0.2:
* Added DNS-Lookup for IP-Set
BETA0.3:
* Some Bug Fixes
* Added DATA-Security: Re-Send & Send 3x
Well i hope you like it
Feel free to ask any questions!
Feel also free to use it / change it - please reupload changed here again - i'll try to merge all sugestions here!
Regards, C.Hackl
I've just developed another "usefull" eaxample.
This is the first Time that i used Ruby on my own so please if some ruby expert would be able to check the rubycode - well it is working but my ruby basics are not that good
What does this little thing do?
* You will be able to define a variable and a value as STRING
* All variables will be stored within arrays
* The whole variable-table is sync-able ofer network
What could be done with the variable-table
* You are able to store some data combined with a name for the data
* Changing the data of the variable
* Read out the data from the table
What enables the Network part of it
* You are able to sync the data - so if you change data in one table the network will spread it to all other conected
* You are able to have all same variables with the same value in several FlowStone apps on one ore more PCs
* This little thing will also help at "Multi-Instance" if you want to send data from one FlowStone-App to another FlowStone-App
* If one app crashes all other would not lose the conection and sync on - it is built up witrh a P2P structure that was made from me.
Things you need to know
* You'll be able to store any String into the table
* If you do not enter any data to the value, the variable will be ignored/ existing variable will be deleted
* Be careful not to get any Data-Feedback-Loop
* SAVE SAVE SAVE!!!! - FlowStone seems to have problems with TCP-IP if it gets complex
* The Network server will not be checked before conecting!!!
* The first started Sync-Server get priority and will overwrite maching variables to all peers that will conect after it.
* There are only up to 20 IPs possible - anything higher will slow down the System
CHANGELOG:
BETA0.2:
* Added DNS-Lookup for IP-Set
BETA0.3:
* Some Bug Fixes
* Added DATA-Security: Re-Send & Send 3x
Well i hope you like it
Feel free to ask any questions!
Feel also free to use it / change it - please reupload changed here again - i'll try to merge all sugestions here!
Regards, C.Hackl