in reply to Help with designing a program.

I would start by agreeing that this is an excellent use case for a database under most conceivable operating conditions -- and SQLite will very likely serve you well here.

That said, if you really want to keep the script-in-memory-hash thing going for some reason, and really do want to simply feed the data from your in-memory hash to all comers, you have your work cut out for you:

Now -- that would be a fun project, and you'd learn a ton of potentially useful stuff. But it will take time, and time is money.

You may have to invest time to learn DBIand  SQLite, but you don't have to build much enginery to make it work, so I would hazard a guess that it will take 1-4% of the effort needed to build all the machinery for the service-communication approach.

Not to mention that if you build your own framework, you will also then need to maintain it.

Unless you have a fairly strong reason to the contrary, I think the combination of SQLiteand DBIis going to be your friend on this one.

Replies are listed 'Best First'.
Re^2: Help with designing a program.
by Nemo Clericus (Beadle) on Apr 03, 2015 at 20:19 UTC
    Agreed, it might be fun but it would be certainly over-engineered. I would generally think constructs like that should only be employed when you REALLY can't do without real time data.