- From: Tony Hammond <tony.hammond@gmail.com>
- Date: Fri, 19 Oct 2018 14:47:31 +0100
- To: public-lod@w3.org
Hi: I just published a new post today ‘Robust compute for RDF queries: Managing fault tolerance in Elixir with supervision trees’. https://medium.com/@tonyhammond/robust-compute-for-rdf-queries-eb2ad665ef12 The post briefly reviews the process model of Erlang (and Elixir) and introduces the following abstractions in Elixir: GenServer, Supervisor, and DynamicSupervisor. It then develops a demo Elixir application that can be used to query DBpedia for random resources and save the results into GenServer processes. It goes on to show how processes can be created under OTP supervision trees both statically and dynamically and how they are automatically recreated when they error. It is this support for fault tolerance and distributed compute that makes Elxir such a fascinating candidate for semantic web applications. Tony
Received on Friday, 19 October 2018 13:49:12 UTC