25-09-2009

Notes client Multi page Composite App - how about performance

Category Composite applications
My good coleague Mounir helped me get data and answers for some very important performance-related questions when running a Composite Application in the Notes client. A Composite Application consisting of multiple pages.

The question was this:
We have a Composite Application consisting of two pages.
On Page 1 we have view A.
On Page 2 we have view B.
There are no wires between the two pages.
This is all Notes, Domino and NSF.

When I open up the application which starts on Page 1, I know that the client will retrieve the Design Note and view content (data rows) to display view A. But will the client also retrive the Design Note and content for view B?

My colleague did some NRPC-measurments - making the client log NRPC traffic. He had a look at the data and found the answer and also something unexpected.

The answer was no. When the client opens up Page 1, it totally ignores the content on Page 2. It does not even retrieve the Design Note for the view on the second page.
Good.

And then there was the unexpected bit of information.
When Mounir switched to Page 2, of course he saw NRPC traffic, retrieving the Design Note and view content.
When he then switched back to Page 1 he saw no NRPC traffic at all. He had expected to see NRPC traffic retrieving the view content again, but that did not happen.

The answer to the question I had was relevant because we are in the process of re-designing the User Interface of an application that has thousands of users, and we will probably be needing lots of pages (10 at least, maybe 20) in the samme Composite Application. We wanted to make sure that the client did not welcome the user with a 2-minute lockdown while it would be retrieving Design Notes and data content for all those pages.
So, that's one worry less.

The extra bit of information we got is good news. The application we are re-designing contains quite a lot of views and 100.000 documents. Today when users switch back and forth between two views, they hit the server each time they do the switch. In a composite application, if we create an interface where each view is on a separate page and we then have a user switching between two pages, they only hit the server once for each page, unless of course they start interacting with the views or with components that activate the view.

16-09-2009

Composite Application Editor will not edit Page Properties - you're hosed

Category Domino designer Composite Applications
A colleague and I have within a couple of days both seen this in the Composite Application Editor:
A picture named M2
If you see the same thing in your CAE, you are going to spend some time repairing your Lotus Notes 8 client.

Let me explain what's wrong with this picture.
If you are in the CAE and you right-click a Page and select "Edit Page Properties" and then click the Advanced tab, it is supposed to look like this:
A picture named M3
You see a list of Page properties. You can click Add to add new properties, you can click Edit to edit existing properties.

In the first screen dump, the list is empty and clicking the Add or Edit buttons displays error messages. There must be some kind of corruption in the CAE that has happened when this phenomenon shows up, because if you open up the same Composite Application with a CAE from a different workstation, you are still able to edit the properties.

My fix for the problem was to de-install the complete Notes client, delete my local Notes Data directory and the re-install. Takes hours to do. I will now start doing my Composite Application development in a VmWare image, making sure I have a backup copy of the image to roll back to.

Does anyone know of a quicker way of fixing the problem?

10-09-2009

Designer help sucks - a cure

Category Domino designer Show-n-Tell Thursday SnTT
I have had some time to experiment with 8.5 and Composite Applications. And the help in the Domino Designer sucks. I hate it. Every time I search for something, I have to click at least three results that all have the same subject and description before I find the one I needed.
I have found a cure for that problem. I can see how my quality of life will improve now. And I have an idea that others will be able to Get Things Done with less frustration by using this built-in feature of the Online help in the Domino Designer.

To set my context: I am in the process of creating a small portal for the Notes client. A Composite Application consisting of NSF-based components and a few Managed Browser components. I will be using LotusScript and @Functions and of course Wires and Actions to transfer information from component to component.
I haven't got a lot of hands-on experience with developing Composite Applications. I am learning. I need to be able to use the built-in help, reading examples, going up and down the Classes, methods and properties to learn how they are supposed to be used.

Here is how my search result for "propertybroker" looked before and after the change:
Before After
A picture named M2 A picture named M3


The first search is full of Java- and Xpages-related stuff. A waste of my time in the context I am at the moment.
I did not find anything related to my need for information until I clicked the 7th search result.

The second search is full of good stuff. Actually, the first one was what I was looking for.

And what was the trick?
Have a good look at the top of the screen dumps. It says Search scope. In the first one the search is with the Default search scope. In the second I am using my own, customized search scope called LotusScript+@Functions. I have limited the searching to include only the parts of the help that I want it to search.

And how did I create such a search scope?
Easy. Click on the search scope that is active - that would be "Default" in most people's Designer client.
A picture named M4
I have two such Search scopes. You probably have just one (for now).
Click New... Give your scope a name. And then click Edit... to define what the scope is going to include.
Here is what I ticked off:
A picture named M5

Click OK, highlight your new scope in the list and click OK. Now you're searching in only the part of the help that you have configured it to search.

That's it.

BTW. I will look into the possibilities in that Search Scope configuration some more. Including search on the Composite Applications Wiki for instance is probably something that we could get to work from here,





07-09-2009

8-server advanced Domino clustering - can I do this?

Category Lotus Domino
I have a customer where we are considering going from 6 to 8 servers in the cluster. Either that or we will have two clusters consisting of 4 in one cluster and 4 in the other and then having scheduled replication of selected databases between the two.

We had some discussions today about what can be done with clusters. And I have a feeling that this scenario might work. I'll make a less complicated description of what we discussed below.

Servers:

A1, A2
B1, B2
C1, C2

B1 and B2 do not allow Notes RPC, only HTTP.

Let's say we have 100 databases in play across the 6 servers. 100 unique replica IDs.

On A1 and A2 we have 50 databases in replicas on both.
On C1 and C2 we also have 50 databases in replicas on the two.
On B1 and B2 we have all 100 databases in replicas on both servers.

A1 and A2 share 25 replicas with C1 and C2.  In other words 25 replicas exist on all 6 servers.

The reason why there are some databases that we do not want available on all servers is that there is a huge amount of document creations and updates in these databases, leading to the Indexer task running all the time.
We will let the users from department A access databases on servers A1 and A2 and the useres from department B will access databases on servers B1 and B2.

We will be running this on Domino 8.5. The OS will be Windows 2003. It is most  likely to be a 64 bit (both Domino and OS) setup.
The cluster will be running cluster replication on their own gigabit network.

Is this an effective and efficient setup?
Let's say that server A1 drops out. Will my Notes client try to access a database on a server that does not have it available?
When I create a document on server C1 in a database that only has replicas on C1, C2, B1 and B2 will C1 try to push the document to A1 and B2 too?

I have tried to google about these questions, but did not find any answers.



Translation

Jens vægt-o-meter

12/08-06: 96,9 kg
14/10-06: 90,1 kg
14/08-07: 94,3 kg
07/11-07: 88,9 kg
09/11-08: 96,3 kg
03/02-09: 93,6 kg
09/08-09: 96,7 kg
30/12-09: 89.6 kg
25/01-10: 88.9 kg
09/03-10: 87.3 kg
31/03-10: 86.3 kg
26/08-10: 94.2 kg

MiscLinks

geocaching

Profile for jbruntt

Visitors