Building a Scalable Event Ticketing API with .Net 10 – Need Advice!

debugger@dev

New member
Joined
Mar 1, 2025
Messages
1
Programming Experience
1-3
Hey everyone,
I’m building a mock event ticketing API in .Net10 and want to ensure it follows best practices, design patterns, and scalable architecture. I don’t just want a working solution—I want to write clean, optimized, and maintainable code. I'm looking to improve my skills in more advanced techniques, so any guidance or feedback is greatly appreciated!

Would Love Input On:
🔹 Design Patterns – Best approach for handling different booking flows (Factory, Strategy, etc.).
🔹 Handling Long-Running Operations – Background tasks, queues, or worker services instead of polling?
🔹 Scalability & Maintainability – How to structure it for future extensions?
🔹 Performance Optimization – Best practices for in-memory data handling.
🔹 Error Handling & Security – Global exception handling, authentication, and authorization.

Key Constraints & Features:
- Supports EventOnly(succeeds after processing time), VIPPackage(bookings always succeed), and LastMinuteTickets(have a higher failure rate due to limited availability, events happening within the next 30 days) searches.
- No external database – everything stored in-memory.
- Async processing (bookings take 30-60 sec to complete).
- Extendable architecture to add new ticket types in the future.
 
How much memory will each machine have?
How many machines in the farm will there be?

If everything is stored in memory, how do you handle a power failure at worse, or an OS patch that requires a reboot at best?
 
As an aside? As far as I know the latest current version of .NET is 9.0. Is 10.0 out of preview already?
 
Back
Top Bottom