source: trunk/FACT++/dim/README_v19.txt@ 13238

Last change on this file since 13238 was 13135, checked in by tbretz, 13 years ago
Updated to v19r30
File size: 27.5 KB
Line 
1
2 DIM version 19.30 Release Notes
3
4Notes 1 and 2 for Unix Users only
5NOTE 1: In order to "make" DIM two environment variables should be set:
6 OS = one of {HP-UX, AIX, OSF1, Solaris, SunOS, LynxOS, Linux, Darwin}
7 DIMDIR = the path name of DIM's top level directory
8 The user should then go to DIM's top level directory and do:
9 > source .setup
10 > gmake all
11 Or, if there is no support for C++ on the machine:
12 > gmake CPP=no all
13
14NOTE 2: The Name Server (Dns), DID, servers and clients (if running in
15 background) should be started whith the output redirected to a
16 logfile ex:
17 Dns </dev/null >& dns.log &
18
19NOTE 3: The Version Number service provided by servers is now set to 1930.
20
2114/03/2012
22Changes for version 19.30:
23 - Sometimes when trying to open a connection to a server the client could backoff for too
24 long (10 seconds), now it will retry immediately and then at increasing intervals.
25 - dim_stop() would sometimes not properly stop all threads if a new connection was received
26 in the mean time.
27 - The DimServerDns destructor could crash, fixed.
28 - Removed some compiler warnings about variables set but not used.
29 - Two new functions available:
30 - dim_set_listen_backlog(int size)
31 - int dim_get_listen_backlog()
32 - The DNS will set the listen_backlog to 1024 at startup, but the OS will truncate it to
33 a maximum limit (available in /proc/sys/net/core/somaxconn, linux default=128),
34 while for servers the constant SOMAXCONN is used.
35
36
3706/02/2012
38Changes for version 19.28:
39 - Added more log messages when a "Write Timeout" occurs to know where it originated.
40 - A server could sometimes not release the connection in case of a "Write Timeout", and
41 then keep on timing out for each message on this connection - fixed.
42
43
4419/01/2012
45Changes for version 19.27:
46 - Updated the DIM Makefiles for MacOSX (Darwin)
47 - Added New possibilities to change DIM timeouts:
48 - 2 New Environment variables:
49 - DIM_WRITE_TMOUT (default: 5)
50 - DIM_KEEPALIVE_TMOUT (default: 15)
51 - Same functionality as the functions:
52 - dim_set_write_timeout(int secs)
53 - int dim_get_write_timeout()
54 - dim_set_keepalive_timeout(int secs) //new
55 - int dim_get_keepalive_timeout() //new
56 - The functions have precedence over the environment variables.
57 - The server per client exit_handler functionality
58 (provided by dis_add_client_exit_handler()/dis_set_client_exit_handler())
59 wan not always working correctly (in case of write timeouts) - fixed.
60 - Changed the reporting of "Write Tiemout":
61 - Used to report only:
62 - "ERROR: Write Timeout, disconnecting from..."
63 - Now reports:
64 - "WARNING: Write Timeout, writing to ..."
65 - If it disconnects: "ERROR: Write Timeout, disconnecting from ..."
66 - If it reconnects later: "INFO: Re-connected to ..."
67
68
6914/09/2011
70Changes for version 19.26:
71 - In the notes for version 19.08 there is the following:
72 - Since version v18r4 where dim_wait() was modified, dim_wait could hang in windows if
73 the wake_up event was triggered before dim_wait was called. Could affect smi++. Fixed.
74 - Amasingly enough this seems also to be the case for Linux, dim_wait could hang until there
75 was some new DIM activity, normally some timer firing... Fixed.
76 - The Linux DID now accepts an extra parameter: -dns=<dns_node_name>
77
7801/09/2011
79Changes for version 19.25:
80 - When a Client was releasing a service "at the same time" as the server was deleting the service,
81 The Connection could be released by mistake - fixed.
82 - The SERVICE_LIST service could be updated with an empty string if there were two consecutive
83 dis_start_serving() - fixed.
84
85
8608/08/2011
87Changes for version 19.24:
88 - The funtion DimInfo::getFormat() never return the correct format of a service, if the first time
89 it was called, the service was not available, i.e. when called inside a "no_link" callback - Fixed.
90 - Deleting the last service of a server or stopping a server could generate "Invalid Service Id"
91 messages from the service that updates DID - Fixed.
92
93
9415/07/2011
95Changes for version 19.23:
96 - The new functions:
97 int DimClient::inCallback()
98 int DimServer::inCallback()
99 Can be used to find out if the function is being called in the context of a DIM callback
100 handler (they return 1 if yes, 0 if no).
101 - There was no way to "remove" an errorHandler or exitHandler in C++.
102 Now the following functions accept 0 as parameter:
103 DimClient::addErrorHandler(0)
104 DimServer::addErrorHandler(0)
105 DimServer::addExitHandler(0)
106 DimServer::addClientExitHandler(0)
107 In order to remove them.
108 - The Windows Visual Studio Manifest file distributed since version v19r19 was wrong, so the latest
109 DIM versions did not work on Windows machines without Visual Studio 8 installed - Fixed.
110
111
11221/06/2011
113Changes for version 19.22:
114 - DIM servers would hang when tring to exit due to "Services already declared", if the user
115 exitHandler() didn't directly call exit (instead tried to exit later in the main program).
116 Fixed.
117 - Servers accept now also 'B' or 'V' as format, they are both equivalent to 'C'.
118 - In Linux when a server printed "Write timeout, disconecting from XXX", it didn't always
119 disconnect properly, so the client would not always reconnect afterwards. Fixed.
120
121
12231/05/2011
123Changes for version 19.21:
124 - Fixed a bug in DimRpcInfo: the timer for the timeout was started too late and sometimes the
125 RPC data was received in the meantime, so the timer was never stopped.
126
127
12804/05/2011
129Changes for version 19.20:
130 - Fixed a bug added in v19r18: The <server_name>/SERVICE_LIST was no longer reporting correctly
131 the disappearence of services (by a "-<service_name>" ). Fixed.
132
133
13427/04/2011
135Changes for version 19.19:
136 - Fixed a very very old (horrible) bug in dis.c and dns.c: there was a hardwired malloc(8),
137 which was only ok for 32 bit machines. It's amazing this didn't bring more trouble...
138
139
14007/04/2011
141Changes for version 19.18:
142 - The standard server service <server_name>/SERVICE_LIST had problems reporting the correct
143 information when used by several clients in paralel - fixed.
144
145
14611/03/2011
147Changes for version 19.17:
148 - The TCPIP "listen" backlog for a server was increased for all servers (including the DNS)
149 from 16 to the constant SOMAXCONN (128 on Linux at the moment, 200 on Windows ?)
150 - After a "fork" the DIM initialization sequence guided by semaphores was not correctly
151 handled, this made the forked children hang and not respond to DIM anymore - fixed.
152
153
15423/02/2011
155Changes for version 19.16:
156 - DimServer::stop() did not correctly clear the ServerName - fixed.
157 - The Linux DID now prints the DNS it is connected to in the title bar.
158
159
16020/12/2010
161Changes for version 19.15:
162 - Still fixing dis_stop_serving():
163 - The DNS sometimes gets a remove service message from a server, after the server has
164 closed the connection, this was not handled properly - fixed.
165 - Fixed yet another detail (variable not cleared) in the thread handling at dis_stop_serving().
166 - dtq.c now clears all timer_queues at dis_stop_serving()
167 - Added some protections in case of closed connections.
168
169
17010/12/2010
171Changes for version 19.14:
172 - Still fixing dis_stop_serving():
173 - Adedd pthread_join in linux to wait for threads to die
174 - the following dis_start_serving() would not reconnect to the DNS if the DNS connection
175 was pending (i.e. the DNS was stopped or restarted)
176
177
17806/12/2010
179Changes for version 19.13:
180 - Fixed a few compiler warnings in dis.c
181 - Added #ifndef PXI around some Windows setPriority calls
182 - dis_stop_serving() did not completely clean-up DIM so that another dis_start_serving()
183 could be done properly after for example a "fork()". Fixed.
184
185
18620/09/2010
187Changes for version 19.12:
188 - Fixed a bug added when removing warnings in v19r10 (dis.c and dns.c).
189
190
19107/06/2010
192Changes for version 19.11:
193 - Added some protections in update_service() in order to try to solve a DIP issue.
194 (related to very frequent updates of the same service in different threads)
195 - Added the possibility of defining timeouts for:
196 - DimBrowser::getServices
197 - DimBrowser::getServers
198 - DimBrowser::getServerServices
199 - DimBrowser::getServerClients
200 - Added the possibility of retrieving the time a command arrived:
201 - int dis_get_timestamp(int service_id, int *secs, int *millisecs) in C
202 - int DimCommand::getTimestamp() and int DimCommand::getTimestampMillisecs() in C++
203 - Added a "const" keyword to the "char *format" parameter in the constructors of
204 - DimService and DimCommand
205 - Added a call DimCommand::hasNext(), can be used when commands are queued.
206 - Fixed a memory leak when using DimService::setData and then dynamically deleting the
207 DimService
208
209
21017/02/2010
211Changes for version 19.10:
212 - Fixed a bug in the DNS related to the latest change (browsing for a single service name)
213 The DNS could crash when killing a server.
214 - Removed some compilation warnings
215
216
21704/01/2010
218Changes for version 19.09:
219 - Created two new functions: dis_set_debug_on() and dis_set_debug_off(), these
220 enable or disable printing a message per service update
221 - Tried to protect against:
222 - a service being deleted from the server while it is being updated
223 - a client unsubscribing from a service while it is being updated.
224 - Optimized the DNS when browsing for a service search pattern without wildcards
225 (i.e. browsing for a single service name)
226
227
22813/11/2009
229Changes for version 19.08:
230 - Since version v18r4 where dim_wait() was modified, dim_wait could hang in windows if
231 the wake_up event was triggered before dim_wait was called. Could affect smi++.
232 Fixed.
233 - Fixed a compilation bug in dis.c that affected some platforms.
234
235
23630/10/2009
237Changes for version 19.07:
238 - Some more bugs related to being able to publish to more that one DNS fixed.
239
240
24128/10/2009
242Changes for version 19.06:
243 - When opening DNS connections, when the DNS is not there, from a process that is at the
244 same time a client and a server only one pending connection was used now two separate
245 ones are created.
246 - Tried to fix a few more problems related to dis_stop_serving...
247
248
24926/10/2009
250Changes for version 19.05:
251 - dis_stop_serving had stopped working in version 19.4. So all servers that undeclared
252 all services and then tried to re-declare new ones would fail (corrupted server name).
253 Affected in particular the DimBridge
254
255
25627/08/2009
257Changes for version 19.04:
258 - Added the following functions:
259 Server part:
260 C - dis_get_n_clients(int service_id)
261 C++ - int DimService::getNClients()
262 Client part (C++ only):
263 DimClient::setNoDataCopy()
264 This will prevent any data copy in the client and the user should make
265 sure that the data received from DIM is not used outside the callback
266 in order to benefir from this feature.
267 - Fixed the Java DIM Jar file, it was wrong in the previous version.
268
269
27031/07/2009
271Changes for version 19.03:
272 - Removed some more compilation warnings.
273 - Fixed a bug in the DNS. The mechanism for retrieving the "SERVER_LIST" when
274 some server names were longer that 35 characters was very slow.
275
276
27706/07/2009
278Changes for version 19.02:
279 - Fixed a bug in the server part handling of RPCs, it created a memory leak.
280 It was using a separate thread to handle timeouts and there is no safe way to
281 kill a thread from outside. Fixed.
282 - the function dim_stop_thread() is now obsolete.
283 - Added the possibility to change the send and receive buffer sizes:
284 - int dim_set_write_buffer_size(int size)
285 - int dim_get_write_buffer_size()
286 - int dim_set_read_buffer_size(int size)
287 - int dim_get_read_buffer_size()
288 The default (and minimum) is 16384 bytes.
289 These calls should be done before any other DIM calls.
290 - Fixed a bug in the Java DimBrowser class (the format was not returned correctly)
291
29204/05/2009
293Changes for version 19.01:
294 - A server can now publish to more than one DNS.
295 To use an extra DNS:
296 - in "C":
297 long dnsid;
298 char extra_dns[128];
299 ...
300 dim_get_env_var("EXTRA_DNS_NODE", extra_dns, sizeof(extra_dns));
301 dnsid = dis_add_dns(extra_dns,0);
302 sprintf(name1,"NewService%d",i);
303 dis_add_service_dns(dnsid, name1, "I", &NewData, sizeof(NewData),
304 (void *)0, 0 );
305 dis_start_serving_dns(dnsid, "xx_new");
306
307 - in C++:
308 DimServerDns *newDns;
309 char *extraDns = 0;
310 DimService *new_servint;
311 ...
312 extraDns = DimUtil::getEnvVar("EXTRA_DNS_NODE");
313 if(extraDns)
314 newDns = new DimServerDns(extraDns, 0, "new_TEST");
315 ...
316 if(extraDns)
317 new_servint = new DimService(newDns, "new_TEST/INTVAL",ival);
318
319 - Removed all warnings from DIM sources so that it can be compiled with -Wall -Wextra on Linux
320 - Changed the makefiles so that the default on Linux is now 64 bits.
321 - The flag 32BITS=yes can be added in order to generate 32 bit code
322
323
32426/02/2009
325Changes for version 18.05:
326 - Made the callback for "DIS_DNS/SERVER_LIST" uninterruptible, so that two clients subscribing
327 would not get mixed up answers.
328 - The same for "<server>/SERVICE_LIST"
329 - Tryied to fix a DNS crash, introduced in v18r4 by releasing the connection when "informing clients".
330 - removed some "//" comments in "C"
331
332
33320/02/2009
334Changes for version 18.04:
335 - Changed the dim_wait() mechanism, so that it works for several threads in parallel:
336 - On Linux it was based on POSIX semaphores now it is based on POSIX "condition
337 variables"
338 - On Windows it was based on "Auto Reset Events" now it uses "Manual Resel "Events"
339 - The DNS should now correctly update the "DIS_DNS/SERVER_LIST" service. It used to report
340 a new server, even when the services already existed and the server was killed by the DNS.
341 (And never report it killed). It also didn't report correctly when a server went out of "ERROR"
342 (this is reported as a "+" as for a new server).
343
344
34505/02/2009
346Changes for version 18.03:
347 - The list of registered services in a server could get corrupted in some rare cases
348 making the server crash - fixed.
349 - If the DNS couldn't talk to a client it could sometimes hang - fixed.
350 - Java client modifications:
351 - DimUpdatedInfo was not working correctly - fixed in dim_jni.c.
352 - Implemented DimRpcInfo
353 - Changed the DimBroser class to use DimRpcInfo.
354 - Added a jdim.jar file in the jdim/classes directory of the DIM distribution
355
356
35715/01/2009
358Changes for version 18.02:
359 - Added the following functions:
360 - C++ Client
361 - int DimClient.getServerPid()
362 - Java Client
363 - int DimClient.getServerPid()
364 - String[] DimBrowser.getServers()
365 - String DimBrowser.getServerNode(String server)
366 - int DimBrowser.getServerPid(String server)
367
368
36909/01/2009
370Changes for version 18.01:
371 - Added in the distribution the Visual Studio 8 dlls and manifest. Otherwise
372 it would not work on most PCs.
373
374
37503/12/2008
376Changes for version 18.00:
377 - The Windows execulables and libraries are now built using Visual Studio 8
378 - Some changes added by GSI mainly in the Java Native Interface
379
380
38106/11/2008
382Changes for version 17.12:
383 - Client functionality:
384 - Added a new function dic_stop(), to close anything related to DIM
385 for a client
386 - Added the function dic_get_server_pid(). Similar to dic_get_server().
387 Can be executed in a callback to retrieve the pid of the current server
388 - DimBrowser Class:
389 - DimBrowser::getServices() used to create and destroy the DimRpc connection
390 to the Dns every time it was called. This was heavy if called in a loop.
391 Now the connection is maintained until the DimBrowser itself is destroyed.
392 - A new method DimBrowser::getNextServer(char *&server, char *&node, int *pid)
393 has been created. similar to the previous one but returns also the server pid.
394 - DNS
395 - The DNS was still doing some blocking write calls to servers or clients.
396 Now all write calls have a timeout and can not block forever.
397 - Linux DID
398 - The "Subscribe" button was subscribing to services with update rate of 10 seconds.
399 This was misleading, the users could think the server was calling update_service
400 when it wasn't.
401 Now there are two Subscribe buttons ("on change" or "Update rate of 10 seconds").
402 - DimDridge
403 - Accepts an extra flag "-copy" which provokes an internal copy of the data.
404
405
40608/09/2008
407Changes for version 17.11:
408 - Some DIM Processes, servers or clients could enter a loop taking 100 % CPU
409 time in some rare occasions, fixed.
410 - Added some protections when removing services in the DimBridge.
411
412
41330/08/2008
414Changes for version 17.10:
415 - Some DIM Processes, servers or clients would not reconnect when the DNS was
416 restarted. Fixed two cause:
417 - Some processes in Linux were stuck reading from the DNS socket
418 - Some others "forgot" to set a timer under very special conditions
419 - Changed some of the DNS debug messages to be more explicit.
420
421
42221/07/2008
423Changes for version 17.09:
424 - DIM error messages were not being flushed when the output was redirected
425 to a logfile, fixed.
426
427
42818/07/2008
429Changes for version 17.08:
430 - Sometimes a server or a client could do a read on a sockect that had just
431 been closed which left them hanging forever - fixed.
432
433
43401/07/2008
435Changes for version 17.07:
436 - The DimTimer was sometimes not started when the constructor was called
437 with a time argument.
438 - Clients could not connect to more than 1024 servers - fixed.
439 (if the machine allows more than 1024 connections)
440
441
44230/06/2008
443Changes for version 17.06:
444 - Corrected the makefile for Darwin, now the number of accepted connections is
445 increased to 8192 only for Linux.
446 - Fixed a bug in the DimTimer, it used to accept to be re-started, but then crashed
447 at destruction time if not stopped the same number of times. Now it can not be
448 re-started.
449 - The Dns used to ask servers to re-register at regular intervals when they were not
450 sending their watchdog messages (i.e. they were in "ERROR", red in DID). Now the
451 DNS only asks once (unless they answer). This could cause the DNS to hang if
452 servers were in ERROR for a long time.
453 - The Dns now accepts a command line parameter: -d to print debug messages.
454 - The clients were not handling properly the case when they could contact the DNS
455 but then they could not contact the server that the DNS gave them (either because
456 of a firewall or because the server run on an inaccessible network). In this case
457 the clients would timeout trying to contact the server for each service and kept
458 asking the DNS the server coordinates over and over again. Now the clients keep
459 a list on unreacheable servers, so they don't try to contact the server for each
460 service and only ask the DNS again with an increasing interval that goes from 10
461 seconds to 2 minutes maximum.
462 - The server now issues an error message if the format string is too long.
463 - Linux DID
464 - Removed the command "Kill ALL Servers", it was too dangerous
465 - Now the list of nodes in "View Servers by Node" is in alphabetical order and
466 in lowercase.
467
468
46930/04/2008
470Changes for version 17.05:
471 - In Linux in some cases a SIGPIPE was generated. Normally the DIM library sets
472 the behaviour of SIGPIPE to ignored, but if another library or main program
473 changes the SIGPIPE behaviour, then the application could exit when the SIGPIPE
474 was generated. Fixed - on Linux now the function send with flag MSG_NOSIGNAL
475 is used in oder to avoid generating SIGPIPE.
476
477
478
4794/04/2008
480Changes for version 17.04:
481 - Sometimes processes (servers or clients) would hang when the DNS was restarted.
482 This was due to a strange (Windows?) feature, by which a connect could succeed
483 after a connection was closed (and reported) on the other side. Fixed.
484
485
486
48727/03/2008
488Changes for version 17.03:
489 - Can now make DID for 64 bits by making DIM using:
490 gmake X64=yes all
491 - Increased the size of the Hash tables for the servers and the DNS.
492
493
494
49520/02/2008
496Changes for version 17.02:
497 - Fixed the Java DimTimer - stop() didn't work
498 Required changing dim_jni.c as well as the java part
499 - Fixed DIM for Darwin - had stopped working
500
501
502
50320/01/2008
504Changes for version 17.01:
505 - The Java API now works on 64 bit machines, Thanks to Joern Adamczewski.
506 Please use:
507 gmake JDIM=yes all
508 - Linux executables are now compiled/linked on slc4 (32 bits).
509 - Big changes in the DimRpcs both client and server part. Tere were bugs
510 related to the handling of timeouts.
511 Unfortunatelly all applications using RPCs need to be re-linked.
512
513
514
515-----------------------------------------------------------------------------------------
516Previous version history:
517
51807/12/2007
519Changes for version 16.14:
520 - Now by default All DIM processes are ready to accept up to 8192 connections, both
521 in Linux and Windows. Although in Linux for this to be effective the machine system
522 limits must allow more than 1024 descriptors/open files per process.
523 - Fixed a little memory leak in tokenstring.cxx
524 - And a little compilation bug for some platforms in tcpip.c
525
526
52715/05/2007
528Changes for version 16.13:
529 - If DIM_HOST_NODE is defined when starting up a server, a DIM client will now try
530 two network interfaces in order to talk to that server and only give up if they both
531 fail. First it will try the ip name or ip address specified by the server using
532 DIM_HOST_NODE, if that fails it will try the ip address of the default interface
533 retrieved by the server using gethostname (and gethostbyname).
534 The changes basically affect the case in which the DIM_HOST_NODE given to the servers
535 is specified as IP address instad of an IP name. Otherwise this mechanism was already
536 working.
537
538
5393/05/2007
540Changes for version 16.12:
541 - The Java version did not exit properly when main() terminated - fixed.
542
543
54425/04/2007
545Changes for version 16.11:
546 - On Linux the timeout to detect a lost connections (unplugged ethernet cable
547 or machine reboot) was too long, around 15 minutes - Fixed.
548 On Linux the KEEPALIVE feature is now used instead of a regular socket write,
549 all other platforms should work as before.
550
551
55221/02/2007
553Changes for version 16.10:
554 - Found a bug in dis_stop_serving: one socket connection was not closed - fixed.
555 - Implemented a new environment variable for the DNS: DIM_DNS_ACCEPTED_NODES
556 Can receive a list on nodes or domains separated by commas.
557 If the DNS receives a connection from a node not in this list, it will
558 reject it and kill the server or client requesting it.
559 - Fixed some C++ warnings.
560
561
56219/01/2007
563Changes for version 16.9:
564 - The modifications done in version 16.8 have introduced a bug:
565 - DIM servers would not behave properly (exit) when receiving a kill command
566 from the DNS (for duplicated services, not allowed host names or manual "kill")
567 This is now fixed.
568
569
57030/10/2006
571Changes for version 16.8:
572 - Modified dis_stop_serving() and DimServer::stop() to completely stop DIM:
573 - Stop also the DIM threads.
574 - Release all allocated memory
575 - Allow a different port number when re-starting.
576
577
57811/07/2006
579Changes for version 16.7:
580 - Prepared for increasing the number of open connections per process
581 (On Linux still requires changing some parameters and recompiling the Dns)
582 - Fixed one error and several warnings for gcc 4.
583
584
58511/05/2006
586Changes for version 16.6:
587 - Sometimes a server or client would crash while exiting if the DNS was not running.
588 Fixed.
589 - Fixed the reporting of some ERROR messages on Windows (used to report error "0")
590 - Allowed dim_send_command to receive instead of -dns <node_name>
591 -dns <node_name>[:<port_number>]
592
593
59401/05/2006
595Changes for version 16.5:
596 - Big Spring Cleanup. Removed most warnings. Can now be compiled on
597 Windows with Warning Level 3 and on Linux with -Wall
598 (still not working for -ansi -pedantic...)
599 - When trying to access a server in a different network (i.e. not reacheable)
600 a client (for example DID) would take very very long to timeout - fixed.
601 - Added two new sets of functions that allow setting the DIM_DNS_NODE separately
602 for a server and a client in the same process:
603 - int dis_set_dns_node(char *node)
604 - int dis_get_dns_node(char *node)
605 - int dis_set_dns_port(int port)
606 - int dis_get_dns_port()
607
608 - int dic_set_dns_node(char *node)
609 - int dic_get_dns_node(char *node)
610 - int dic_set_dns_port(int port)
611 - int dic_get_dns_port()
612 These routines should be used instead of the equivalent ones starting with "dim_"
613 since these set the same DIM_DNS_NODE/port for both Server and client parts of a
614 process.
615 - Adapted the C++ equivalents (DimClient::setDnsNode, etc. and DimServer::setDnsNode,
616 etc.) to use the new routines, so they are now independent.
617 Adapted also the Java equivalents.
618 - Fixed DimBridge to use the new routines.
619 - Fixed a bug in DID that made it crash sometimes at startup (and also when the DNS
620 restarted)!
621 - Found some very interesting features of DIM:
622 - In a node with two ethernet interfaces (so connected to two networks):
623 - The DNS will answer to servers and client on both networks, only its server
624 part - DIS_DNS (the one that answers to DID and DimBrowser requests) would
625 in principle answer only to one of the networks (in principle the default
626 interface* but can be changed by setting the environment variable "DIM_HOST_NODE").
627 - But, in fact, if the DNS or any server is started with the environment variable
628 DIM_HOST_NODE set to the interface that is not the default* one. Than both the
629 DNS (including the server part) and the DIM servers will be accessible from both
630 networks. For example DID will work fine on both networks.
631 * The command "hostname" will return the name of the default network interface.
632
633 Note: As a result of inserting new functions the DIM shared library entry points have
634 changed, so all DIM Servers/Clients should be relinked (in particular in Linux).
635
636
63720/04/2006
638Changes for version 16.4:
639 - Optimized the DNS for providing the list or running servers dynamically
640 by subscribing to the service "DIS_DNS/SERVER_LIST"
641
642
64307/04/2006
644Changes for version 16.3:
645 - Upgraded to work on LynxOS Version 4.
646 - Updated makefile for INTEL platform
647 - Updated some ifdefs based on the existence of __Lynx__
648
649
65010/03/2006
651Changes for version 16.2:
652 - Increased the listen queue. To avoid "Connection Refused" messages from servers
653 or from the DNS.
654
655
65628/02/2006
657Changes for version 16.1:
658 - Fixed the NO_THREADS option for LINUX, it had stopped working.
659 - DimInfo::getData() could return an invalid pointer if called before connecting
660 to the server (or discovering the server did not exist). Fixed
661 (it now returns 0 in this case).
662
663
66409/11/2005
665Changes for version 16.0:
666 - Consolidated the new timer handling mechanism, should be much more precise.
667 - Fixed the RPC handling. Used to be based on timming assumptions.
668 Now uses a safe protocol to make sure the server is connected before sending
669 an RPC request.
670 - Included in the distribution some performance measurements and a benchmark
671 server and client. Sources in src/benchmark executables in /bin for windows
672 and /linux for linux.
673 Usage:
674 benchServer <message_size_in_bytes> <number_of_services>
675 benchClient
676 benchClient will run for a while and print the measurement results.
677
678Please check the Manual for more information at:
679 http://www.cern.ch/dim
Note: See TracBrowser for help on using the repository browser.