Open
Conversation
spajic
approved these changes
May 4, 2019
Owner
spajic
left a comment
There was a problem hiding this comment.
Отличная работа! Отдельный плюсик за разборку с Falcon!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Работа напрямую с Puma оказалась довольно медленной, возможно это проблема из-за Docker слоя и не оптимизированной системы.

Но через проксирование по nginx с включенным HTTP/2 и server-push, это выглядит прямо в разы лучше.

Также рабочий скрин с server-push:

Прогон тестов через WPT продакшена dev.to:
http://webpagetest.org/result/190429_36_1a6e0bd239dfd2567bd02f880a6c1796/
Они имеют проблемы с кэшированием статического контента, вероятно стоит кроме того, как использовать server-push, попытаться решить этот кейс.
О Falcon, мое мнение - пока не годен для прода. Пока довольно невнятное управление демоном, практически никакой нормальной документации по работе с серверов. С rails запустить не удалось из rails server, хотя в readme указано, что это возможно сделать. При тестировании через h2load сыпал ошибка на SSL сертификат. По ошибке тоже никаких данных не было найдено. Не смотря на ошибки в логе, работал ощутимо быстрее чем puma.