Txoj haujlwm NGINX tau tshaj tawm cov cuab yeej los tsim cov qauv hauv cov lus Rust

Cov neeg tsim khoom ntawm NGINX qhov project tau nthuav tawm ngx-rust toolkit, uas tso cai rau koj los tsim cov qauv rau NGINX http server thiab ntau tus txheej txheem npe hauv Rust programming lus. ngx-rust code yog muab faib raws li Apache 2.0 daim ntawv tso cai thiab tam sim no nyob rau hauv beta.

Thaum xub thawj, cov cuab yeej tau tsim los ua ib txoj haujlwm txhawm rau txhawm rau txhim kho Istio-tshaj Service mesh rau Kubernetes platform khiav saum NGINX. Cov khoom lag luam yeej tsis tau dhau mus dhau qhov qauv thiab stagnated rau ntau xyoo, tab sis cov piv txwv khi tau luam tawm thaum lub sij hawm tus txheej txheem tau siv los ntawm cov zej zog hauv cov phiaj xwm thib peb los txuas ntxiv lub peev xwm ntawm NGINX hauv Rust.

Tom qab qee lub sij hawm, lub tuam txhab F5 yuav tsum tau sau ib qho tshwj xeeb module rau NGINX los tiv thaiv nws cov kev pabcuam, uas nws xav siv cov lus Rust los txo qhov kev pheej hmoo ntawm kev ua yuam kev thaum ua haujlwm nrog kev nco. Txhawm rau daws qhov teeb meem, tus sau ntawm ngx-xeb tau raug coj los rau hauv, uas tau ua haujlwm nrog tsim cov cuab yeej tshiab thiab txhim kho kev tsim cov qauv rau NGINX hauv cov lus Rust.

Cov cuab yeej muaj ob lub pob crate:

  • nginx-sys - Binding generator raws li NGINX qhov chaws. Cov nqi hluav taws xob thauj khoom NGINX code thiab tag nrho nws cov kev cuam tshuam cuam tshuam, thiab tom qab ntawd siv bindgen los tsim kev sib txuas ntawm cov haujlwm qub (FFI, txawv teb chaws muaj nuj nqi interface).
  • ngx - txheej txheej rau kev nkag mus rau C ua haujlwm los ntawm Rust code, API thiab cov txheej txheem rau rov xa tawm cov ntawv khi tsim siv nginx-sys.

Tau qhov twg los: opennet.ru

Yuav txhim khu kev qha hosting rau cov chaw nrog DDoS tiv thaiv, VPS VDS servers 🔥 Yuav lub vev xaib hosting txhim khu kev qha nrog kev tiv thaiv DDoS, VPS VDS servers | ProHoster