Mandrel: Tsarin GraalVM don gina Quarkus

Red Hat da ƙungiyar GraalVM sun bayyana kwanan nan a hade ya sanar da sakin sabon rarraba by Tsakar Gida ake kira mandrel. Ana tsammanin hakan tare da wannan sabon rarraba fitar da ginin Red Hat na Quarkus, wani sanarwar da aka sanar kwanan nan zuwa Red Hat Runtimes.

Quarkus shine tsarin asalin Kubernetes na Java don JVM da tattarawar asali. Quarkus yana samar da ingantaccen bayani don gudanar da aikace-aikacen Java mara amfani, microservices, kwantena, Kubernetes, FaaS ko gajimare. Mandrel budaddiyar hanya ce kuma ana samunta akan GitHub, amma ba ta da rarraba binary tukuna.

A cewar bayanin kula daga Mark Little, babban daraktan injiniya na Red Hat, Ana iya bayyana Mandrel a matsayin rarraba daidaitaccen OpenJDK tare da hoto na asali na GraalVM.

Babban haƙiƙa a bayan gabatarwar Mandrel ta Red Hat shine don inganta saurin da ingancin tsarin Quarkus. Tsarin tsari ne wanda ke samar da ci gaban gida tare da saurin caji da kwantena ko rarraba sabar ga masu samar da lissafin girgije.

Quarkus yana mai da hankali ga ikon gina nativean asalin zartarwa cewa fara sauri da kuma suna kuma rage farashin aiki da albarkatu a kan gajimare.

A gaskiya ma, Red Hat ya bayyana cewa don Quarkus, mahimmin abu na GraalVM shine ainihin aikin hotonta wanda ke samar da nativean ƙasa masu aiwatarwa, wanda shine maɓallin maɓallin keɓaɓɓen Java don samun gasa a cikin ayyukan girgije na asali. Sabili da haka, Mandrel ya ba da izinin samun GraalVM ban da OpenJDK 11 akan Red Hat Enterprise Linux da sauran rarraba na OpenJDK 11.

A cewar Red Hat, bambancin ga mai amfani kaɗan ne, amma don ci gaba, daidaitawa tare da OpenJDK 11 da GraalVM yana da mahimmanci.

"Tare da Mandrel, abokan cinikin Red Hat da al'ummar GraalVM suna cin gajiyar ci gaban buɗewa na gaske, kuma Red Hat na iya tallafawa abokan cinikinta da ingantattun hanyoyin yayin bayar da tallafi ga al'ummomin da suka aminta da su don ci gaba da ciyar da jihar gaba. Na fasahar samar da hanyar buɗe ido," In ji kamfanin, yana magana game da Mandrel.

Game da aiki, Ana rarrabe GraalVM ta hanyar saurin farawa sau 50 kuma sau 5 rage amfani da ƙwaƙwalwar ajiya.

Anyi waɗannan gwaje-gwaje daban-daban ta amfani da tsohuwar sigar tsarin Quarkus akan yanayin Java HotSpot. Kodayake wannan haɓakawa yana buƙatar tattara lokaci mai tsayi, ana iya amfani dashi a layi daya tare da tura Quarkus Lambda da ayyukan Azure.

Har ila yau, wurin ajiyar Mandrel GitHub bai bayar da rarraba binary ba tukuna. Akasin haka, masu amfani suna tattara JDK da kansu ta bin umarnin. Bugu da kari, mai gabatar da kayan masarufi James Ward ya tantance GraalVM dalla-dalla kuma ya gabatar da fa'idojinsa wajen inganta aikin, da kuma wasu matsaloli, kamar aikace-aikacen da suka dogara da tunani.

A cewarsa, wannan yana haifar da matsala ga hotunan GraalVM na asali saboda tunani yana faruwa a lokacin gudu, yana sanya wuya ga mai tara kayan AOT (farkon tsuntsu) don ƙayyade hanyoyin aiwatarwa.

Idan ya zo ga aikace-aikacen da basa buƙatar tunani, shafin farko na Quarkus yana nuna kai tsaye zuwa fa'idar: 12MB na RAM akan 73MB (raguwar 83%) da sakan 0.016 a farkon amsawa da 0.943 (raguwar 98%) .

Masu haɓakawa na iya amfani da Mandrel yanzu tare da ginin kansu, ko kuma za su iya amincewa da al'ummar GraalVM ko kowane JDK 11 da mafi girman rarraba. Wasu kuma suna faɗin cewa waɗannan ƙananan tsarin Java ba sa aiki da gaske kuma bai kamata su zama mizanin masana'antu ba.

A cewar su, ba babbar manufa ba ce inda mutum zai iya ɗaukar aikace-aikacen Java na yanzu kuma ya zama ɗan asalin ƙasar. Wannan ba zai yi aiki ba, hatta don aikace-aikacen da aka rubuta ta hanyar zaɓar ɗakin karatu daga ɗabi'ar halittar Java.

Latterarshen sun gaskata cewa masu ba da tsari daban-daban suna yin fare akan gaskiyar cewa yawancin aikace-aikacen Java sune aikace-aikacen HTTP / ORM / JSON, ban da matakan da tsaro, da dai sauransu.

Idan kana son karin bayani game da shi zaka iya tuntuba mahada mai zuwa.


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Kasance na farko don yin sharhi

Bar tsokaci

Your email address ba za a buga.

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.