quering an external oracle db in rails application -


I have a website that uses a MySQL database for the whole operation but for a new need I need to get an external The Oracle database will be asked (used by another component) and list of items in a list of websites. How is it possible to connect to an external database just to present a single page?

And it is possible to cache the results asked for one month and get an updated list of items before invalidating the cache. I do not want external Oracle DB queries for each request.

Why not a monthly job that just copies the data from the Oracle database into a MySQL database?


Comments

Popular posts from this blog

.net - C# List<T>.Find(x=>x.Rectangle.Contains(Point)) FAIL -

iphone - Smoothing a rounded stroke in Core Graphics -

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -