home.social

#keepalive — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #keepalive, aggregated by home.social.

  1. Отказоустойчивый запуск WSGI приложения. Обзор архитектуры Gunicorn

    Gunicorn кажется простым, пока не сталкиваешься с эксплуатацией: внезапные ошибки 502, зависшие воркеры и странное поведение при перезапусках. За этими симптомами стоят вполне конкретные причины — от медленных клиентов и отсутствия буферизации до особенностей реализации GThread и механики Graceful Shutdown. В этой статье разберём реальные сценарии отказов, посмотрим, как менялась архитектура GThread в разных версиях Gunicorn, и соберём практичную конфигурацию с Nginx, Docker и Kubernetes, которая ведёт себя предсказуемо под нагрузкой.

    habr.com/ru/companies/domclick

    #python #gunicorn #wsgi #prefork #gthread #graceful_shutdown #keepalive #nginx #docker

  2. Отказоустойчивый запуск WSGI приложения. Обзор архитектуры Gunicorn

    Gunicorn кажется простым, пока не сталкиваешься с эксплуатацией: внезапные ошибки 502, зависшие воркеры и странное поведение при перезапусках. За этими симптомами стоят вполне конкретные причины — от медленных клиентов и отсутствия буферизации до особенностей реализации GThread и механики Graceful Shutdown. В этой статье разберём реальные сценарии отказов, посмотрим, как менялась архитектура GThread в разных версиях Gunicorn, и соберём практичную конфигурацию с Nginx, Docker и Kubernetes, которая ведёт себя предсказуемо под нагрузкой.

    habr.com/ru/companies/domclick

    #python #gunicorn #wsgi #prefork #gthread #graceful_shutdown #keepalive #nginx #docker

  3. Отказоустойчивый запуск WSGI приложения. Обзор архитектуры Gunicorn

    Gunicorn кажется простым, пока не сталкиваешься с эксплуатацией: внезапные ошибки 502, зависшие воркеры и странное поведение при перезапусках. За этими симптомами стоят вполне конкретные причины — от медленных клиентов и отсутствия буферизации до особенностей реализации GThread и механики Graceful Shutdown. В этой статье разберём реальные сценарии отказов, посмотрим, как менялась архитектура GThread в разных версиях Gunicorn, и соберём практичную конфигурацию с Nginx, Docker и Kubernetes, которая ведёт себя предсказуемо под нагрузкой.

    habr.com/ru/companies/domclick

    #python #gunicorn #wsgi #prefork #gthread #graceful_shutdown #keepalive #nginx #docker

  4. Отказоустойчивый запуск WSGI приложения. Обзор архитектуры Gunicorn

    Gunicorn кажется простым, пока не сталкиваешься с эксплуатацией: внезапные ошибки 502, зависшие воркеры и странное поведение при перезапусках. За этими симптомами стоят вполне конкретные причины — от медленных клиентов и отсутствия буферизации до особенностей реализации GThread и механики Graceful Shutdown. В этой статье разберём реальные сценарии отказов, посмотрим, как менялась архитектура GThread в разных версиях Gunicorn, и соберём практичную конфигурацию с Nginx, Docker и Kubernetes, которая ведёт себя предсказуемо под нагрузкой.

    habr.com/ru/companies/domclick

    #python #gunicorn #wsgi #prefork #gthread #graceful_shutdown #keepalive #nginx #docker

  5. Vielleicht ist das etwas für deine älteren Mitmenschen - vielleicht sogar auch für dich?

    Keep Alive sendet eine benutzerdefinierte Nachricht per SMS an eine oder mehrere Personen, wenn Sie Ihr Gerät innerhalb eines bestimmten Zeitraums nicht benutzt haben. Diese Funktion ist als Ausfallsicherung für Alleinlebende im Falle eines Unfalls oder eines anderen Notfalls gedacht.

    f-droid.org/de/packages/io.kee

    #keepalive #android #fdroid

  6. Vielleicht ist das etwas für deine älteren Mitmenschen - vielleicht sogar auch für dich?

    Keep Alive sendet eine benutzerdefinierte Nachricht per SMS an eine oder mehrere Personen, wenn Sie Ihr Gerät innerhalb eines bestimmten Zeitraums nicht benutzt haben. Diese Funktion ist als Ausfallsicherung für Alleinlebende im Falle eines Unfalls oder eines anderen Notfalls gedacht.

    f-droid.org/de/packages/io.kee

    #keepalive #android #fdroid

  7. Vielleicht ist das etwas für deine älteren Mitmenschen - vielleicht sogar auch für dich?

    Keep Alive sendet eine benutzerdefinierte Nachricht per SMS an eine oder mehrere Personen, wenn Sie Ihr Gerät innerhalb eines bestimmten Zeitraums nicht benutzt haben. Diese Funktion ist als Ausfallsicherung für Alleinlebende im Falle eines Unfalls oder eines anderen Notfalls gedacht.

    f-droid.org/de/packages/io.kee

    #keepalive #android #fdroid

  8. Vielleicht ist das etwas für deine älteren Mitmenschen - vielleicht sogar auch für dich?

    Keep Alive sendet eine benutzerdefinierte Nachricht per SMS an eine oder mehrere Personen, wenn Sie Ihr Gerät innerhalb eines bestimmten Zeitraums nicht benutzt haben. Diese Funktion ist als Ausfallsicherung für Alleinlebende im Falle eines Unfalls oder eines anderen Notfalls gedacht.

    f-droid.org/de/packages/io.kee

    #keepalive #android #fdroid

  9. Vielleicht ist das etwas für deine älteren Mitmenschen - vielleicht sogar auch für dich?

    Keep Alive sendet eine benutzerdefinierte Nachricht per SMS an eine oder mehrere Personen, wenn Sie Ihr Gerät innerhalb eines bestimmten Zeitraums nicht benutzt haben. Diese Funktion ist als Ausfallsicherung für Alleinlebende im Falle eines Unfalls oder eines anderen Notfalls gedacht.

    f-droid.org/de/packages/io.kee

    #keepalive #android #fdroid

  10. Estaba cotilleando #FDroid y me he topado con #KeepAlive 🤯. Básicamente: si no has dado señales de vida (no has usado el móvil) en un período de tiempo seleccionado, manda automáticamente un mensaje a un contacto de emergencia o le realiza una llamada.

    Bastante bien, ¿no? 💖

    f-droid.org/packages/io.keepal

    Edit: encima puedes contactar a varias personas a la vez y mandar info de ubicación.

  11. Estaba cotilleando #FDroid y me he topado con #KeepAlive 🤯. Básicamente: si no has dado señales de vida (no has usado el móvil) en un período de tiempo seleccionado, manda automáticamente un mensaje a un contacto de emergencia o le realiza una llamada.

    Bastante bien, ¿no? 💖

    f-droid.org/packages/io.keepal

    Edit: encima puedes contactar a varias personas a la vez y mandar info de ubicación.

  12. Estaba cotilleando #FDroid y me he topado con #KeepAlive 🤯. Básicamente: si no has dado señales de vida (no has usado el móvil) en un período de tiempo seleccionado, manda automáticamente un mensaje a un contacto de emergencia o le realiza una llamada.

    Bastante bien, ¿no? 💖

    f-droid.org/packages/io.keepal

    Edit: encima puedes contactar a varias personas a la vez y mandar info de ubicación.

  13. Estaba cotilleando #FDroid y me he topado con #KeepAlive 🤯. Básicamente: si no has dado señales de vida (no has usado el móvil) en un período de tiempo seleccionado, manda automáticamente un mensaje a un contacto de emergencia o le realiza una llamada.

    Bastante bien, ¿no? 💖

    f-droid.org/packages/io.keepal

    Edit: encima puedes contactar a varias personas a la vez y mandar info de ubicación.

  14. Estaba cotilleando #FDroid y me he topado con #KeepAlive 🤯. Básicamente: si no has dado señales de vida (no has usado el móvil) en un período de tiempo seleccionado, manda automáticamente un mensaje a un contacto de emergencia o le realiza una llamada.

    Bastante bien, ¿no? 💖

    f-droid.org/packages/io.keepal

    Edit: encima puedes contactar a varias personas a la vez y mandar info de ubicación.

  15. acabo de descubrir esta app, Keep Alive, que te llama con el altavoz activado o te envia un sms si una persona no ha usado el movil en un determinado tiempo.
    Me parece muy útil para gente con familiares dependientes que vivan sólos.
    Está en la tienda de apps de F-Droid
    #FLOSS
    #fdroid
    #keepalive

  16. acabo de descubrir esta app, Keep Alive, que te llama con el altavoz activado o te envia un sms si una persona no ha usado el movil en un determinado tiempo.
    Me parece muy útil para gente con familiares dependientes que vivan sólos.
    Está en la tienda de apps de F-Droid
    #FLOSS
    #fdroid
    #keepalive

  17. @wanderinghermit

    "Silently die" is commonly caused on Linux by the system OOM killer if the program allocates enough memory to drive the system into an out-of-memory state. Turning off overcommit on the system can be used to confirm this, as it will generally result in the Python program running until a MemoryError exception is thrown, and it will exit with a stacktrace rather than be killed before it can do so. Offhand I don't know what the behaviour on other OSes would be.

    The print-prevents-dying thing I have seen before, but only when running programs on a remote machine. If there is no I/O at all happening, a network connection can end up getting reset for various reasons, causing the exit-to-shell behaviour. Adding print statements that happen to get called often enough to prevent this papers over the problem.

    If this is the problem, and you're running over SSH, there are SSH options to make the session not die like this - keepalives.

    #SSH #network #timeout #NAT #KeepAlive #die

  18. @wanderinghermit

    "Silently die" is commonly caused on Linux by the system OOM killer if the program allocates enough memory to drive the system into an out-of-memory state. Turning off overcommit on the system can be used to confirm this, as it will generally result in the Python program running until a MemoryError exception is thrown, and it will exit with a stacktrace rather than be killed before it can do so. Offhand I don't know what the behaviour on other OSes would be.

    The print-prevents-dying thing I have seen before, but only when running programs on a remote machine. If there is no I/O at all happening, a network connection can end up getting reset for various reasons, causing the exit-to-shell behaviour. Adding print statements that happen to get called often enough to prevent this papers over the problem.

    If this is the problem, and you're running over SSH, there are SSH options to make the session not die like this - keepalives.

    #SSH #network #timeout #NAT #KeepAlive #die

  19. @wanderinghermit

    "Silently die" is commonly caused on Linux by the system OOM killer if the program allocates enough memory to drive the system into an out-of-memory state. Turning off overcommit on the system can be used to confirm this, as it will generally result in the Python program running until a MemoryError exception is thrown, and it will exit with a stacktrace rather than be killed before it can do so. Offhand I don't know what the behaviour on other OSes would be.

    The print-prevents-dying thing I have seen before, but only when running programs on a remote machine. If there is no I/O at all happening, a network connection can end up getting reset for various reasons, causing the exit-to-shell behaviour. Adding print statements that happen to get called often enough to prevent this papers over the problem.

    If this is the problem, and you're running over SSH, there are SSH options to make the session not die like this - keepalives.

    #SSH #network #timeout #NAT #KeepAlive #die

  20. @wanderinghermit

    "Silently die" is commonly caused on Linux by the system OOM killer if the program allocates enough memory to drive the system into an out-of-memory state. Turning off overcommit on the system can be used to confirm this, as it will generally result in the Python program running until a MemoryError exception is thrown, and it will exit with a stacktrace rather than be killed before it can do so. Offhand I don't know what the behaviour on other OSes would be.

    The print-prevents-dying thing I have seen before, but only when running programs on a remote machine. If there is no I/O at all happening, a network connection can end up getting reset for various reasons, causing the exit-to-shell behaviour. Adding print statements that happen to get called often enough to prevent this papers over the problem.

    If this is the problem, and you're running over SSH, there are SSH options to make the session not die like this - keepalives.

    #SSH #network #timeout #NAT #KeepAlive #die

  21. @wanderinghermit

    "Silently die" is commonly caused on Linux by the system OOM killer if the program allocates enough memory to drive the system into an out-of-memory state. Turning off overcommit on the system can be used to confirm this, as it will generally result in the Python program running until a MemoryError exception is thrown, and it will exit with a stacktrace rather than be killed before it can do so. Offhand I don't know what the behaviour on other OSes would be.

    The print-prevents-dying thing I have seen before, but only when running programs on a remote machine. If there is no I/O at all happening, a network connection can end up getting reset for various reasons, causing the exit-to-shell behaviour. Adding print statements that happen to get called often enough to prevent this papers over the problem.

    If this is the problem, and you're running over SSH, there are SSH options to make the session not die like this - keepalives.

    #SSH #network #timeout #NAT #KeepAlive #die

  22. Остаться в живых (keepalive) feat. HTTP/2, Go & gRPC-Go

    Привет, Хабр!) Меня зовут Ильяс. В этой статье мы разберём известную идею — keepalive в межсервисном взаимодействии, которая спасла уже не одну компанию в трудное время :). Но чтобы добавить интереса, мы разберём, какие проблемы в keepalive принесли современные технологии (ведь что может пойти не так с этой простой идеей?). Поэтому в статье мы рассмотрим механизмы, которые позволяют проверять стабильность соединения между клиентом и сервером в случае, когда обычные TCP keepalive из-за сложности архитектуры не могут определить состояние сервера. Остаться в живых

    habr.com/ru/companies/ozontech

    #keepalive #golang #http/2 #ozon #ozon_tech #grpc #go

  23. Остаться в живых (keepalive) feat. HTTP/2, Go & gRPC-Go

    Привет, Хабр!) Меня зовут Ильяс. В этой статье мы разберём известную идею — keepalive в межсервисном взаимодействии, которая спасла уже не одну компанию в трудное время :). Но чтобы добавить интереса, мы разберём, какие проблемы в keepalive принесли современные технологии (ведь что может пойти не так с этой простой идеей?). Поэтому в статье мы рассмотрим механизмы, которые позволяют проверять стабильность соединения между клиентом и сервером в случае, когда обычные TCP keepalive из-за сложности архитектуры не могут определить состояние сервера. Остаться в живых

    habr.com/ru/companies/ozontech

    #keepalive #golang #http/2 #ozon #ozon_tech #grpc #go

  24. Остаться в живых (keepalive) feat. HTTP/2, Go & gRPC-Go

    Привет, Хабр!) Меня зовут Ильяс. В этой статье мы разберём известную идею — keepalive в межсервисном взаимодействии, которая спасла уже не одну компанию в трудное время :). Но чтобы добавить интереса, мы разберём, какие проблемы в keepalive принесли современные технологии (ведь что может пойти не так с этой простой идеей?). Поэтому в статье мы рассмотрим механизмы, которые позволяют проверять стабильность соединения между клиентом и сервером в случае, когда обычные TCP keepalive из-за сложности архитектуры не могут определить состояние сервера. Остаться в живых

    habr.com/ru/companies/ozontech

    #keepalive #golang #http/2 #ozon #ozon_tech #grpc #go