tutorials
tutorials copied to clipboard
[ALL] Benchmark Requests
Any benchmark requests go here.
Kafka consumers in different languages 🙏
HAProxy vs Nginx!
- [ ] Yandex Userver vs fiber
https://github.com/userver-framework/userver
Request: Django DRF vs Django Ninja vs Django with celery.
-Django DRF vs Django Ninja -Django Ninja vs Nodjs or Go -Django with celery vs Nodjs or Go
Hello @antonputra
- Ruby on Rails (Falcon instead of Puma) vs NodeJS
To help setup the project:
- Replace
gem 'puma'withgem 'falcon'
This is falcon.rb:
#!/usr/bin/env falcon-host
load :rack
hostname = File.basename(__dir__)
port = ENV['PORT'] || 3000
service hostname do
include Falcon::Environment::Rack
append preload('preload.rb')
count ENV.fetch('FALCON_WORKERS_COUNT', 1).to_i
endpoint Async::HTTP::Endpoint.parse("http://0.0.0.0:#{port}")
end
and the preload.rb:
require_relative 'config/environment'
Then to run it with (production):
bundle exec falcon host
Also, it's good idea to set a connection pool size that can make most of the DB. Falcon can have connection pool that is independent of thread pool (Falcon should use fibers instead of threads)
Comparison of different serialization formats: avro vs protobuf vs thrift vs message pack vs json
Axum vs Poem vs Warp vs Rocket
bunrouter vs gin vs go-chi vs stdlib
HAProxy vs Traefik