ChannelFinder Client Kunal Shroff EPICS Spring Collaboration Meeting, October 2010 BNL.
-
Upload
rosalind-hampton -
Category
Documents
-
view
216 -
download
2
Transcript of ChannelFinder Client Kunal Shroff EPICS Spring Collaboration Meeting, October 2010 BNL.
ChannelFinder Client
Kunal Shroff
EPICS Spring Collaboration Meeting, October 2010
BNL
ChannelFinder:
A Directory Service Generic
• No dependency on installation and local conventions
Simple and Fast• Use standards wherever possible
Provides “query-by-functionality”
ChannelFinder
REST style web service• URI specifies the data element to operate on• HTTP method specifies the operation• Payload (XML, JSON) contains object representation
RDB• Contains directory data
Use LDAP to query user-group relations
ChannelFinderAPI
http://channelfinder.sourceforge.net/ Pure Java API library
• Query• Add/Remove channels, Properties, Tags• Set/Update channels, Properties, Tags
RESTful web service client - Jersey Test Driven Development
• Junit • corbertura
ChannelFinderAPI
Benchmark tests
2K channel Directory 5k Channel Directory (+ SSL)
Query 1 Channel 15 ms 93 ms
Query 10 Channel 16 ms 39 ms
Query 100 Channel 23 ms 39.5 ms
Query 500 Channel 31 ms 70 ms
Query 1000 Channel 47 ms 86.5 ms
Query 2000 Channel 94 ms 125 ms
Channels
ChannelFinder Viewer
CSS Display ChannelFinderViewer Searching
• Name, Property value, Tags• Regular Expressions using “*”, “?”
ChannelFinder Viewer
Acknowledgement
Ralph Lange (Directory Service) Gabriele Carcassi (App/Build Servers, IRMIS) Don Dohan (IRMIS)
Questions