Diego Bernardes

Results 34 comments of Diego Bernardes

> Sounds like a very good idea. The problem is that the repository will have one more dependency. But by now, we can deal with it I guess. We already...

Yes, sorry, clicked in the create by mistake, 1 sec, writing the message.

With go1.11 release, the tracer has user annotation support: https://golang.org/pkg/runtime/trace/#hdr-User_annotation So, on Go apps we can rely on stdlib to do the tracing,. The stdlib already export the trace result...

This is the output when the logout is done with success using `config.require_tenant = false`: ``` Started DELETE "/users/sign_out" for 127.0.0.1 at 2020-12-21 18:12:21 +0000 Processing by Devise::SessionsController#destroy as HTML...

My application controller looks like this: ```ruby class ApplicationController < ActionController::Base set_current_tenant_by_subdomain(:account, :subdomain) before_action do puts "tenant: #{current_tenant.subdomain}" end end ``` And I'm accessing the app like this: `http://account.lvh.me:3000`. This...

At the `applicaton_controller.rb` the prepend didn't solve the problem. But I was able to fix the problem by creating a new controller with the prepend and updating the routes: ```ruby...

jon, you could run the test again with go tip. it has better goroutines performance (http://talks.golang.org/2015/state-of-go-may.slide#8) and now that we know the problem was in the async-io we can expect...

@jonhoo i got a bit surprised by the latency of golang in the plot.dat file, it is very fast now, but the latency, omg.. but i think i know what...

> An interesting benchmark to see would be a C implementation using a pool of workers instead of spawning a new thread for each request. That should give us more...