Veecks
Veecks
RRailway
Created by Veecks on 7/30/2024 in #✋|help
Newbie question: Is there a way to interact with a railway service container?
i see, thanks
10 replies
RRailway
Created by Veecks on 7/30/2024 in #✋|help
Newbie question: Is there a way to interact with a railway service container?
I was thinking if there is something like the "docker exec <command>"
10 replies
RRailway
Created by Veecks on 7/30/2024 in #✋|help
Newbie question: Is there a way to interact with a railway service container?
oh, i use sqlite for small projects, so no db server
10 replies
RRailway
Created by Veecks on 7/30/2024 in #✋|help
Newbie question: Is there a way to interact with a railway service container?
N/A
10 replies
RRailway
Created by Veecks on 7/21/2024 in #✋|help
Railway deploy for microservice architecture
I think that finishes this topic
43 replies
RRailway
Created by Veecks on 7/21/2024 in #✋|help
Railway deploy for microservice architecture
I see, thank u
43 replies
RRailway
Created by Veecks on 7/21/2024 in #✋|help
Railway deploy for microservice architecture
one more question tho. You think that one DB per company would still be efficient?
43 replies
RRailway
Created by Veecks on 7/21/2024 in #✋|help
Railway deploy for microservice architecture
i see, thank Brody, i think i am more inclined to your approach now
43 replies
RRailway
Created by Veecks on 7/21/2024 in #✋|help
Railway deploy for microservice architecture
Do you think i am neglecting the costs a single-tenant architecture?
43 replies
RRailway
Created by Veecks on 7/21/2024 in #✋|help
Railway deploy for microservice architecture
Models for a single multi-tenant: Company: #id, name, ...other company info... User: #id, name, password, company, user_type Appointment: #id, datatime, employee, costumer Services: AdminPanel: see, edit or delete apointments from costumers AppointmentManager: allow costumers to create or cancel appointments So far so simple, but what if a company actually wants appointments to be notified via email everytime they are made? Then i would need to handle which companies have access to this feature, then i would need to check what is the company configuration, adding more complexity for its model and the necessity of a new email_notifier service.
43 replies
RRailway
Created by Veecks on 7/21/2024 in #✋|help
Railway deploy for microservice architecture
Think about an app that offers companies a way for its costumers to create appointments with its employees
43 replies
RRailway
Created by Veecks on 7/21/2024 in #✋|help
Railway deploy for microservice architecture
For a single multi-tenant app, i d have to handle 3 types of user: Company, CompanyEmployee, CompanyUser I see your concerns about it. For each service in this single multi-tenant app, i'd have to handle wich user type i am dealing with and where it belongs. After defining this, i would have to handle if the permission, this would involve: - is the route for employees? - is the route for comapny costumers? - does the company have access to this feature? This not only makes the data models more complex but also the distribution of responsabilities between the services kinda odd i think.
43 replies
RRailway
Created by Veecks on 7/21/2024 in #✋|help
Railway deploy for microservice architecture
so... ManagerApp: a few dozen users, each user with its own isolated productapp, isolated db, etc Each ProductApp: MultiUsers, couple hundred per app maybe? Every user share the same db
43 replies
RRailway
Created by Veecks on 7/21/2024 in #✋|help
Railway deploy for microservice architecture
but there are various productapps that have been sold to companies, each with its own db and resources, as in singletenant architecture
43 replies
RRailway
Created by Veecks on 7/21/2024 in #✋|help
Railway deploy for microservice architecture
the costumers would all share the same database, as in multitenant archtecture
43 replies
RRailway
Created by Veecks on 7/21/2024 in #✋|help
Railway deploy for microservice architecture
The productapp if for an enterprise right? the enterprise would be the owner of the app and have it configured for its needs, so its costumers can use it, you see?
43 replies
RRailway
Created by Veecks on 7/21/2024 in #✋|help
Railway deploy for microservice architecture
okay i see
43 replies
RRailway
Created by Veecks on 7/21/2024 in #✋|help
Railway deploy for microservice architecture
can you explain me why? maybe i am just struggling with concepts
43 replies
RRailway
Created by Veecks on 7/21/2024 in #✋|help
Railway deploy for microservice architecture
yep
43 replies
RRailway
Created by Veecks on 7/21/2024 in #✋|help
Railway deploy for microservice architecture
Also, let me point out that it can be kinda of achieved with the private templates you mentioned with a lot more manual work, so its not a big deal right now, i am just thinking ahead
43 replies