Hacker News new | ask | show | jobs
by BogusIKnow 3726 days ago
Idea looks really really nice.

Not sure how some edge cases (?) are handled. For example if a database server goes down, my app that uses pledge needs to open another socket to another server. Reload of changed configurations?

"Unpledge" then pledge again? Whitepaths?

1 comments

I think being able to "unpledge" would defeat the purpose of pledge. Instead, I think the better way would be to have your app run by a parent, and when you lose connectivity to your db server, you crash your app on purpose and whenever your app crashes, parent restarts it. Problem solved, I think.
Thanks!