How we design mutual fund unit allotment system

We tackled the challenge of efficiently managing mutual fund investment unit data from the BSE Star API. Here's how we designed a robust and scaleable system:

Data Retrieval and Processing
BSE Star updates units against orders throughout the market day. Handling this continuous influx of data was our primary challenge.

๐—–๐—ต๐—ฎ๐—น๐—น๐—ฒ๐—ป๐—ด๐—ฒ๐˜€

๐—œ๐—ป๐—ฐ๐—ฟ๐—ฒ๐—ฎ๐˜€๐—ถ๐—ป๐—ด ๐—ข๐—ฟ๐—ฑ๐—ฒ๐—ฟ ๐—ฉ๐—ผ๐—น๐˜‚๐—บ๐—ฒ: The API returns tens of thousands of orders each run, continuously increasing.
๐—˜๐—ณ๐—ณ๐—ถ๐—ฐ๐—ถ๐—ฒ๐—ป๐˜ ๐——๐—ฎ๐˜๐—ฎ๐—ฏ๐—ฎ๐˜€๐—ฒ ๐—–๐—ต๐—ฒ๐—ฐ๐—ธ๐˜€: Checking each order against the database was becoming a performance bottleneck.

๐—ฆ๐—ผ๐—น๐˜‚๐˜๐—ถ๐—ผ๐—ป๐˜€

๐—ก๐—ผ๐—ฑ๐—ฒ.๐—ท๐˜€ ๐—ฎ๐—ป๐—ฑ ๐—–๐—ฟ๐—ผ๐—ป ๐—๐—ผ๐—ฏ๐˜€: We used Node.js to run scheduled jobs five times a day, fetching and processing data efficiently.

๐—๐—ฆ๐—ข๐—ก ๐—™๐—ถ๐—น๐—ฒ ๐—ณ๐—ผ๐—ฟ ๐—ข๐—ฟ๐—ฑ๐—ฒ๐—ฟ ๐—ง๐—ฟ๐—ฎ๐—ฐ๐—ธ๐—ถ๐—ป๐—ด: We stored processed order numbers in a date-wise JSON file. This allowed us to skip already processed orders and only insert new ones, significantly reducing database load and improving performance.

This approach ensured timely updates and notifications for our clients, enhancing the overall user experience.

0
Subscribe to my newsletter

Read articles from Mutual Fund Developer directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Mutual Fund Developer
Mutual Fund Developer

๐Ÿš€ Innovative Software Engineer | Full-Stack Developer Greetings! I'm a seasoned software engineer with 4 years of experience spearheading the development of cutting-edge solutions for diverse industries. My passion lies in crafting robust software architectures and leading trans-formative projects that elevate operational efficiency and drive business growth. ๐Ÿš€ What expertise in these segment Fin-tech (Mutual Fund) Project development experience KYC check system build own Build new ideas to easy work for team BSE Mutual Fund API setup Build innovative ideas to low costing of project via create automation of task. ๐Ÿš€ What i Want I like to work with new ideas that build amazing something new for mass users. Learn from problem to get solution Supercharge existing work style I love to work with agile workflow ๐ŸŒŸ Expertise Highlights: Full-Stack Mastery: Proficient in crafting seamless web and app experiences using PHP, Laravel, Node.js, Flutter, and Angular. Strategic Project Management: Skilled in orchestrating end-to-end project lifecycles, from ideation and planning to deployment and optimization. Innovative Problem Solver: Dedicated to devising creative solutions that address complex challenges and deliver tangible results. ๐Ÿ”ง Technical Skills Snapshot: Languages: PHP, JavaScript (Node.js), API: API development, Frameworks: Laravel, Angular, Tools & Technologies: Docker, Git, RESTful APIs ๐Ÿข Experience: I've championed the development and implementation of game-changing solutions that have streamlined processes and enhanced productivity across departments. I thrive in agile environments, leveraging strong communication and collaboration skills to lead cross-functional teams toward shared goals. I re-designed order flow after that 2cr SIP order managing. Mutual fund database management. ๐Ÿ’ฌ Let's Connect! I'm enthusiastic about staying ahead of industry trends and leveraging emerging technologies to create impactfull software solutions. If you're seeking a proactive and versatile software engineer to elevate your team, let's connect! Reach out to explore how we can collaborate on innovative projects that make a difference.