#46 ✓resolved
macournoyer

Optimize for long request

Reported by macournoyer | 2008-02-17 21:09:35 UTC | 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 2008-02-25 16:59:21 UTC

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

    macournoyer 2008-02-26 17:31:52 UTC

    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 2008-03-28 23:39:07 UTC

    • State changed from “open” to “resolved”

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

  • John

    John 2024-06-13 09:50:40 UTC

    • 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 2026-05-12 10:00:10 UTC

    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