Skip to content

Distributed RESTful services

Till Mossakowski edited this page May 8, 2013 · 7 revisions

Wrapper for RESTful services

  • Providing authentication and asynchronous communication
  • Stateless RESTful interface with callbacks
  • Communicating with command line tools
  • Based on thin and nginx as a load balancer?

Communication with Hets

  • Also stateless via wrapper
  • Hets can store a session on disk and resume it later (however, often it is even faster to re-read the whole ontology. See http://trac.informatik.uni-bremen.de:8080/hets/ticket/1152 . Moreover, often storing on disk takes quite long.)
  • Wrapper or load balancer can select suitable server that has saved session, based on ontology IRI
  • Wrapper communications with Hets?
    • Via REST
      • Has slight overhead in communications and would be more implementation effort on hets side
    • Command line shell (IPC)
      • Multiplexed output via file descriptors or files
    • Other RPC interface