explanation.txt 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Discussion Points: (Do these first)
  2. i) Explore multiple traffic concept
  3. -To make use of different ports as well as multi ISP to stream data. Eg: External Netword card.
  4. -See how I can talk to underlying OS network configuration to make use of the network stream and delegate ports to it
  5. ii) Move transport service instantiation to adapterManager
  6. ExtraNotes: In some cases, servers can only be transmitting. Although this program allows for dual roles if there's a need for me.
  7. For 2/12/2024 Monday (Updated!!!!)
  8. URGENT: Fix the default socket transmission first. SOmething wrong with retransmission for both side when either side reconnected. Play with proxy for now.
  9. i) Do include in the list of discussion for the message ordering mechanism
  10. - Currently the way it is working is not favorable. In the mean time, do think up suggestion to improve the ordering.
  11. - Just to acquire boss's input. Doesn't have to challenge him or anything
  12. ii) Http Service Prep
  13. -Need to emulate logical channel somehow.
  14. iii) TCP Service Prep
  15. -Try this out, so that I can proceed with multi port and metric performance
  16. -Adapter Manager need to be intelligent enough to instantiate necessary components. So there will be a need to also check if a port is busy or in used.
  17. Things to do:
  18. - Connection Manager to manage different transport options. Default using websocket, but will also consider fail detection on each transport and decide on adapters swap
  19. - Also need to cater for browser environment. Right the now, the default behaviour is that one would assume to instantiate a socket server, instead of client.
  20. Need to cater for those cases too.
  21. Target for week: (Same for Week4)
  22. i) R&D for multi channel data traversal.
  23. -That means utilizing multiple TCP ports or network cards or transport services.
  24. -To be Prep via documents for discussion
  25. ii) Functional Http Service options to be made available.
  26. -Default transport will be geared towards socket at the moment.
  27. iii) Code Adjustments and Cleaning
  28. -Make sure the file structure and folders are in orderi
  29. -Necessary comments
  30. iv) Documentation
  31. -A special Readme file to help understand the usage and what it does.
  32. -Also guide for future enhancements
  33. DONT FORGET TO UPDATE SPICEWORK!!!!!!
  34. Optiomal but cool things to do:
  35. i) A global logging service that can be configured and toggled <DONE>
  36. - instead a console.log, create a logging features in utility. It's like nestjs version but but my own. It will just read from logSetting.json configurations
  37. Things to be discuss later: (as of 2/12/2024)
  38. i) If a service crashes and comes back up, does client(UI sender) still send requests?
  39. -Since the service loses all it's memory and have no clue who were connected and what it was doing unless there's a state machine.
  40. -Current paradigm only solves for internet disruption, it doesn't assume either of the sender and receiver crashes.