I-Nchan yiphrojekthi yomthombo ovulekile enikezela ngohlelo olusheshayo, oluguquguqukayo, nolususayo lwe-pub / lwemiyalezo yezakhiwo zanamuhla zewebhu. Ivumela ukuxhumana kwesikhathi sangempela phakathi kwezinhlelo zewebhu futhi isekela imigomo ehlukahlukene efana ne-HTTP, amaWebhu, i-SSE, ne-polling ende.
UNchan wethulwa yiqembu le-nginx ngonyaka ka-2014.
Inguqulo yokuqala yeNchan yakhululwa eGitHub ngoJuni 2014.
Iphrojekthi ikhule ngokuthandwa futhi manje isetshenziswa amawebhusayithi amaningi wethrafikhi ephezulu nezinhlelo zokusebenza zewebhu.
Ukukhishwa okuzinze kwakamuva kweNchan yinguqulo 1.2.8, ekhishwe ngoJuni 2020.
I-Pusher insizakalo yemiyalezo yesikhathi sangempela yokuthengisa enikezela ngama-API wokwakha izinhlelo zokusebenza ezibukeka kalula zomsebenzisi.
I-Socket.IO yinjini yokuxhumana yangempela yomthombo ovulekile enikezela zombili ama-server-side nama-API eklayenti lokwakha izinhlelo zokusebenza zesikhathi sangempela.
I-Firebase iyipulatifomu yokuthuthukisa uhlelo lokusebenza lwamafu ne-web enikeza imiyalezo yesikhathi sangempela, i-database nezinsizakalo zokufakazela ubuqiniso.
Isisekelo se-Nchan siyingxenye esemqoka yephrojekthi ye-Nchan enikezela ngohlelo lwe-pub / imiyalezo engezansi yezinhlelo zokusebenza zewebhu. Kubhaliwe ku-C futhi kungasetshenziswa njengemodyuli yeseva yewebhu ye-nginx.
Umshicileli weNchan Websocket umtapo wezincwadi weJavaScript ohlinzeka nge-API elula yabashicileli ukuthumela imiyalezo yesikhathi sangempela ngamaWebhu. Iyahambelana nazo zonke iziphequluli zesimanje.
I-Nchan Subscriber ngumtapo wezincwadi weJavaScript ohlinzeka nge-API elula yababhalisile ukuthola imiyalezo yesikhathi sangempela ngamaphrothokholi ahlukahlukene afana ne-HTTP, iWebSockets, SSE, ne-polling ende. Iyahambelana nazo zonke iziphequluli zesimanje.
I-Nchan yiphrojekthi yomthombo ovulekile enikezela ngohlelo olusheshayo, oluguquguqukayo, nolususayo lwe-pub / lwemiyalezo yokwakhiwa kwewebhu kwanamuhla. Ivumela ukuxhumana kwesikhathi sangempela phakathi kwezinhlelo zewebhu futhi isekela imigomo ehlukahlukene efana ne-HTTP, amaWebhu, i-SSE, ne-polling ende.
I-Nchan uqobo ibhalwe ku-C futhi ingasetshenziswa njengemodyuli yeseva yewebhu ye-nginx. Kodwa-ke, i-Nchan futhi ihlinzeka ngemitapo yolwazi yeJavaScript yabashicileli nababhalisile abahambelana nazo zonke iziphequluli zesimanje.
Kunezindlela eziningi zeNchan, kufaka phakathi iPusher, Socket.IO, Firebase, nokuningi. Ngayinye yalezi zinsizakalo ihlinzeka ngemiyalezo yesikhathi sangempela yokwakha izinhlelo zokusebenza zewebhu zesimanje.
Yebo, uNchan ungumthombo ovulekile futhi ukhululekile ngokuphelele ukuwusebenzisa. Ikhishwa ngaphansi kwelayisense ye-MIT.
I-Nchan isetshenziswa amawebhusayithi amaningi omgwaqo omkhulu, kufaka phakathi iReddit, iWashington Post, neNew York Times. Kodwa-ke, njengoba uNchan engubuchwepheshe be-backend, akuhlali kubonakala kubasebenzisi bokugcina.