Dev mode
09/07/2025
When your project hits that wall where you need the collective wisdom of the dev community...
Day 3 of rebuilding our asset management system and I've hit a complexity that's making me question my database design choices.
I'm building a system where every single asset (laptops, pens, chairs, you name it) needs to track:
âś…Origin tracking - Which warehouse/floor/room/shelf it came from
âś… Complete movement history - Immutable trail of every location change
✅ Real-time state management - Available → Assigned → In Transit → Returned
âś… Precise return location - Not just "returned" but "returned to Warehouse A, Floor 2, Shelf 3B"
âś… Concurrent user handling - Multiple people requesting/transferring the same asset
The heart of it: maintaining real-time, bi-directional accuracy across multiple storage sites and users.
At any moment, I need to answer:
- Where is laptop #12345 right now?
- Where did it originally come from?
- Who has had it and when?
# # Where I'm Stuck 🤔
Database design questions:
- How do I model the hierarchical storage locations efficiently?
- Should movement history be event-sourced or snapshot-based?
- How do I handle concurrent state transitions without race conditions?
- What's the best way to enforce "valid location" rules?
But I feel like I'm missing something fundamental...
Have you built similar asset tracking systems?
What patterns/architectures worked best for you? Any specific gotchas I should watch out for?
I'm particularly interested in hearing from folks who've handled:
- Multi-location inventory systems
- Real-time state synchronization
- Audit trail requirements
- Concurrent user management
Sometimes the best solutions come from the community. Drop your insights below - I'm all ears!
Cliquez ici pour réclamer votre Listage Commercial.
Contacter l'école
Téléphone
Site Web
Adresse
Yaoundé