Serverless
Në shqip përdoret i njëjti emër.
ShpjegimiSQ
Serverless do të thotë që kodin e backend-it e shkruan si funksione të vogla, dhe shërbimi cloud (p.sh. Vercel ose AWS Lambda) i nis vetëm kur vjen një kërkesë. S'ke server për të mirëmbajtur dhe paguan vetëm për kohën që punon kodi. Serverët ekzistojnë — thjesht s'merresh ti me ta.
EnglishEN
Serverless means you write backend code as small functions, and the cloud service (e.g. Vercel or AWS Lambda) only starts them when a request comes in. There's no server to maintain and you only pay while the code runs. The servers still exist — you just don't deal with them.
Si ta mendosh
Si të marrësh taksi në vend që të kesh veturë: s'merresh me servisin dhe parkingun, paguan vetëm për rrugët që bën.
Lexoje në anglisht
Like taking a taxi instead of owning a car: no servicing or parking to worry about, you only pay for the trips you make.
Shembull kodijavascript
// api/pershendetje.js në Vercel
export default function handler(req, res) {
res.json({ mesazhi: "Përshëndetje nga serverless!" });
}