Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Serialized handling of requests #126

Open
@liaden

Description

Currently running into a deadlock problem where micro service A is hitting micro service B which is hitting micro service A again. The deadlock causes a timeout.

With a controller like

class StatusController < ApplicationController
  def index
    sleep 25
  end
end

and the following:

time curl machine.dev &
time curl machine.dev &

we end up seeing request 1 takes 25.x seconds and request 2 takes 52 seconds to complete.

We have tried the following .praxconfig:

export PRAX_APP_THREADS=16
export PRAX_THREADS=32
source /usr/local/share/chruby/chruby.sh
source /usr/local/share/chruby/auto.sh

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions