It says people are using sqlite for production. How big can you grow your database before it becomes a problem ?
An Introduction to LiteStack for Ruby on Rails
21–30 of 39 posts
Re: An Introduction to LiteStack for Ruby on Rails
#22Oh dang I love this. I also wish someone would take something like this and go full Phoenix with it.
Re: An Introduction to LiteStack for Ruby on Rails
#23It says people are using sqlite for production. How big can you grow your database before it becomes a problem ?
Re: An Introduction to LiteStack for Ruby on Rails
#24Re: An Introduction to LiteStack for Ruby on Rails
#25Earlier quoted context omitted.
It is in fact how it was designed to be used, you can read the reasoning here: https://dev.37signals.com/globals-callbacks-and-other-sacril...
The reasoning being basically "fuck Ruby and consistent OOP practices, this is how we roll". I used to be fine with this, but the more I work with Rails, the more I feel like it's trying to make me a worse programmer. Business logic in controllers, service "objects" (not actually objects at all), the OOP abomination that are models with dozens of different behaviors and agendas inherited via concerns. In Rails you ca…
Re: An Introduction to LiteStack for Ruby on Rails
#26It says people are using sqlite for production. How big can you grow your database before it becomes a problem ?
Re: An Introduction to LiteStack for Ruby on Rails
#27Earlier quoted context omitted.
The reasoning being basically "fuck Ruby and consistent OOP practices, this is how we roll". I used to be fine with this, but the more I work with Rails, the more I feel like it's trying to make me a worse programmer. Business logic in controllers, service "objects" (not actually objects at all), the OOP abomination that are models with dozens of different behaviors and agendas inherited via concerns. In Rails you ca…
You may want look into dry-transaction and railway oriented programming.
Re: An Introduction to LiteStack for Ruby on Rails
#28Something feels wrong to use Current.account in models.
Re: An Introduction to LiteStack for Ruby on Rails
#29Re: An Introduction to LiteStack for Ruby on Rails
#30It says people are using sqlite for production. How big can you grow your database before it becomes a problem ?
The limiting factor isn't the size of the dataset, but the rate of writes.