42cc / ripple_api

BSD 3-Clause "New" or "Revised" License
8 stars 8 forks source link

Real Time Updates #15

Open jardev opened 10 years ago

jardev commented 10 years ago

process_transactions actually implements the 'pull'-way to synchronize transactions between Ripple network and the database. Thus we have to run this command periodically (e.g. by cron). It's inefficient, resource-intensive, slow for response. The end user should never wait even for a minute or two if a transaction has been already completed. Definitely there should be a way to update data on the fly, using some kind of a 'push'. I assume the Ripple client does exactly the same. Maybe also take a look at https://github.com/ripple/gatewayd

akhavr commented 10 years ago

ripple_api is designed with light-weigt use in mind. Scripts, occasional IOU transfers or trades. For complete realtime integration, I'd use gatewayd api.