Day 4: Back on track

Clemens did further work on the move/drag-n-drop instrument which can now modify the underlying structure of the data model. This enables to drag-n-drop objects from one open document to another. Furthermore he did some code cleanup and created a GUI component for selecting an active instrument.

I got the object storage up and running and did some benchmarks on the performance of sending objects back and forth between the client and server. The benchmark I did was timing the following sequence of tasks:

  • marshaling request in python
  • transferring request from client to server
  • unmarshaling  request in java
  • fetching requested object from storage
  • marshallng object
  • transferring back
  • unmarshaling object in python

With small objects (with expected average size) and the server running on a local machine this takes between 1 and 2 ms to complete. This is great results and fast enough for the user interface to be really snappy.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.