Ok, I am making some pretty good multiplayer flash apps right now. Funny thing is that everything involved in it (except the initial transfer of the data between client to server & server to clients) is client side coding.
I have made a database replacement (most proud and annoying part to make, took 2023 lines of as3 so far but it saves every bit of data received that is worth saving directly to my computer using shared objects), username & password login/signup, a character creation/selection screen, complete chat (well I want to add some stuff to it), and moveable avatars that are viewable to all other users connected.
And as I said, all of this is created client-side as3(talk about wasting your life for the past 3 years on flash eh?). I am having one problem though right now. And it is every programmers enemy. LAG! For some reason I can't seem to be able to handle more than 5 connections at a time (I am assume a constant loop of sending user data to server is too much maybe). I personally am considering to make a way of adding a new data handler for every connection to the game area. By the way, I am separating the game into 3 servers right now. Will make it 2 as soon I feel like adding the sign up the right way. But now I am confused on how to handle more than 5 connections to the game/chat area of my app.
Anyone got any ideas on how to solve this lag problem?!