Netherdrake / ga-bitbot

Automatically exported from code.google.com/p/ga-bitbot
GNU General Public License v3.0
0 stars 0 forks source link

Sever and client model #55

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

This might be one for the FAQ: How do I remove a gene pool? I've been testing 
several configs and now I've got a pretty large gene pool list. How do I remove 
certain pools from the list? It seems like even though they aren't default, 
work is still being done on the other pools every so often, I'd like all my 
clients to concentrate on one pool.

Also, how exactly does the server-client model work? Should I keep the configs 
in sync on remote clients or can I just change settings on the server and 
clients will pick those up eventually?

Original issue reported on code.google.com by tim.st...@gmail.com on 15 Feb 2013 at 3:20

GoogleCodeExporter commented 8 years ago
To remove a gene_def from your gene server:
# cd tools
# python db_admin_util.py
?: 'a'   // list the genes
?: 'd'   // select gene to delete
[n]?: #  // enter the number of the gene you want to remove
?: 'c'   // commit

the configs get added when a gts.py gets run without get_config.  I do not 
believe it matters whether or not the gts.py is on a remote system or not, it 
still connects to the gene server, so any instance run without get_config and 
that has a new gene_def.json will add to the gene server.

I hope this answers your questions accurately.

Original comment by anderson...@gmail.com on 16 Feb 2013 at 6:16

GoogleCodeExporter commented 8 years ago
To clarify the gene_def configs will get picked up from any machine on the 
network. This does not apply to system configurations such as 
global_config.json.

I just made some changes to gts.py so now it's possible to synch fitness 
functions across the network. The current version on the repository now checks 
with the gene server for a signed code version of any missing or updated 
fitness functions. 
http://54.241.21.48/phpbb/viewtopic.php?f=17&t=2&sid=68ea024324a1690b432d65f82df
662b7

Original comment by brian.mo...@gmail.com on 21 Feb 2013 at 2:28

GoogleCodeExporter commented 8 years ago

Original comment by brian.mo...@gmail.com on 6 Mar 2013 at 1:58