World: r3wp
[!AltME] Discussion about AltME
older newer | first last |
Andreas 23-Sep-2010 [4759x2] | Did you test it as well? |
discussion != empirics | |
Maxim 23-Sep-2010 [4761] | yes. I often create private groups to chat with people so its not mind-bogling slow. |
Andreas 23-Sep-2010 [4762] | Well, I guess someone should then revamp the storage mechanism. |
Maxim 23-Sep-2010 [4763] | Altme should really be released open source so we can fix these things. |
Andreas 23-Sep-2010 [4764] | My whole REBOL3 world data is a mere 62M on disk. Any noticeable slowdown occurring for this puny amount of data is somewhat .... surprising, to stay polite. |
Maxim 23-Sep-2010 [4765] | it has to transfer & update large blocks, which is where I guess the slowdown is... |
Andreas 23-Sep-2010 [4766x2] | Well, it surely does not post back the whole chatset just for adding a single message ... |
But maybe it does :) Who knows but Carl and those who wrote it :) | |
Maxim 23-Sep-2010 [4768] | that would be carl too ;-) |
Sunanda 23-Sep-2010 [4769] | It'd be interesting to know the size of Graham's private messages file -- 19.set in his case. {Andreas, yours would be 107.set] The files should be in altme/worlds/rebol3/chat But beware that Windows may be virtualising the files, so the latest copy may be well hidden elsewhere, |
Pekr 23-Sep-2010 [4770] | It seems there's noone who wrote altme ... it just came from the outer space :-) |
Andreas 23-Sep-2010 [4771] | My private messages file is 384K. |
Sunanda 23-Sep-2010 [4772] | Mine is 1.6meg. I suspect Graham can top that! |
Pekr 23-Sep-2010 [4773x2] | 3 523 969 bytes :-) |
I am a politician - I do many behind-the-scenes activity :-) | |
Maxim 23-Sep-2010 [4775] | 4.5MB here. |
Sunanda 23-Sep-2010 [4776] | That's large, Maxim. For comparison, the largest public,active, group is Core -- I see that as 3.8 meg in size. |
Maxim 23-Sep-2010 [4777x2] | yes... and its why I PM so little now. its just painfull. |
this group is < 1 sec. PM sometimes even causes my altme to go into "internet busy" mode for so long, I loose track of the discussion. | |
Sunanda 23-Sep-2010 [4779] | I can see one larger group....REBOL3-old was 4.3meg. And that was retired and replaced by the REBOL3 precisely because of the speed problem. |
james_nak 23-Sep-2010 [4780] | Doesn't the speed also have to do with the message limit per chat settings? I've decreased mine and it's much faster. Though I do wonder how accurate that setting is or what it really measures. I set mine to a higher number after a search and warning that it needs to be set higher. I've thought that there's no way there could be that many messages (several 1000's) in that one topic. |
Maxim 23-Sep-2010 [4781] | it just limits what is visible in your scrollable view above. it will affect speed so much as it uses less faces to display the list and thus less RAM is managed by the GC. |
james_nak 23-Sep-2010 [4782] | Yeah, I guess I should just search the data directly when I'm looking for something really old. |
Maxim 23-Sep-2010 [4783] | doing an OS (file content) search in the altme directory usually is easier and faster too. |
Sunanda 23-Sep-2010 [4784] | Plus the [web-public] groups have a fast search on REBOL.org http://www.rebol.org/aga-search.r |
Graham 23-Sep-2010 [4785] | 19.set is a puny 4.2mb |
Sunanda 23-Sep-2010 [4786] | :) It's one of the larger ones, I'd guess, even if Maxim is just ahead. If you send a private message to yourself -- is that fast or slow? |
Maxim 23-Sep-2010 [4787] | he was hoping it would be twice as large as mine... but mine is bigger ;-) |
Graham 23-Sep-2010 [4788] | 16 seconds to message myself |
Andreas 23-Sep-2010 [4789] | Awesome :) |
Graham 23-Sep-2010 [4790x2] | So, it does appear to be group dependent |
reminder to myself .. don't message myself ! | |
Andreas 23-Sep-2010 [4792] | Any chance to check if there's heavy network traffic during those 16 seconds :) ? |
Graham 23-Sep-2010 [4793x9] | I could look at the back off my laptop and count the flashes?? |
ok, I've got the windows task manager networking tab up now. | |
that message was not even a blip | |
same when posting to myself | |
so presumably it's internal handling that is the error. | |
now looking at cpu usage | |
a little spike when posting here ( reaches two bars ) | |
drat ... looking at the wrong core | |
slightly less cpu use when posting here vs posting to myself | |
Gregg 23-Sep-2010 [4802] | I've had to restart AltMe a couple times today, just to clear the unsent message field. |
Reichart 23-Sep-2010 [4803] | 5 seconds for me. No other bugs with AltME for the most part. I have learned though that if you have a message ready to be sent, and change groups a few times, when you hit send, it is not 100% sure it will be sent to the corrrect group. |
Henrik 24-Sep-2010 [4804] | Maybe there should be some kind of tag written, just as send is pressed, so that it appears with guarantee in the correct group. |
DideC 24-Sep-2010 [4805x3] | My guess is that it's the server that takes time to append the message in the chat file. Dunno if it does a simple append to the file but if it needs to load it in memory, append the block, then write it down to disk, it could explain why bigger chat files take longer to update !! |
Test | |
Looking at my Altme file activity (Filemon) when I post a message : - Nothing happens until the server has done its job and send back the new message for the corresponding group/user. - Then I see that the corresponding chat file is wrote entirely by block of 4096B ! - Then the state file (chatMYALTMEID) is updated (wrote by chunk of 4096B). | |
Sunanda 24-Sep-2010 [4808] | [I'm just guessing here] There are at least three different data sets to update when I send a private message to (say) Graham: -1- my chat local *.set file -2- whatever data sets are held on the server to record the message (I have no idea what these are) -3- Graham's local *.set file The first two could contribute to perceived slowness in sending; the third to any apparent slowness in updating/downloading messages. Append/lines to a 4.5 meg file does not take long on my machine (not does read/lines) so I'm primed to suspect the problem is on the server. What would be interesting to know is if the grayness I see when sending a message ends when: -a- the server acknowledges receipt; or -b- when the server has finished committing all its updates. If it is -b-, then moving the server response to be -a- could create a significant perceived increase in responsiveness. |
older newer | first last |