Thursday, March 25, 2021

Latency vs Bandwidth vs Throughput

 We come across these terms Latency, Bandwidth and throughput. Sometimes we might have confused ourselves most of the time. Below images are thousand words.






Thursday, March 18, 2021

Was SSL now it is TLS

 






HTTP

No alt text provided for this image


HTTPS

No alt text provided for this image

SSL

No alt text provided for this image
SSL 1.0
SSL 2.0
SSl 3.0
SSL 3.1

Netscape Navigator Browser :SSL 1.0/2.0

No alt text provided for this image



No alt text provided for this image
No alt text provided for this image

History Browser War

{ IE vs Netscape }


In the year 1999 Browser War erupts between Microsoft IE and Netscape Navigator Browser .


Many developers had no choice but to tailor their websites for one browser or the other. Of course, it was ultimately the users that suffered.


With the release of Internet Explorer 3.0, Microsoft dropped the hammer. They included this version, for free, bundled right into the Windows ’95 operating system.


Netscape pricing model fell apart


In November of 1998, Netscape was sold to AOL for $4.2 billion- The end of pioneer.



No alt text provided for this image

TLS : Awakening of TLS

No alt text provided for this image
No alt text provided for this image
Some known facts, 10% of the time ,On prim application downtime is due to expired certificate.
No alt text provided for this image


Wednesday, March 3, 2021

Multithreaded operations with the Task Parallel Library

 Async Vs Parallel Programming

Asynchronous Programming
  • Task Runs asynchronously however it is dependent on task results and wait for task to get completed. For e.g Operation that calculated Average on large set of data. Now these calculations will happen asynchronously while it wait for complete all its task.
  • Async Task run or executes on SINGLE thread
  • It is wait dependent







Parallel Task Programming

Threads are the virtual components or codes, which divides the physical core of a CPU into virtual multiple cores. A single CPU core can have up-to 2 threads per core.

CPU is dual core (i.e., 2 cores) it will have 4 threads. And if a CPU is Octal core (i.e., 8 core) it will have 16 threads and vice-versa.
     CPU----1 Core--------2 Threads
The thread is created by a process. Every time you open an application, it itself creates a thread which will handle all the tasks of that specific application. Like-wise the more application you open more threads will be created.

For eg. Two thread you can listen to music at the same time you can update a powerpoint presentation.