Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/17/06 09:06
Read: times


 
#128157 - Sounds like rubbish to me!
Responding to: ???'s previous message
Massimo Battiston said:
I mean my device will be a master and the program running on server must act as a passive slave.

That sounds like a really bad idea!

In general, you should aim to get as much intelligence as possible out of the remote device.

To put it another way, you should always aim to push the "intelligence" as far "up" the tree (ie, away from the remote devices) as possible.

The reasons should be obvious:
  • You have far more remote devices than "servers"[1], so managing them becomes becomes more complex.

  • precisely because they are remote, managing them, debugging them, deploying them, etc, etc, are all far more difficult than dealing with a single, central server located in some nice, clean environment.

    They told me this the right way to do in a client-server system because the server can't handle complex sequences.

    Rubbish.
    In general, the "server" is a far more powerful system than any remote device.

    Even if it were true, it says nothing about which end should be considered the "server"...

    there will be potentially hundred thousands of devices located all around Europe.

    Absolutely - so you want to make them as cheap and simple as possible!

    This means the server must be able to handle thousands of concurrent connections

    Which is why the "server" needs to be the master.
    That way, the server can manage its resources, rather than always having to be prepared for anything that the devices can throw at it!

    and is not possible to handle a conmplex sequence for each connection (maybe this will eat too much resources).

    Nonsense - how do they suppose that major e-commerce sites cope - like Amazon.com ...?!

    Of course "the server" doesn't have to be a single computer - large-scale systems will be distributed across many computers!

    [1] Note that I am using "server" here in the commonest sense of being the "Big Box" in your system;
    In HTTP, it could be the other way around - see: http://www.8052.com/forum/read.phtml?id=114032

  • List of 59 messages in thread
    TopicAuthorDate
    Right way to design/develop a protocol            01/01/70 00:00      
       Many ways....            01/01/70 00:00      
          SOAP            01/01/70 00:00      
             SOAP            01/01/70 00:00      
          State Machine.            01/01/70 00:00      
          SOAP - since you mention it...            01/01/70 00:00      
       I think            01/01/70 00:00      
          more SOAP...            01/01/70 00:00      
             two things to look at            01/01/70 00:00      
                Turning the bus            01/01/70 00:00      
                   IIC turning the bus            01/01/70 00:00      
                      Turning the bus            01/01/70 00:00      
       A very important caveat            01/01/70 00:00      
          gprs and IP number            01/01/70 00:00      
       RFC953            01/01/70 00:00      
          Protocols            01/01/70 00:00      
             PC State Machines            01/01/70 00:00      
                why not switch()            01/01/70 00:00      
                   Style            01/01/70 00:00      
                      Huh?            01/01/70 00:00      
                         Function Pointers!            01/01/70 00:00      
                            Function pointers troublesome? How?            01/01/70 00:00      
                               Overlay            01/01/70 00:00      
                                  Table of function pointers            01/01/70 00:00      
                                     Experience helps            01/01/70 00:00      
                                        Up the Tree            01/01/70 00:00      
                                        No question at all!            01/01/70 00:00      
                                           Last word            01/01/70 00:00      
                                              Good luck!            01/01/70 00:00      
                                                 Oh, he can            01/01/70 00:00      
                                                    Living with the boss            01/01/70 00:00      
                                                       well, sometimes it does            01/01/70 00:00      
                                                          deja vu            01/01/70 00:00      
                                                             Take a hint from the Web            01/01/70 00:00      
                                                             Don't go into this menu            01/01/70 00:00      
                                              get another job            01/01/70 00:00      
                                                 change job            01/01/70 00:00      
                                                 All the news that's fit to print            01/01/70 00:00      
                                                    I agree            01/01/70 00:00      
                                  #pragma nooverlay in SDCC            01/01/70 00:00      
                                  Update on function pointers            01/01/70 00:00      
                               are you using the awful LARGE model?            01/01/70 00:00      
                                  Memory-model independant            01/01/70 00:00      
                                     not really            01/01/70 00:00      
                      No one size fits all            01/01/70 00:00      
       FTP?            01/01/70 00:00      
       relevatnt to your post, not thye subject            01/01/70 00:00      
          flash memory            01/01/70 00:00      
       Here's one.            01/01/70 00:00      
          Wrong thread sorry ^ ;)            01/01/70 00:00      
             Finite state machines            01/01/70 00:00      
                state machine            01/01/70 00:00      
       State Machines - AsyncPro?            01/01/70 00:00      
          Async Pro            01/01/70 00:00      
             Sounds like rubbish to me!            01/01/70 00:00      
             Need to hire some experience            01/01/70 00:00      
                Experience            01/01/70 00:00      
                   Oh well            01/01/70 00:00      
                a very common mistake            01/01/70 00:00      

    Back to Subject List