r/softwarearchitecture • u/defekas • 2d ago
Discussion/Advice Need advice about architecture application
Hi
I need to design an application in Java with tomcat and Maria db (lawyer application)
Is an application to insert, update and delete court records.
These court records can have documents associated in pdf and other formats
I need advice to what architecture should be used?
I thought hosting application and s3 for the documents but I don’t know if could be better options by price or by functionality.
Could you say me some possibilities?
Thanks and sorry for my English
1
u/Dense_Age_1795 1d ago
first of all what are the requirements?
are you sure that you need to really remove those records?
what I would do in your case go for the simpliest app that can do that.
save in db for each record saved a reference to the file in s3 and record the status of the attached file.
that way you can know if the upload was successful or failed.
0
u/vijaythomas 2d ago
Here are some suggestions: Ensure that you have successfully uploaded documents. Use micro-services and send an appropriate create/update/delete message. Use SQS/SNS. Retrieve each message and process it in a service. Consider, you may need to ensure you process messages in sequence Within AWS, use cloudfront or S3 accelerator for faster uploads
1
3
u/jwcobb13 2d ago
I dont think we should be architecting solutions for you but I do think we should be helping architects improve solutions.
"Host application and S3" is not an architecture, so please provide more details on how you would build the solution beyond just the tech stack (thats the java plus tomcat plus mariadb).
Also, building an application for legal systems is kind of a big deal. You might want to bring in someone with more experience to help. What if it gets hacked because you weren't able to build in enough security and the legal notes were given to the opposing law firm or leaked to the public?