ly 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 int
arv...@gmail.com> wrote:
> 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
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
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
I get time in the
next few days.
On Fri, Jun 26, 2015 at 3:30 PM, Henrik Sarvell hsarv...@gmail.com wrote:
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
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
) Where comes this limit from?
POSIX IPC? PicoLisp IPC ?
2) I couldn't find the redis part in the code, maybe you can give me a hint
where to look?
Thanks, your work on websockets will definitely help me in in the future :-)
- beneroth
- Original Message -
From: Henrik Sarvell
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
comes this limit from?
POSIX IPC? PicoLisp IPC ?
2) I couldn't find the redis part in the code, maybe you can give me a hint
where to look?
Thanks, your work on websockets will definitely help me in in the future :-)
- beneroth
- Original Message -
From: Henrik Sarvell
Yes it can, I just haven't gotten around to updating the links.
Here is Jose's new bitbucket identity: https://bitbucket.org/iromero91/
On Mon, Feb 2, 2015 at 4:33 PM, Jon Kleiser jon.klei...@fsat.no wrote:
Hi,
Just want to mention that the wiki page
http://picolisp.com/wiki/?Websockets
Hi,
Just want to mention that the wiki page http://picolisp.com/wiki/?Websockets
contains a link to web.l's websocket demo
https://bitbucket.org/cyborgar/web.l/src/default/webtest.l?at=default that
now gives a 404. Does anybody know if this demo code can be found elsewhere?
/Jon--
UNSUBSCRIBE
FWIW, in my case I fall back to polling every 10s in case websockets
are not supported. However, as soon as IE9 penetration drops to an
insignificant level I will stop with fallbacks.
On Tue, Jul 15, 2014 at 7:11 PM, andr...@itship.ch wrote:
Seems like we have a similar goal, Amaury! Cool
FWIW, in my case I fall back to polling every 10s in case websockets
are not supported. However, as soon as IE9 penetration drops to an
insignificant level I will stop with fallbacks.
Make a user agent statistic from your users, or try to obtain data about
your target audience.
Rumour
with every
browser.
2014-07-15 14:41 GMT-07:00 andr...@itship.ch:
FWIW, in my case I fall back to polling every 10s in case websockets
are not supported. However, as soon as IE9 penetration drops to an
insignificant level I will stop with fallbacks.
Make a user agent statistic from your
Hi Henrik,
first of all, thank you for the article and the good work!
However, I must say that I have doubts about the benefits of WebSockets
in general. I cannot see that they are worth the overhead.
They introduce a complicated machinery, which is not just a simple
protocol extension
Hi Alex, doesn't all that polling you're doing introduce a lot of
unnecessary requests to the server.
There can be up to 200 persons logged in at the same time at the site
where I'm using websockets now, that would be 100 HTTP POSTS per
second with full HTTP headers etc just to check
On Mon, Jul 14, 2014 at 11:41:08AM +0200, Alexander Burger wrote:
Not such a big problem. If I measure the described chat client, pinging
every 2 seconds, I get 335 Bytes per second on the average. This amounts
to 65 kB per second for 200 clients. Not a big problem today. Typically
Oops, no!
Hi Tomas,
thing like the example from Alex, then the amount of work on the server
seems rather small and avoiding sending HTTP headers seems like
pointless micro-optimization.
True. The posts caused by the +Auto button are
POST /55319/29110032894590418~!jsForm?!chat?*Menu=+0*Tab=+1*ID=
How about a browser videogame? Developing videogames in PicoLisp would be
great. I think I'll start one tomorrow.
El jul 14, 2014 3:21 AM, Alexander Burger a...@software-lab.de escribió:
On Mon, Jul 14, 2014 at 12:02:10PM +0200, Alexander Burger wrote:
with a size of 449 bytes. This is less
Yeah that would be nice. So, isn't that a good reason to have websockets in
PocoLisp?
El jul 14, 2014 3:49 AM, Alexander Burger a...@software-lab.de escribió:
Hi Amaury,
On Mon, Jul 14, 2014 at 03:26:15AM -0700, Amaury Hernández Águila wrote:
How about a browser videogame? Developing
On Mon, Jul 14, 2014 at 03:52:42AM -0700, Amaury Hernández Águila wrote:
Yeah that would be nice. So, isn't that a good reason to have websockets in
PocoLisp?
I would not say so. In a video game you have so much continuous
communication going on (most notably the stream of image frames
44KB / second is far from insignificant IMO, it works out to 0.35
Mbit/s if I'm not mistaken, we're paying 20 EUR per month per 1Mbit at
our current co-location. Well worth spending a couple of days to avoid
permanently.
Plus, the goal is to have much much more people logged in in the future.
On
Hi Henrik,
44KB / second is far from insignificant IMO, it works out to 0.35
Mbit/s if I'm not mistaken, we're paying 20 EUR per month per 1Mbit at
our current co-location. Well worth spending a couple of days to avoid
permanently.
wow, 20 EUR per 1Mbit? 160 EUR per 1MByte? In 2014? I
Yes but that's a residential subscription, before we moved to
co-location we used fasthosts.co.uk (highly recommended if you don't
do the kind of realtime stuff I do at work).
With fasthosts you get unlimited speed and transfers but when you do
what we do you quickly realize that it doesn't work
to httpGate and then pl-web?
Or do you put httpGate behind Apache, and if so, why?
Thanks :)
The past few days I've been working on websockets and the write up is
here: http://picolisp.com/wiki/?Websockets
There are two settings that could be discussed right away on this mailing
list:
1
The past few days I've been working on websockets and the write up is
here: http://picolisp.com/wiki/?Websockets
There are two settings that could be discussed right away on this mailing list:
1.) The appropriateness of clearing out disconnected clients from the
tag and id lists every 5 seconds
On further examination I have decided that websockets are overkill for
my purpose, it seems that XHR v2 is a better fit for file uploads.
Here is an example:
https://github.com/Integralist/XHR2-Multiple-File-Upload--with-PHP-
That code makes me believe that I will be able to accomplish
Hi Henrik,
That code makes me believe that I will be able to accomplish a
progressbar without having to change my current PL web server code at
all.
If it is only a progress bar what you are after, note that something
similar is already existent in the standard PicoLisp release.
It (ab)uses
Sarvell hsarv...@gmail.com wrote:
Google couldn't show me any prior discussions of websockets and
picolisp.
Is it too early to start thinking about this maybe, seems like the
spec/ref is still changing a little bit too fast/much atm?
http://en.wikipedia.org/wiki/WebSocket
http://tools.ietf.org
On Sun, 27 May 2012 18:53:31 +0700
Henrik Sarvell hsarv...@gmail.com wrote:
Google couldn't show me any prior discussions of websockets and
picolisp.
Is it too early to start thinking about this maybe, seems like the
spec/ref is still changing a little bit too fast/much atm?
http
32 matches
Mail list logo