Thanks for the clarification guys.. I guess I chose a poor set of words.. Ideally, I guess it would be nice to know the current overall session count (across all Squeak/VW instances) and that sort of thing.. Ultimately, this sounds like something perhaps only Apache might have some visibility into since it works as the virtual traffic cop of sorts.. I guess you could write a script to ping each Squeak/VW instance and ask it how many sessions its chewing on..?
Hmm.. Obviously something I'll have to think about further.. (8->
-- Rick
On Thu, January 29, 2009 1:19 pm, Boris Popov wrote:
He probably just wants to count all sessions that hadn't expired either by virtue of enough time passing or someone hitting the logout button.
-Boris
-- +1.604.689.0322 DeepCove Labs Ltd. 4th floor 595 Howe Street Vancouver, Canada V6C 2T5 http://tinyurl.com/r7uw4
boris@deepcovelabs.com
CONFIDENTIALITY NOTICE
This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments.
Thank you. -----Original Message----- From: seaside-bounces@lists.squeakfoundation.org [mailto:seaside-bounces@lists.squeakfoundation.org] On Behalf Of Randal L. Schwartz Sent: Thursday, January 29, 2009 1:18 PM To: Rick Flower Cc: seaside@lists.squeakfoundation.org Subject: Re: [Seaside] Monitoring how many users are logged in to a Seasideapplication...?
"Rick" == Rick Flower rickf@ca-flower.com writes:
Rick> I was just thinking that it would be nice to know how many (and if
Rick> any) people are connected to a particular Seaside web-app from an Rick> admin point of view..
People aren't "connected". They make correlated hits.
There is no interaction between hits. And you cannot possibly know if I'm still looking at the same page, about to make another hit, or not.
So, what do *you* mean by "logged in"?
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion _______________________________________________ seaside mailing list seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Yeah, I've never seen a solution posted for that, though obviously you could easily roll your own: just implement a simple request handler that answers every request with the current number of sessions and then, as you say, ping that periodically with a script.
I've occasionally thought of trying to get SNMP working with Squeak/Seaside which would definitely be able to provide this sort of information but it's never come high enough up my priority list (and would be overkill for the simple piece of information you're looking for).
Julian
On Thu, Jan 29, 2009 at 10:50 PM, Rick Flower rickf@ca-flower.com wrote:
Thanks for the clarification guys.. I guess I chose a poor set of words.. Ideally, I guess it would be nice to know the current overall session count (across all Squeak/VW instances) and that sort of thing.. Ultimately, this sounds like something perhaps only Apache might have some visibility into since it works as the virtual traffic cop of sorts.. I guess you could write a script to ping each Squeak/VW instance and ask it how many sessions its chewing on..?
Hmm.. Obviously something I'll have to think about further.. (8->
-- Rick
On Thu, January 29, 2009 1:19 pm, Boris Popov wrote:
He probably just wants to count all sessions that hadn't expired either by virtue of enough time passing or someone hitting the logout button.
-Boris
-- +1.604.689.0322 DeepCove Labs Ltd. 4th floor 595 Howe Street Vancouver, Canada V6C 2T5 http://tinyurl.com/r7uw4
boris@deepcovelabs.com
CONFIDENTIALITY NOTICE
This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments.
Thank you. -----Original Message----- From: seaside-bounces@lists.squeakfoundation.org [mailto:seaside-bounces@lists.squeakfoundation.org] On Behalf Of Randal L. Schwartz Sent: Thursday, January 29, 2009 1:18 PM To: Rick Flower Cc: seaside@lists.squeakfoundation.org Subject: Re: [Seaside] Monitoring how many users are logged in to a Seasideapplication...?
> "Rick" == Rick Flower rickf@ca-flower.com writes:
Rick> I was just thinking that it would be nice to know how many (and if
Rick> any) people are connected to a particular Seaside web-app from an Rick> admin point of view..
People aren't "connected". They make correlated hits.
There is no interaction between hits. And you cannot possibly know if I'm still looking at the same page, about to make another hit, or not.
So, what do *you* mean by "logged in"?
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion _______________________________________________ seaside mailing list seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
seaside mailing list seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
2009/1/29 Rick Flower rickf@ca-flower.com:
Thanks for the clarification guys.. I guess I chose a poor set of words.. Ideally, I guess it would be nice to know the current overall session count (across all Squeak/VW instances) and that sort of thing.. Ultimately, this sounds like something perhaps only Apache might have some visibility into since it works as the virtual traffic cop of sorts..
Apache doesn't know about Seaside sessions.
Cheers Philippe
2009/1/30 Rick Flower rickf@ca-flower.com:
On Fri, January 30, 2009 3:46 am, Philippe Marschall wrote:
Apache doesn't know about Seaside sessions.
True- - but it does know who its sending connections to and perhaps that might be good enough..
Nope, it doesn't store it (in memory) and doesn't have enough contextual information to make sense of it. The closest is: http://www.apache.org/server-status
Cheers Philippe
Besides apache will never know when the Seaside session expires. So, when will it know "the user has disconnected?" what disconected will mean then? Cheers, Sebastian
-----Mensaje original----- De: seaside-bounces@lists.squeakfoundation.org [mailto:seaside-bounces@lists.squeakfoundation.org] En nombre de Philippe Marschall Enviado el: Saturday, January 31, 2009 17:21 Para: rickf@ca-flower.com; Seaside - general discussion Asunto: Re: [Seaside] Monitoring how many users are logged in to a Seasideapplication...?
2009/1/30 Rick Flower rickf@ca-flower.com:
On Fri, January 30, 2009 3:46 am, Philippe Marschall wrote:
Apache doesn't know about Seaside sessions.
True- - but it does know who its sending connections to and
perhaps that
might be good enough..
Nope, it doesn't store it (in memory) and doesn't have enough contextual information to make sense of it. The closest is: http://www.apache.org/server-status
Cheers Philippe _______________________________________________ seaside mailing list seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
seaside@lists.squeakfoundation.org