magma / grants

0 stars 3 forks source link

[Proposal]: Refactoring AMF data structures for Stateless feature improvements #27

Open ganeshg87 opened 2 years ago

ganeshg87 commented 2 years ago

Proposal: Refactoring AMF data structures for Stateless feature improvements

Elevator Pitch

In the current design, serializing and storing the in-memory data of AMF into the persistent database (redisdb), requires an additional conversion which can be avoided with some re-structuring in the current AMF code. This additional conversion or mapping from serialized persistent data to in-memory data is done both during storage and re-trivial time.

This proposal shares the approach of using a protobuf-based data structure to optimize the performance and restructuring some fields at ue context level for simplifying the existing design making it more robust.

Total Ask

Stateless feature optimization feature on to Magma Architecture will be delivered in roughly 4 Milestones.

Contact Information

Ganesh Gedela (ganesh.gedela@wavelabs.ai)

Project Details

As part of the activity following items are being planned :

Task

Statless feature optimization

As part of the optimization, all conversion functions ( to proto format) will be removed as natively the structures are in protobuf format. All the keys used in lookup need to be stored in string format.

Delivery Approach

The feature will be delivered in 4 milestones. Each milestone will have the following process gates

  1. Design
  2. Development & Unit Testing
  3. code review
  4. System testing
  5. Scale test

Milestone1 - Restructuring of AMF data structures with Proto generated Ue Context Structure

Milestone2 - Refactor UE Context Storage Information in AMF

Milestone3 - Restructuring of NGAP for C++ tranistion

Milestone4 - Stateless feature specific changes and verification

Feature Roadmap

The feature will be delivered in 4 Milestones.

Milestone Deliverable Summary
MS1 Restructuring of AMF code with Proto generated UE Context Structure
MS2 Refactor UE Context Storage Information in AMF
MS3 Restructuring of NGAP for C++ transition
MS4 Statless feature specific changes and verification

Refrences