Monthly Archives: August 2011

Database Recovery: How Not To Do It

I’ve just applied over 30 terabytes of archived redo logs to an Oracle database. Surely this must be a world record!

Posted in Oracle | Leave a comment

Putting it all together: PubSub for OCaml with Coherence

In this post I will present a simple PubSub system for OCaml using the Continuous Query feature of Oracle Coherence. The code is all on GitHub. For this example, we will have three subscribers interested in different kinds of messages: … Continue reading

Posted in C++, Coherence, COHML, Ocaml, Operation Foothold | 1 Comment

Queries in Coherence with OCaml

Well, it looks like I posted the last entry too soon, as I can get close to what I want to do with the PofExtractor available from Coherence 3.5 onwards, without needing to write any Java (ugh!). It is a … Continue reading

Posted in C++, Coherence, COHML, Ocaml, Operation Foothold | Leave a comment

Custom classes in Coherence with OCaml

I have not updated in a little while as I have been busily (re)learning C++ in my already-scarce free time. Seems there is a lot of work around for C++ types, and it’s always good to have options. Anyway, on … Continue reading

Posted in C++, Coherence, COHML, Ocaml, Operation Foothold | Leave a comment

Updated: MapListener example

A slight update to yesterday’s example listener.ml supporting named callback functions: I am not entirely comfortable with this as a problem in the names can’t be detected at compile time – tho’ at runtime there is a check that the … Continue reading

Posted in Coherence, COHML, Ocaml, Operation Foothold | Leave a comment

OCaml binding for Coherence MapListener

In this post I will demonstrate triggering the execution of OCaml code by events within the Coherence grid. The full code is on GitHub, but at the OCaml level it is designed to be very simple†, using the callback mechanism. … Continue reading

Posted in C++, Coherence, COHML, Ocaml, Operation Foothold | 7 Comments

OCaml bindings for Coherence (without SWIG)

I am much happier with my second attempt at an OCaml binding for Oracle Coherence. This way is easier to build, easier to use, and I could reuse all of the C++ code from my first attempt. See the code … Continue reading

Posted in C++, Coherence, COHML, Ocaml, Operation Foothold | Leave a comment