Posts

Showing posts from January, 2022

Capacity Estimation

Image
 References: Ref1 , Ref2 , Ref3 Approx/Actual Estimation 1 Million / day = 12 / sec 1 Million / day = 700 / min 1 Million / day = 4200 / hrs Power of 2s Round of into power of 2 and 10s 50 -> 64 500 -> 512 1 day -> 86400 sec -> 100000 Million/Billion/Trillion 1 Million = 10^6 1 Billion = 10^9 1 Trillion = 10^12 Storage 1 Byte = 8 bits 1 KB = 1024 Bytes 1 MB = 1024 KB 1 GB = 1024 MB

Implement Thread Pool

 Reference: JavaCodeGreek

OSI Model | Open Systems Interconnection Model

All ( Application Layer)  People ( Presentation Layer)  Seem ( Session Layer)  To ( Transport Layer)  Need ( Network Layer)  Data ( Data Link Layer)  Processing ( Physical Layer) GreeksForGreeks reference Additional References Switch:   Facilitate network communication within local network.  Connect devices (Computer, printer, application server etc).  Maintain a table to MAC address and Port Work with Data link layer Router: Work with network layer Connect two networks or (connect network to internet) Maintain logical address Assign private IP address to the devices of local network Maintain pool o private IP address Router use  Dynamic Host Configuration Protocol (DHCP) to automatically provides an Internet Protocol (IP) host with its IP address and other related configuration information such as the subnet mask and default gateway. Public IP of router is used to connect to the internet and private IP of router is used to communicate to inside local network All computers in p

Data Structures and Algorithms | Program list

  Reference

Time Complexity Java Collection

  Stackoverflow

ArrayList vs LinkedList

  StackOverflow