A reference architecture for real-time microservice API consumption

Modern web frameworks and backend-as-a-service providers make it possible for real-time updates to a NoSQL data model to be reflected in the user interfaces of multiple subscribing end-user applications. However, it remains difficult for users to dynamically discover and instantly make use of the data provided by the plethora of REST APIs in existence across various cloud providers today. This paper presents a reference architecture built on the idea of a scalable NoSQL database that allows multiple subscribers to receive instant notifications of database changes through the use of a "livequery". By keeping one WebSocket connection open between each client web browser and an Object Synchronization Server, this paper shows how data from multiple disparate REST APIs can be organized and transmitted to interested clients via the database. An example is given featuring a collaborative rich-text editor that makes use of a Named-Entity Recognition microservice.

[1]  Sam Newman,et al.  Building Microservices , 2015 .

[2]  Malgorzata Steinder,et al.  Docker Containers across Multiple Clouds and Data Centers , 2015, 2015 IEEE/ACM 8th International Conference on Utility and Cloud Computing (UCC).

[3]  Giovanni Toffetti Carughi,et al.  An architecture for self-managing microservices , 2015, AIMC '15.

[4]  Junwei Lu,et al.  Generalizing operational transformation to the standard general markup language , 2002, CSCW '02.

[5]  Karl Matthias,et al.  Docker: Up & Running , 2015 .

[6]  Rion Dooley,et al.  Distributed Systems of Microservices Using Docker and Serfnode , 2015, 2015 7th International Workshop on Science Gateways.

[7]  Christopher D. Manning,et al.  Incorporating Non-local Information into Information Extraction Systems by Gibbs Sampling , 2005, ACL.

[8]  Neil Fraser Differential synchronization , 2009, DocEng '09.

[9]  Thomas Schuster,et al.  Microservice Based Tool Support for Business Process Modelling , 2015, 2015 IEEE 19th International Enterprise Distributed Object Computing Workshop.

[10]  Marc Shapiro,et al.  Conflict-Free Replicated Data Types , 2011, SSS.