[dancer-users] Ajax session handling

Warren Young wyml at etr-usa.com
Mon Nov 2 19:29:26 GMT 2015


On Oct 31, 2015, at 3:48 AM, WK <wanradt at gmail.com> wrote:
> 
> 2015-10-31 0:56 GMT+02:00 Warren Young <wyml at etr-usa.com>:
> 
>>> Session::Simple ...
>>> is not meant for production.
>> 
>> That’s only true if “production” means a cluster of computers, or if you need sessions to survive a restart of the Dancer app.
> 
> Docs says, it is meant for testing purposes only.

That’s because in today’s cloud everything, shard everything, no-SQL, multi-core, scale until Google buys us world, people are starting to forget that there are still a great many real-world tasks that run just fine on a single computer, and have no reasonable prospect of needing a second CPU core, much less a second computer.

Just for one public example, the Dancer Advent calendar.  Someone recently said it typically gets less than 2000 visits monthly.  That’s about one visitor every *20 minutes* on average.  You could probably run the site from a Raspberry Pi, single-threaded, and never even know the difference from how it’s run now.


More information about the dancer-users mailing list