Question

  • Creator
    Topic
  • #3937552

    How feasible it is to switch a communication protocol of a product?

    by abhithakkar1998 ·

    I had a question regarding networking and communication. It is not my forte and I am pretty new to it. Can somebody please tell me how feasible it is to switch a product using one protocol partially or entirely to a new protocol for communication? Also what kind of development and programming paradigms do I need to follow in case I need to design a product which might require a change in the future on which protocol it is using?

    For e.g. Consider a hypothetical scenario where, I am developing a product that will use MQTT for communication. In future MQTT support stops due to any abrupt reason and I need to switch to HTTP REST API. Then how should I develop the product now so that in the future I have minimum effort to switch. Moreover will I need to rewrite entire product or are there an methods which do not require complete rewriting. The motive is that the product can evolve or adapt easily.

    What are the Pros and Cons Involved in the process?

You are posting a reply to: How feasible it is to switch a communication protocol of a product?

The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our Community FAQs for details. All submitted content is subject to our Terms of Use.

All Answers

  • Author
    Replies
    • #3940479
      Avatar photo

      Re: switch communication protocol

      by kees_b ·

      In reply to How feasible it is to switch a communication protocol of a product?

      Assuming that with “product” you mean the software side, not the hardware side, this is a software design question. Back in 1975 “structured designed” learned us to separate interface and processing in different modules with only the relevant parameters.
      So, for example, if you need to open a connection, you write a module with parameters that are independent of the details of the protocol that you want to use to open the connection and that doesn’t assume anything about the program calling it.
      Nothing really changed with that the last 45 years.

Viewing 0 reply threads