Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

But waiting on multiple sockets for each app is surely more expensive than a single one, isn't it?




A single process waiting on multiple sockets is basically no more expensive than a single socket, but if each app has its own background process then that is more expensive. So for best performance you really want to delegate all the push-notification-listening for all the apps on a device to a single background process owned by the OS, but it'd be fine for each app to use its own push server (though of course most apps do not actually want to self-host this).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: