3 ms·
How do we handle errors? (I posted this as a reply to someone else but it deserves its own comment.) The docs don't include any specs for handling push errors
by driverdan 14y ago
How do we handle errors?
(I posted this as a reply to someone else but it deserves its own comment.)
The docs don't include any specs for handling push errors. If I push a new status and one of my followers' servers is down what do I do? Do I retry later? Do I continue to try pushing future updates? At what point do I stop trying to send updates to their missing/broken server?
If my server goes down how do I handle missed updates? Do I need to query everyone I follow? Can I fetch statues since the last one I received like Twitter? The docs say "There are a number of parameters available to limit the scope of the request" for GET /posts but don't specify what the parameters are.
Error handing is crucial for a decentralized network like this, especially one that pushes to other servers. Without a method for handling servers that go down and other errors it will absolutely not work.
- siculars 14y agoThese guys might just want to wrap something like pubsubhubbub[0]. take a look at superfeedr[1]. [0] http://pubsubhubbub.googlecode.com/svn/trunk/pubsubhubbub-core-0.3.html http://pubsubhubbub.googlecode.com/svn/trunk/pubsubhubbub-co... [1]http://superfeedr.com/documentation http://superfeedr.com/documentation