[Mifos-developer] making Mifos available 24x7?

3 views
Skip to first unread message

Adam Feuer

unread,
Apr 23, 2010, 6:23:27 PM4/23/10
to Developer
Right now, when batch jobs run, they lock everyone out of the system.

Why is that? What would it take to change Mifos so people can use
Mifos while batch jobs are running?

-adam
--
Adam Feuer <adamf at pobox dot com>

------------------------------------------------------------------------------

--
You received this message because you are subscribed to the Google Groups "Mifos Developer" group.
To post to this group, send email to mifosde...@googlegroups.com.
To unsubscribe from this group, send email to mifosdevelope...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mifosdeveloper?hl=en.

John Woodlock

unread,
Apr 24, 2010, 4:05:20 AM4/24/10
to Mifos software development
Adam,  
 

Why is that? What would it take to change Mifos so people can use
Mifos while batch jobs are running?

1. Review the batch jobs to see if there is any logic in any of them which demands exclusivity.
2. If there is... change it.
3. Refactor out the method MifosTask.isBatchJobRunning()


I can't immediately see why any of the batch jobs require this exclusivity but I haven't done a review with that aim.  The biggest batch jobs (to do with generating schedules) don't require it.  I reckon the review part would be 1 or 2 story points. 


John

Emily Tucker

unread,
Apr 24, 2010, 10:42:59 AM4/24/10
to Mifos software development, Mifos software development
Would there be certain "race" conditions we'd need to account for...
Like not allowing a savings account to be closed at time we are
applying interest... Not sure if these would matter or not-- but if
they did matter, I'm sure we could find a way to handle.

At the time of building v1.0 the devs at the time wanted to eliminate
the complexity of having to think through those scenarios, and at the
time, it wasn't a priority.


On Apr 24, 2010, at 1:07 AM, "John Woodlock" <john.w...@gmail.com>
wrote:
> ---
> ---
> ---
> ---------------------------------------------------------------------

John Woodlock

unread,
Apr 24, 2010, 9:56:29 PM4/24/10
to Mifos software development
That sounds right, Emily.  You'd think, worst case, a review (technical/product) would end up with a couple of mifos functions not being available while a couple of batch jobs are running.

Adam Feuer

unread,
Apr 24, 2010, 11:14:41 PM4/24/10
to Mifos software development
On Sat, Apr 24, 2010 at 6:56 PM, John Woodlock <john.w...@gmail.com> wrote:
> That sounds right, Emily.  You'd think, worst case, a review
> (technical/product) would end up with a couple of mifos functions not being
> available while a couple of batch jobs are running.

John, Emily,

Cool discussion. I was just wondering whether we could use a "smaller
hammer" and make Mifos available for most functions when the batch
jobs are running, somehow.

As I'm working on Mifos Cloud, I'm finding that forcing people to log
out at certain times is quite a "big hammer" so to speak.

-adam
--
Adam Feuer <adamf at pobox dot com>

Derek Jean-Baptiste

unread,
Apr 25, 2010, 5:54:54 AM4/25/10
to Mifos software development
Adam Feuer wrote:
> On Sat, Apr 24, 2010 at 6:56 PM, John Woodlock <john.w...@gmail.com> wrote:
>
>> That sounds right, Emily. You'd think, worst case, a review
>> (technical/product) would end up with a couple of mifos functions not being
>> available while a couple of batch jobs are running.
>>
>
> John, Emily,
>
> Cool discussion. I was just wondering whether we could use a "smaller
> hammer" and make Mifos available for most functions when the batch
> jobs are running, somehow.
>
> As I'm working on Mifos Cloud, I'm finding that forcing people to log
> out at certain times is quite a "big hammer" so to speak.
>
> -adam
>
What is MIFOS Cloud?
Thanks
Derek

Adam Feuer

unread,
Apr 25, 2010, 1:44:59 PM4/25/10
to Mifos software development
On Sun, Apr 25, 2010 at 2:54 AM, Derek Jean-Baptiste
<derek.jea...@gmail.com> wrote:
> What is MIFOS Cloud?

Derek,

It's a not-yet-formally-announced version of Mifos hosted by Grameen
Foundation on the Amazon EC2 cloud, focused on small, fast-growing
MFIs.

-adam
--
Adam Feuer <adamf at pobox dot com>

Derek Jean-Baptiste

unread,
Apr 26, 2010, 2:56:47 AM4/26/10
to Mifos software development
Adam Feuer wrote:
> On Sun, Apr 25, 2010 at 2:54 AM, Derek Jean-Baptiste
> <derek.jea...@gmail.com> wrote:
>
>> What is MIFOS Cloud?
>>
>
> Derek,
>
> It's a not-yet-formally-announced version of Mifos hosted by Grameen
> Foundation on the Amazon EC2 cloud, focused on small, fast-growing
> MFIs.
>
> -adam
>
Great Idea, what have the challenges been so far? I would suspect
latency in the MFI countries might be, but perhaps Amazon handles local
caching of static content even in these locations...
Reply all
Reply to author
Forward
0 new messages