#46 ✓resolved
macournoyer

Optimize for long request

Reported by macournoyer | February 17th, 2008 @ 09:09 PM | in 0.8.0

Long requests (2-3 sec) might block the event loop.

We could use EventMachine Deferrable to process some request in threads. But this impact speed. So we need a way to specify which url must be run through Deferrable.

Before optimizing anything, lets benchmark this to show it's really required.

Comments and changes to this ticket

  • macournoyer

    macournoyer February 25th, 2008 @ 04:59 PM

    • Milestone changed from Future to 0.8.0
    • State changed from “new” to “open”
  • macournoyer

    macournoyer February 26th, 2008 @ 05:31 PM

    Provide an adapter to make only some urls use deferrable.

    Something usable like this in a rackup file:

    use Thin::Defer, '/my/url'
    run YouAdapter.new
    

    And an option --deferrable run all app.call deferred.

  • macournoyer

    macournoyer March 28th, 2008 @ 11:39 PM

    • State changed from “open” to “resolved”

    Added threaded option in http://github.com/macournoyer/th...

  • John

    John June 13th, 2024 @ 09:50 AM

    • Tag set to speed

    De fapt,nu toate cazinourile online sunt mari. Nu există multe cazinouri online mari. După feedback-ul onest, cazinourile online Vulkan Vegas au fost de mult timp, Nu credeam că pot câștiga bani la jocurile de noroc. În plus, este minunat să nu trebuiască să lucrezi toată ziua pentru a avea suficienți https://romania-vulkanvegas.com/ bani.

  • Adriana

    Adriana May 12th, 2026 @ 10:00 AM

    Na tej stronie znajdziesz przydatne informacje na temat polskich kasyn online oraz dowiesz się, gdzie można grać legalnie i bezpiecznie. Zebraliśmy tu materiały, które pomogą Ci lepiej zrozumieć specyfikę światowych platform, ich zasady oraz dostępne gry. Jest to wygodne rozwiązanie dla tych, którzy chcą wybrać niezawodne kasyno bez zbędnego ryzyka i z jasnymi warunkami Legalne kasyno online w Polsce zazwyczaj oferują automaty, ruletkę, blackjacka i gry z krupierami na żywo, dzięki czemu każdy gracz może wybrać formę rozrywki odpowiadającą jego gustom.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Tags

Pages