To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 8664
8663  |  8665
Subject: 
Re: Ldglite must be faster
Newsgroups: 
lugnet.cad
Date: 
Fri, 6 Sep 2002 19:11:30 GMT
Viewed: 
1044 times
  
In lugnet.cad, Don Heyse writes:
In lugnet.cad, Steve Bliss writes:
How responsive would XML-RPC be?  Would it be an appropriate approach
for an interactive program (as opposed to a program that needs a
relatively static display)?

Well it sits on top of HTTP, which builds up and then tears down
a TCP connection for each message, so it's not the fastest protocol
in the world.

Ah.

How many messages per second do you think you need
for an interactive program?  What are you thinking of sending?
Mouse coordinates, keystrokes, and LDRAW commandline type info, or
whole LDRAW files?

Hmm.  Probably not raw keystrokes, but possibly sending messages at keyboard
speed.  I was basically thinking of anything an editing program might need
done for rendering (and interaction) services.

XML-RPC would be asynchronous (I think), which would be good, because the
client program wouldn't hang while the rendering was being refreshed.  OTOH,
it probably would be hard to interrupt (or cancel a message), so the server
might pile up processes that are working to respond to messages.

Then again, in such an application, it's probably not unreasonable to expect
the client to deal with high-response interaction needs, like responding to
the user moving the current selection around the screen.

Then again, is the interface protocol that important?  Important in terms of
nailing down right away?  It seems like it would be better to define the
interface and develop the core server program, and put protocol "wrappers"
around the core.  That's not a complete answer, since different interfaces
work differently.  But it's something to think about.

Steve



Message is in Reply To:
  Re: Ldglite must be faster
 
(...) Well it sits on top of HTTP, which builds up and then tears down a TCP connection for each message, so it's not the fastest protocol in the world. How many messages per second do you think you need for an interactive program? What are you (...) (22 years ago, 6-Sep-02, to lugnet.cad)

39 Messages in This Thread:















Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR