Re: Best Programming language for Network programming (complex server
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Re: Best Programming language for Network programming (complex server




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Best programming language for Network programming (complex server  
B. Augestad


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-24-07 06:19 PM

anup.kalbalia@gmail.com wrote:
> On May 24, 10:13 pm, "B. Augestad" <b...@metasystems.no> wrote: 
[vbcol=seagreen]
>
> 1. I would correct myself by replacing the term real-time by "having
> bounded response times". By real-time I meant that the server has to
> respond extremely quickly.

And what do you mean by "extremely quickly"? ;-)

> 2. There shall be both UDP and TCP packets sent to the client.

To the client or to the server? I assumed that the client sent the data
to the server, is that incorrect?

> But
> there is some data (like ticker data where guaranteed packet delivery
> is not essential) which does not require to be TCP as it can do away
> with the associated overhead.

Is there really much overhead to use TCP if you're going to use both TCP
and UDP anyway? (Assuming that the network isn't a bottleneck and
drops/retransmits)

> 3. Clients can be around 10000 or even more...scalability is a big
> issue. Data will be huge and shall be of the range of 20-50 Kbps
> during peak hours

So you'll have 10000 clients, each sending 50 kilobytes per second. (or
is that bits per second?) That's 488MB/s of data.

If you plan to shove that much data into an Oracle database, you have an
interesting project. Even assuming that you meant bits instead of bytes
and that you have a significant protocol overhead, you still have to
move dozens of MB/s.

Even if you can make the TCP/UDP server fast enough, the database server
and the IO subsystem will probably become a bottleneck.

Q: Any idea of the transaction sizes(KB) and the number of
transactions/second?
Q: Any thoughts on what hardware/os you plan to run this on?

> 4. UDP Data shall be generally binary data.

Can you accept packet loss?

> 5. Database can be Oracle/SQL. I am also keen on using some in memory
> database to improve performance. still tinkering with them. Any
> suggestion on that shall be helpful too.

Berkeley DB?
http://www.oracle.com/technology/pr...y-db/index.html

BTW, you probably want to read this asap: http://www.kegel.com/c10k.html

Bjørn

--
Looking for an embeddable web server?
http://www.metasystems.no/products/...nder/index.html





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:22 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register