Question: Is there a way to test if a custom attribute is a function? I've tried using jquery's isFunction method, but it doesn't seem to work with this scenario. 

For example:

```
<input id="test" class='date' oncomplete="function() { alert('i am a function'); }" type="text" />

<script>
    $(".date").livequery(function () {
        var onComplete = $(this).attr("oncomplete");
        if ($.isFunction(onComplete)) {
            $(this).mask("99/99/9999", { completed: onComplete });
        } else {
            $(this).mask("99/99/9999");
        }
    });
</script>

```

I have several date fields. I'm trying to give a couple of them special behavior. I know I can just have a separate jquery selector to set them up with the behavior they need. But wanted to see if there was an inline way of doing this.

Answer: 
Look at your requirements:

> 
> * One image should be stored on a one node. Otherwise, if it is partitioned, image response latency could drop down dramatically
> * Fault tolerance is not the case
> 
> 
> 

Why would you go with a distributed file system in this situation?
I think MogileFs would be the good choice for you. But it has redundancy if you set it.

<https://github.com/mogilefs/>