একটি API গেটওয়ে হল একটি একক প্রবেশ বিন্দু যা ব্যাকএন্ড সেবার সামনে অবস্থিত — রাউটিং, প্রমাণীকরণ, রেট লিমিটিং এবং আরও অনেক কিছুর মতো ক্রস-কাটিং সমস্যাগুলি পরিচালনা করে। এটি বিশেষ করে মাইক্রোসেবিসেস আর্কিটেকচারে সাধারণ কার্যকারিতা কেন্দ্রীভূত করার জন্য কার্যকর।
একটি API গেটওয়ে কী করে
The API GATEWAY is a single entry point in front of backend services:
Client → API GATEWAY → ┬→ Service A
├→ Service B
└→ Service C
→ handles cross-cutting concerns in ONE place (so services don't each implement them)
→ routes requests to the right service; abstracts the backend from clients
সাধারণ গেটওয়ে দায়িত্বসমূহ
✓ ROUTING → direct requests to the appropriate backend service
✓ AUTHENTICATION/authorization → verify identity/permissions centrally
✓ RATE LIMITING / throttling → protect backends from abuse/overload
✓ Request/response TRANSFORMATION; protocol translation; aggregation (combine service calls)
✓ CACHING; load balancing; SSL termination
✓ LOGGING, monitoring, analytics; error handling
