Development Required Approvals
Overview
There are specific scenarios we are identifying that will require additional approval before moving forward. At GitLab we value freedom and responsibility over rigidity, however in the examples requiring approval section below we outline which decisions will need to go through the approval process before proceeding.
Approval Process
Each section requiring approvals will have a considerations section. If you answered yes to all of the questions in the considerations section, then you will need to get approval for your proposal before proceeding with implementation. Steps for the approval process:
- Submit an issue with your design proposals
- Make the issue visible to the CEO - Sid Sijbrandij and all Fellow Engineers: Stan Hu, Dmitriy ‘DZ’ Zaporozhets and Gerir Lopez Fernandez.
- Label with ~“CEO Interest”
- You will need to gain approval from the CEO and one Fellow Engineer
- Use the issue created in the first step to coordinate how to gain approval
Examples Requiring Approval
Proposing a separate database
As we’ve learned from our discussions around defining the container registry database schema there are times when it makes sense to separate the data out into its own database. The following sections will describe what data points you should consider and how you would move forward in gaining approval to create a separate database.
Considerations
- Was the feature written in a completely separate code base? Again, using the Container Registry example, this was written in Go and is separate from the main GitLab Rails application.
- Only do a separate database when it has a completely separate codebase, and that is the only codebase querying the data. For example, Analytics Instrumentation isn’t fit for it since the Rails codebase touches it.
- Will the feature incur a heavy write load? Writes are harder to scale than reads who can be scaled with replicas.
- Will the feature not need any access to the main Rails database? Example, the data is completely isolated from the main Rails database and will not need to share data across databases.
- Are there existing APIs that we need to support? For example, the container registry has a full set of APIs (https://docs.docker.com/registry/spec/api/) that we already use in the existing GitLab Rails application to retrieve tags, etc.
Proposing the creation of microservices
The trouble with microservices is not a new topic to GitLab. With our company strategy of a Flywheel with two turbos we default to delivering GitLab as a single application. However, we are not opposed to adopting the right architecture to solve our problems at scale, in this case microservices. When submitting your proposal for the creation of microservices for approval please be sure to include the following considerations.
Considerations
- Given that our direction indicates we are Saas First how will this change improve our SaaS first offering?
- How can these improvements be measured going forward?
- How will this impact our self-managed customers?
- Can this problem be solved in our current monolithic environment?
- Are the ongoing deployment considerations listed in your proposal?
c16c2006
)