Amr Khaled
Bio
I’m a software engineer who is passionate about software architecture and design. Enjoy coding in Java, Scala, and JavaScript.
Stories (6/0)
Microservices in Practice: Developing Instagram Clone
Token based authentication In Monolithic applications, a user provides username and password, the security module validates user credentials and create a session for the user. A session Id is returned to the client and the client stores the session Id in cookies and send it with each request as an identifier for the user.
By Amr Khaled4 years ago in 01
Building Scalable Facebook-Like Notifications
Sometimes we want the server to notify the client on changes. This is something that is not possible in traditional HTTP web applications. In traditional web applications, the client has to establish a connection with the server and then waits for the response from the server. This is the problem that server-sent event is solving. The Idea behind server-sent event (SEE) is the client subscribes to stream of updates generated by the server and, a notification is sent to the client, whenever a new event occurs.
By Amr Khaled4 years ago in 01