Started making changes for remote registry:
1) Created user database and utility functions using firebird db
2) Created session-id user mapping table
3) User login and verification using new user database
The following decisions were taken:
1) Web services do not support method overloading. What should be done for existing overloaded methods? Should the names be changed only for the remote clients only as the wcf supports it? It was decided to change the interface name itself to avoid this confusion for remote and shared repository clients.
2) Transactions: Is a transaction number really required or all user actions after a transaction is started should be implicitly considered as part of the transaction. Both approaches have its pro and cons and it was decided to leave it as it is now and do the modifications later if required.
Inefficiency:
while going throug the activity logger, logging individual message was found to be inefficient as it has overhead of opening and closing the fine each time. It was decided to use the memorystream for buffering the text which will be copied to the file later. Since, indexes are created for each message, it would not be possible without further processing. Hence it is decided to bufferthe messages in an arraylist and pass it to the logger once it has sufficient number of messages. For each buffer a new list will be created to avoid list synchronization issues.
Monday, April 7, 2008
Subscribe to:
Comments (Atom)