On Tue, Nov 27, 2012 at 11:02 AM, Jeff Shaw <span dir="ltr">&lt;<a href="mailto:shawjef3@gmail.com" target="_blank">shawjef3@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Once each minute, a thread of my program updates a global state, stored in an IORef, and updated with atomicModifyIORef&#39;, based on query results via HDBC-obdc.</blockquote></div><div><br></div><div>Incidentally, what kind of database are you talking to? Issues of FFI correctness aside, HDBC is in general terribly slow compared to some of the more DB-specific bindings.</div>