I have created a git repo in /u/sf/abh/xssi/xrootd (in AFS space) that
contains the Scalable Service Interface (XrdSsi). In fact,
/u/sf/abh/xssi/xrootd/src/XrdSsi contains all of the code for client- and
server-side services. You can clone this repo and play. It is based on the
xrootd that resides at git head in the github repo.
Working examples on how to use the services can be found in
/u/sf/abh/xfix/test where source files starting with XrdSsiCl show how to
implement client-side services while files starting with XrdSsiSv show how
to implement server-side services. The mkcl and mksv scripts build the
client and server examples, respectively.
To actually load and use the server-side service, you must build a shared
library and use the following directives in the xrootd config file:
xrootd.fslib libXrdSsi.so
xrootd.async off
ssi.svclib <path to the service library>
Note that libXrdSsi.so must in in some path in your LD_LIBRARY_PATH or use
an absolute path. There are some additional ssi-specific directives but
are not necessary for you to get started. Note that the shared library
that implements the example service is "/u/sf/abh/xssi/test/libSsiSv.so".
What missing?
1) Eaxample on how to implement an active stream.
2) Example on how to implement a fully parallel server-side service
session.
3) The object that interfaces with the cmsd (it's there but does nothing).
Please let me know of any problems.
Andy
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1
|