You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, this project uses Ruby v2.7.6 with Sinatra inside a "fat" (~500MB IIRC) Docker base image for what is effectively
a single get endpoint to serve the frontend
a single post endpoint that performs a handful of syscalls around some tempfiles
Going forward, I see two options:
Updating Ruby (to >v3.1.x), Sinatra and using an alpine Ruby base image
Switching to hosting the frontend statically and porting the backend to a different technology (Go, Rust, Elixir, Crystal, Gleam, ...). Advantages that this would bring are:
lower memory footprint in development & production
(potentially) single binary deployment
quicker development & deployment loop
gaining the ability to serve requests concurrently
(potentially) easier local setup
The text was updated successfully, but these errors were encountered:
Currently, this project uses Ruby
v2.7.6
with Sinatra inside a "fat" (~500MB IIRC) Docker base image for what is effectivelyGoing forward, I see two options:
Updating Ruby (to >
v3.1.x
), Sinatra and using an alpine Ruby base imageSwitching to hosting the frontend statically and porting the backend to a different technology (Go, Rust, Elixir, Crystal, Gleam, ...). Advantages that this would bring are:
The text was updated successfully, but these errors were encountered: