🔧 Programmierung 🕛 vor 2 Monaten 2 Min Lesezeit
0

Understanding the communication between the server and browser

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

Hello everyone this post is all about what I learned for few days about the system design and web technologies.






Isolation:



To get to know about the isolation we need to understand about transactions. Transaction is a multiple query runs as single operation.

If one of the queries fails, then all the queries in that transaction are canceled (Rollback).



Isolation allows multiple transaction to work simultaneously without interfering with changes made by one transaction.

There are various Isolation levels some includes:




  • Repeatable Read


  • Serializable







Short Polling:



It is a technique were frontend send a request to the backend over fixed time to get the new changes in the data.

Disadvantage:




  • Many unnecessary http requests are sent to the server






Long Polling:



It is a technique were frontend sends a request to the backend and server holds the request and sends back a response when new data arrived.

The request may be closed after timeout.






Server Sent Events (SSE):



SSE allows browser to connect to the server, and server will be able to send the data to browser continuously.

It is one way communication (Server to Browser).






Web Socket:



It creates a channel between the server and frontend, unlike SSE it allows two-way communication.

Both server and frontend can send messages continuously.



Thank you for reading, let's learn and contribute together

Vollständiger Original-Artikel
Den kompletten Beitrag mit allen Details direkt auf dev.to lesen.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
9 Quellen
CVE-2022-44169 | Tenda AC15 15.03.05.18 formSetVirtualSer buffer overflow (EUVD-2022-47119)
1 Quelle
Best early October Prime Day deals: Save on TVs, smartwatches, and more tech
1 Quelle
I gave Claude Code $100 and 30 days to make a profit. Day 1, it built a product. Here's the pattern it used.
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Understanding the communication between the server and browser

Thematisch verwandte Begriffe: Understanding, communication, between, server · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...