Please enable JavaScript.
Coggle requires JavaScript to display documents.
Server Architecture, Network Programming - Coggle Diagram
Server Architecture
Multiprocessing
Definition of Process
Number of CPU - os.cpu_count(), multiprocessing.cpu_count()
multiprocessing module - Process method
multiprocess-hello-server.py
os.getpid() and os.getppid()
multiprocessing vs. multithreading
start() and join()
Multiplexing Socket
Asynchronous/Synchronous
selectors() module
register() and unregister() socket
Event driven
set socket to nonblocking modes using setblocking()
select() method
callback() method
Multithreading
Definition of thread
threading module - Thread method
mt-server-hello.py
threading.get_ident())
start() and join()
Chat Room Apps
Remote Procedure Call (RPC)
xmlrpc modules in Python
Definition
xmlrpc.server - register_function()
xmlrpc.client - connect to the server and function
Sequential TCP server - server-hello.py
Event Driven Server Framework
Definition
Network Programming
Dr. Idawaty Ahmad