Hi Joe, thanks for the pointer, had totally forgotten about that demo app.
I've removed the call from the demo, the wsServer logic has been
removed completely since it's now Redis that is responsible for
routing messages through the pub / sub handling.
I've also updated the readme with the fact
Hi Henrik,
Thanks for sharing. I get the following when running the ws-demo:
./pil pl-web/ws-demo/main.l -go
..
!? (wsServer)
wsServer -- Undefined
I can't find the definition of wsServer anywhere. Is it missing from the
repo?
Thanks,
Joe
On Mon, Jan 4, 2016 at 4:27 PM, Henrik Sarvell
Update:
The socketserver is now completely reliant on Redis, using Redis' pub
/ sub functionality: http://redis.io/topics/pubsub
The reason for this is that I was using the websocket server to handle
all websockets functionality for the site I'm being paid to work on
and it started running into
Hi Rick, seems like a fix would be a check there: if sessions dir
doesn't exist (and Redis isn't used to store the session) create it
and move on instead of breaking down in tears.
Hi Henrik! Yes, I agree. BTW, thanks. I forgot to thank you before
for sharing this!
--
UNSUBSCRIBE:
Hi Rick, seems like a fix would be a check there: if sessions dir doesn't
exist (and Redis isn't used to store the session) create it and move on
instead of breaking down in tears.
On Sun, Jun 28, 2015 at 10:47 PM, Rick Hanson cryptor...@gmail.com wrote:
I downloaded pl-web and ext and ran the
What gives?! This stuff is broken!!!
$ git clone https://bitbucket.org/hsarvell/pl-web
Cloning into 'pl-web'...
fatal: repository 'https://bitbucket.org/hsarvell/pl-web/' not found
Just yanking your chain. I know this is a mercurial repo. :)
Thanks, man. Looks good. I'll study the code when
Hi Henrik, hi Andreas,
Question:
To work around the inter-process limit of 4096 byte long messages the
router now supports storing the messages in Redis
1) Where comes this limit from?
POSIX IPC? PicoLisp IPC ?
1) As far as I remember from a discussion with Alex it's a hard
limit
On Fri, Jun 26, 2015 at 09:30:58PM +0200, Henrik Sarvell wrote:
I was also including dbg.l (it was causing hung processes at 100%
CPU), it's basically been deprecated or something, I'll leave it up to
him to elaborate.
IIRC, the problem was not so much including dbg.l, but starting the
Hi Henrik
Awesome! That's really cool, thank you for your effort and for sharing the code
:-)
20k message with nearly zero server load sounds very impressive.
Question:
To work around the inter-process limit of 4096 byte long messages the
router now supports storing the messages in Redis
1)
Hi all, after over a month without any of the prior issues I now
consider the websockets part of pl-web stable:
https://bitbucket.org/hsarvell/pl-web Gone are the days of 100% CPU
usage and zombie processes.
With Alex's help the main web server is now more stable (he made me
throw away a few
Hi Andreas.
1) As far as I remember from a discussion with Alex it's a hard
limit (OS related).
2) Line 369 - 372 here:
https://bitbucket.org/hsarvell/pl-web/src/c445ca3861159d0b28ea779a183572c91b7b8458/pl-web.l?at=default
On Fri, Jun 26, 2015 at 9:50 PM, andr...@itship.ch wrote:
Hi Henrik
11 matches
Mail list logo