Is there any solution
Sure there is a solution ... implement it. But with that less on informations it's impossible to give further suggestion.
How does your database design look like?
How does your current implementation look like?
How do you define "real time"?