[Haskell-beginners] Warp and Yesod benchmark puzzle

Felipe Almeida Lessa felipe.lessa at gmail.com
Sat Sep 1 17:01:10 CEST 2012


On Sat, Sep 1, 2012 at 11:55 AM, Lorenzo Bolla <lbolla at gmail.com> wrote:
> I wonder if the problem is rather the `decrypt`ion of the _SESSION cookie at
> each request, in which case the bottleneck is the encryption library (AES?).

I'm trying to test right now what happens to the performance when I
change (pseudo-code)

  save = encrypt . encode
  load = decode . decrypt

to just

  save = encode
  load = decode

The clientsession library does not encode or decode the data and it's
pretty fast.  Maybe not fast enough, though =).

Cheers,

-- 
Felipe.



More information about the Beginners mailing list