Omnimaga
Omnimaga => Discontinued => Our Projects => OmnomIRC Development => Topic started by: Netham45 on May 11, 2011, 03:40:40 am
-
The current version requests the chat log every 4.5 seconds. That's 4300 bytes or 4.3KB every 5 seconds.
4.3 * 12 = 51.6kb/min
51.6 * 60 = 3,096kb(3MB)/hr
One of the userlist files that refreshes every 15 seconds is 700 bytes.
700*4=2800b(2.8kb)/min
2.8*60 = 168kb/hr
3096+168 = 3264kb/hr
The other userlist is about 800b every 15 seconds.
800*4=3200b/m
3.2*60 = 192kb/hr
3264kb/hr+192kb/hr = 3456 kb/hour, or 3.4MB in usage.
The new Omnom engine uses 2,067 bytes for the initial request(only ran once per tab), and uses at max 500 bytes about every 30 seconds afterwards(45 second timeout, guesstimating the messages averaged in bring that to 30).
500 * 2 = 1000b/m
1000*60 = 60,000b(6kb/h)/h
60,000+2067 = 62,067b/hour
62kb is 1/55th of 3456kb, meaning the new Omnom engline should use about 1/55th of the bandwidth on your end, or what lasted you about a minute and 6 seconds on the old OmnomIRC will now last you for an hour on the new one.
-
Nice! Good work Netham :)
-
Wow nice! Good job optimizing it!
-
Wow nice! :D
Nice for the ones who have crappy computers/limited internets, in fact. :P
-
Great job Netham! Is this same functionality as the old one also?
-
Not yet, some things are still inoperational, but hopefully it will be, soon.
-
most everything that's missing is client-side parsing of the data it's already getting, though.
-
Seems to be pretty good. Omnimaga looks like its loading correctly and same speed as other webpages.
SO did someone win the game?
I lost the game
-
Omnimaga has been loading really fast.... Now I know why. Awesome work Netham!
-
I can tell that it is much faster. The only thing is that usually the rest of omni loads and it is still a white box with only the words omnomIRC in the topleft corner. Is it supposed to do this?
-
I think so. I'm guessing it loads last so the rest of the page can load.
-
I think this is when Netham45's server is overloaded. At least the entire site no longer waits until this loaded before loading anymore, though.
-
It happens to me every time I load an omni page.
-
You can never see OmnomIRC at all? O.O
-
clear cache? :P
Also, I checked, and my servers been running as expected for the past day or so(between 28 and 40 connections, 60-80% RAM usage)
-
I see it it just takes about 3-10 seconds longer than the rest of the page to load.
-
Holy shit, a graph!
OmnomIRC v2 was brought up on the 12th at around 8 PM. :D
-
Lol, thats awesome!
Good work once again, Netham!
-
Wow I indeed see a noticeable drop in bandwidth usage! Lol at that spike prior the arrival of the new OmnomIRC o.O