On Thu, Jun 5, 2025 at 11:32 PM Milan Kelesi <[email protected]> wrote:
> beaker.middleware - Is there a point to use beaker as WSGI middleware in 
> pyramid?

I use 'pyramid_session_redis' in some of my applications and
'pyramid_beaker' in others. Beaker has backend for both Redis, other
databases, and non-databases, so it's useful when some deployments are
Redis and others are non-Redis.

For instance, one application runs both on a web server and is
embedded into Electron Windows and Mac desktop applications. The web
deployment uses Redis. The desktop platforms don't have Redis and have
only one user, so they use memory sessions.

Another application, the main developer has a Mac environment without
Redis, so we use file-based sessions there, and Redis on the
webserver. (The Webserver deployment is in Docker with Docker Redis,
while the Mac workstation has a Conda environment (Minoforge) and just
runs 'pserve'.)

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/pylons-discuss/CAH9f%3DupnPd3X9mxoXRUN9wFCP4CZyzsg0ih8hA%3DS9QVDuZAtng%40mail.gmail.com.

Reply via email to