IDEA 2.0--对可扩展的微服务架构的看法

In this article, we would talk about how we re-arched our Identity and Authentication service to micro-service architecture to achieve much better reliability and scale for next 10 years. IDEA system was one stop solution for all the Authentication, profile, token needs, which was bottlenecking the service by many folds. There was a scope to build clarity in what functions the service would cater to, as well as define domain boundaries for it. We will talk in detail about our approach how we broke the service into different domains and how we were able to scale the service by many folds.

在这篇文章中,我们将谈论我们如何将身份和认证服务重新调整为微服务架构,以实现更好的可靠性和未来10年的规模。IDEA系统是为所有的认证、档案、令牌需求提供的一站式解决方案,这使服务的瓶颈成倍增加。在服务的功能方面有一个明确的范围,以及为它定义领域的界限。我们将详细讨论我们的方法,我们如何将服务分成不同的领域,以及我们如何能够将服务的规模扩大许多倍。

What is IDEA and what does it do at Myntra?

什么是IDEA,它在Myntra做什么?

IDEA is a one stop solution for all Identity and Authentication needs of Myntra. Any service or client which needs to an authenticated user to perform its operations would connect with IDEA, create or use an existing user account, authenticate if the user is valid or not, and then perform its operations.

IDEA是满足Myntra所有身份和认证需求的一站式解决方案。任何需要经过认证的用户来执行其操作的服务或客户端都将连接到IDEA,创建或使用现有的用户账户,认证该用户是否有效,然后执行其操作。

Capabilities of IDEA

IDEA的能力

  1. Authentication (Not Authorisation)
  2. 认证(不是授权
  3. Session management
  4. 会议管理
  5. User profile data access
  6. 用户资料数据访问
  7. Account security components
  8. 账户安全组件
  9. Whitelisting & 2FA
  10. 白名单和2FA

Terminologies

术语

  • OMS — Order Management Service
  • OMS- 订单管理服务
  • Gateway — Myntra Public API Platform
  • 网关- Myntra公共API平台
  • Knuth — Request Processor to Gateway
  • Knuth- 请求处理器到网关
  • DS — Data Science Models
  • DS- 数据科学模型
  • COD — Cash on Delivery
  • COD- 货到付款
  • PII — Personally Identifiable Information
  • PII- 个人可识别的信息

All the capabilities of IDEA are defined under one single service. A better picture of this would be seen under this high level architecture diagram:

IDEA的所有能力都被定义在一个单一的服务中。在这个高层次的架构图中可以看到一个更好的画面。

As we can see a single service caters to token manager, acts as a login handler, user profiler, information retriever and ma...

开通本站会员,查看完整译文。

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.154.0. UTC+08:00, 2026-02-24 14:05
浙ICP备14020137号-1 $访客地图$