Notices
Insert BS here A place to discuss anything you want

computer geeks. check out new technology i just created.

Thread Tools
 
Search this Thread
 
Old Jul 10, 2009 | 06:01 PM
  #1  
UrbanSoot's Avatar
Thread Starter
Elite Member
iTrader: (24)
 
Joined: Jun 2007
Posts: 4,667
Total Cats: 18
From: Woodland Hills, CA
Default computer geeks. check out new technology i just created.

Real-time updates demo

real-time PUSH for browsers. reduces overhead of HTTP and with that lowers server load and content load times by a significant amount. source code is included.
Old Jul 12, 2009 | 04:20 PM
  #2  
cryogenic's Avatar
Newb
iTrader: (1)
 
Joined: Dec 2007
Posts: 14
Total Cats: 0
From: Lafayette, Louisiana
Default

Isn't that already done with AJAX? I'm not a programmer but from the ones I've talked to that's what I've understood. I know Yahoo and Google's services push without polling using AJAX at least.
Old Jul 12, 2009 | 09:02 PM
  #3  
proto's Avatar
Newb
 
Joined: Jan 2009
Posts: 43
Total Cats: 1
From: Bay Area, CA
Default

I'm not quite smart enough to understand what you have done (But I'm interested). I think most current "AJAX" apps use some kind of "long pull" technique -- e.g. they keep a request from the browser open for a long period of time, waiting for something to come down the pipe from the server. This can have a similar effect as a "push", although it is not.

So, does your solution depend on a Flash plugin? I guess I have to read about "Flash TCP Sockets".

Chris (VB Dinosaur)
Old Jul 12, 2009 | 09:21 PM
  #4  
UrbanSoot's Avatar
Thread Starter
Elite Member
iTrader: (24)
 
Joined: Jun 2007
Posts: 4,667
Total Cats: 18
From: Woodland Hills, CA
Default

yes, but its very inefficient because request just sits there taking up open apache nodes. on top of that there is a very nasty overhead of http which adds sometimes useless headers that you shouldnt even care about in this scenario. with my approach i removed http completely (except for loading initial page of course) but unfortunately it does rely on flash sockets so this wont work on mobile browsers :(

next week i will be implementing secure sockets (either ssl or tls)
Old Jul 12, 2009 | 11:51 PM
  #5  
b0ne's Avatar
Junior Member
 
Joined: Feb 2009
Posts: 119
Total Cats: 0
From: Oregon
Default

That is indeed cool. As a software programmer in a previous life, I can appreciate it.
Old Jul 13, 2009 | 12:41 PM
  #6  
UrbanSoot's Avatar
Thread Starter
Elite Member
iTrader: (24)
 
Joined: Jun 2007
Posts: 4,667
Total Cats: 18
From: Woodland Hills, CA
Default

thank you
Old Jul 13, 2009 | 12:56 PM
  #7  
UrbanSoot's Avatar
Thread Starter
Elite Member
iTrader: (24)
 
Joined: Jun 2007
Posts: 4,667
Total Cats: 18
From: Woodland Hills, CA
Default

by the way, just did benchmark... my server (2.4ghz core 2 duo, 2gb ram, 250gb raid 5 sata, intel 1gbps network card) maxed out with 985,564 concurrent connections sending packets back and forth constantly! memory was as 55%, cpu was at 40% on one core and 70% on second core, and i had to stop because network card maxed out.

in my next release i want to have ability to load-balance and fail-over servers and have ssl sockets for secure connection.

also, i have another project in the making - low-cost highly-available load balancer which will let you load balance and cluster databases (mysql/postgresql/mssql) and web servers (probably based on nginx). its currently in pre-alpha but i do have some working code for database balancing and replication. in actual release i plan on having file server balancing and replication as well. still debating on what exactly i should use as transfer protocol... was thinking nfs.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
nick470
MEGAsquirt
7
Jun 16, 2017 01:53 PM
Big_gumby
Meet and Greet
80
Oct 5, 2015 04:06 PM




All times are GMT -4. The time now is 07:14 AM.