Zotonic
Zotonic
zotonic@conference.zotonic.com
Monday, 21 January 2013< ^ >
arjan has set the subject to: Zotonic - the Erlang Content Management Framework
Room Configuration

GMT+1
[07:22:40] maas.maarten.zeeman joins the room
[07:41:51] maas.maarten.zeeman leaves the room
[08:53:03] maas.maarten.zeeman joins the room
[08:54:54] Arjan joins the room
[09:42:05] Arjan leaves the room
[09:47:17] Arjan joins the room
[09:57:53] maas.maarten.zeeman_ joins the room
[10:20:20] Maas joins the room
[11:18:58] Maas leaves the room
[11:26:41] Maas joins the room
[12:29:17] andreas.stenius joins the room
[12:38:50] Arjan leaves the room
[12:40:57] Arjan joins the room
[13:18:25] Arjan leaves the room
[13:18:50] Arjan joins the room
[13:31:38] Maas leaves the room
[13:31:59] maas.maarten.zeeman_ leaves the room
[13:34:46] maas.maarten.zeeman_ joins the room
[13:44:21] <maas.maarten.zeeman> I'd like to commit some stuff I made for channel in the main repo. Ill add it to a personal branch first. It is a general message bus, process registry and pool implementation.
[13:44:45] <maas.maarten.zeeman> Handy for a lot of other things too.
[13:48:55] maas.maarten.zeeman_ leaves the room
[13:50:22] <andreas.stenius> I've pushed the bare bone beginnings of a mod_admin_status at https://github.com/kaos/zotonic/tree/mod_admin_status
[13:51:27] <andreas.stenius> It currently just dumps the props of all active sessions and session pages...
System Status
2 Active Sessions
Session (Site Administrator): <0.15622.0>
Props: [{remote_ip,"127.0.0.1"},
{auth_timestamp,{{2013,1,21},{10,26,34}}},
{auth_user_id,1},
{ua_props,[{is_user_select,true},
{has_pointer,true},
{is_desktop,true},
{is_crawler,false},
{is_wireless_device,false},
{is_tablet,false},
{ajax_support_javascript,true},
{device_os,<<"-">>},
{displayWidth,1920},
{displayHeight,1200},
{inputDevices,<<"-">>},
{parentId,<<"generic-">>},
{model,<<"browser">>},
{vendor,<<"desktop">>},
{id,<<"desktopDevice">>}]},
{ua_class,desktop}]
Page: <0.18122.4>
Props: []
Page: <0.13046.4>
Props: []
Page: <0.24618.3>
Props: []
Page: <0.24489.3>
Props: []
[13:51:34] <maas.maarten.zeeman> Cool, viewing sessions...
[13:51:39] <andreas.stenius> (on a admin page)
[13:51:56] <andreas.stenius> :)
[13:52:55] <andreas.stenius> planning to add buttons to send message to a specific session/page, to kick (kill) a session, etc... and to be able to see some stats and request info for each as well...
[13:53:29] <andreas.stenius> I noticed there are two page sessions per page. Guessing one is the main request, and the other is the websocket...
[13:53:58] <andreas.stenius> or is it the browser that simply are using multiple streams when loading the page... ?
[13:54:45] <maas.maarten.zeeman> websockets should be tied to the page-session
[13:54:55] <maas.maarten.zeeman> there should be one I guess
[13:55:41] <maas.maarten.zeeman> Could be the old ones are left alone to die in silence.
[13:56:26] <maas.maarten.zeeman> We currently don't look at that stuff very often. There could be some things there.
[13:56:32] <maas.maarten.zeeman> :-)
[13:58:12] <andreas.stenius> Hmm.. ok. I'll keep an eye on it. As it was firm at two page sessions regardless of page reloads, it didn't look like stale (old) page sessions... I want more data on the page to get to grips with exactly what each session is serving, and why, and to whom :p
[13:58:57] <maas.maarten.zeeman> Could also be the situation if you use comet stream via a frame btw. The streamhost setting...
[13:59:18] <andreas.stenius> no frames in use (this was from the admin interface..)
[14:00:27] <andreas.stenius> ah, well; got some other work to do too...
[14:00:39] <maas.maarten.zeeman> :-)
[14:01:01] andreas.stenius leaves the room
[14:02:22] <maas.maarten.zeeman> Btw... pages sessions are also made if you type a url in chrome. It is pre-fetching.
[14:04:10] Andreas Stenius joins the room
[14:04:14] <Arjan> wow
[14:04:35] <Andreas Stenius> ?
[14:05:09] <Arjan> (02:02:22 PM) maas.maarten.zeeman: Btw... pages sessions are also made if you type a url in chrome. It is pre-fetching.
[14:05:30] <Andreas Stenius> Ah. missed that one - was rebooting :p
[14:06:43] <Andreas Stenius> currently, sessions are a black hole in my zotonic knowledge; so I felt it was proper learning to write a module to present some session data and statistics ;)
[14:07:38] Kaos joins the room
[14:32:28] <maas.maarten.zeeman> It is also nice to use appmon to see what is going on.
[16:25:59] <maas.maarten.zeeman> https://github.com/mmzeeman/zotonic/tree/message-bus
[16:26:12] <maas.maarten.zeeman> Added the process registry
[16:56:02] <Arjan> would be nice if parts of zotonic actually use those apps ;)
[16:56:56] <maas.maarten.zeeman> yes, can easily be done for the session manager
[16:57:25] <maas.maarten.zeeman> the session manager is a process pool and registry rolled into one.
[16:57:58] <maas.maarten.zeeman> but that requires "some" refactorying :-P
[17:00:26] <maas.maarten.zeeman> I needed a separate message-bus (separate from postbacks) so this is why i implemented this something like the session/page-session setup.
[17:03:57] <maas.maarten.zeeman> More will follow
[17:10:12] <Arjan> ok :)
[17:12:22] <maas.maarten.zeeman> Need to rename some parts I already have.
[17:13:23] <maas.maarten.zeeman> Could speed up the session manager too I think.
[17:13:41] <maas.maarten.zeeman> Reggy can do parallel lookups with ets
[18:07:41] Arjan leaves the room
[18:29:10] Arjan joins the room
[18:32:59] Arjan leaves the room
[19:40:21] Arjan joins the room
[19:40:52] maas.maarten.zeeman leaves the room
[20:21:58] Kaos leaves the room
[20:21:58] Kaos joins the room
[21:18:10] Maas joins the room
[21:52:38] Arjan leaves the room
[21:54:43] Andreas Stenius leaves the room
[21:54:59] Arjan joins the room
[21:58:27] Kaos leaves the room
[22:14:15] Arjan leaves the room
[23:59:47] Maas leaves the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!