Fork me on GitHub
#pedestal
<
2018-11-28
>
johnj17:11:26

what's the verdict? ring or pedestal? 😉

johnj17:11:49

can pedestal do sync only too?

Joe Lane17:11:05

what do you mean?

johnj17:11:45

requests are handled asynchronous (multiple requests per thread in an event loop) or one thread per request (synchronous) ?

johnj17:11:10

I know its async, but wondering if it can do sync only too

Joe Lane17:11:29

your choice

Joe Lane17:11:32

it does either.

Joe Lane17:11:54

It also streams back SSE with resumable checkpoints.

johnj17:11:15

thanks, that might come in handy

johnj17:11:42

The ability to utilize Ring Middleware as Pedestal Interceptors

johnj17:11:57

is that done much in practice? utilizing ring middleware?

orestis17:11:11

All the time, sometimes even by pedestal core.

orestis17:11:58

And a lot of the time simple routes will be ring-style handlers (get called with a map, return a response map)

ccann22:11:49

I sometimes get caught up debating if something is complex enough to warrant splitting into interceptors vs a ring-handler. It’s been an interesting forcing function for ensuring my code pipelines effectively