DEVSTORY #12: Using function as a service (faas) to retrieve data from a knowledge graph
A counterparty knowledge graph, implemented using a graph database – Neo4j, contains a graph covering all aspects of the organizational information required by a trading counterparty to facilitate transactions. A small subset of the information would include
- organization structure ( organization, subsidiaries),
- roles (settlements, accounting)
- people at the organization who need to be contacted in case communications need to be sent
A trading firm stores its reference information in the Counterparty Knowledge Graph (CKG). Settlement contacts are one category of information of interest and queryable from the Counterparty Knowledge Graph (CKG). To expose the list of contacts related to the settlements role, for a particular commodity at the trading firm, there is a need to provide an endpoint that is manually or programmatically queryable.
The solution to this problem was a serverless function implemented OpenFAAS running on a bare metal Kubernetes cluster.
This DevStory details the solution.