I am thinking about an application which consists of two main components; off-chain database and ethereum blockchain for managing the accesses to the off-chain database. Is there any similar sample? The main challenge for me is connecting the off-chain database to smart contracts. I am not sure using oraclize is an appropriate solution for this application. Do I need to write my own framework to forward requests from off-chain database to smart contracts? If yes can you help me how should I start?
I would be appreciated if you introduce some helpful sources.