171 karma · joined Dec 2, 2011 (14y ago) · 49 submissions
comment 8y ago · link · parent
Andrew from the Infrastructure team at GitLab here: non-team members are welcome to use our canary service, provided they understand that service may at times we downgraded (they can always switch back to production when this happens).
Details of how to toggle the canary environment can be found in our handbook: https://about.gitlab.com/handbook/engineering/#canary-testin...
2.
Moving from Azure to Google Cloud Platform(about.gitlab.com ↗)
80 points · by suprememoocow · 8y ago · 40 comments
comment 9y ago · link · parent
We hope to make improvements in this area soon. Hopefully you'll notice them!
comment 9y ago · link · parent
https://gitlab.com/gitlab-org/gitaly/
We're hoping to complete this by the end of the year. Once it's done, we'll be able to end our reliance on NFS, which should greatly improve performance and uptime on GitLab.com and other large GitLab instances. In fact, we're already seeing some big performance payoffs as we bring services online.
> Please please don't get complacent. Not yet.
I can confirm that this is not the case. We're focused and working really hard to improve performance and we're also working hard to improve our metrics, so that we can target optimizations where we can gain greatest benefit.
It's also worth pointing out that routinely experiencing 5+ second render times on browsing a repo homepage is outside our 99th percentile latencies for that route. I'd be interesting in digging into it further. Would you mind creating an issue in https://gitlab.com/gitlab-org/gitaly/issues/new (mark it as confidential if you wish) and ping me `@andrewn`.
comment 9y ago · link · parent
https://gitter.im/gitterHQ/gitter/archives/all https://gitter.im/gitterHQ/gitter/archives/2017/06/14
I agree that chat isn't as digestible as SO, but it is definitely archived.
comment 9y ago · link · parent
https://gitlab.com/gitlab-org/gitter/webapp/blob/feature/mon...
Going forward, I agree that we could offer a more production-like docker-compose setup and/or Kubernetes Helm Charts.
comment 9y ago · link · parent
> If the application crashes everyone would be kicked out of the channels anyway no
No, Gitter's room membership is persistent (between restarts, crashes and sessions)
1: https://gitlab.com/gitlab-org/gitter/webapp/blob/master/scri...
comment 9y ago · link · parent
So, if you're in room A and room B, and most people in those two rooms are also in room C, then we suggest that you join room C.
As I mentioned elsewhere, we also use some non-neo4j based methods for suggestions (including your GitHub graph). One of the problems we've had with neo4j is that we haven't been able to make it scale. It frequently burns up from being overloaded.
This is almost certainly down to the way we use neo4j but at some point I'd like to ditch it for a clustered suggestion algo that uses batch processes to cluster rooms together.
comment 9y ago · link · parent
Beware though, it's pretty slow right now.
It might be quicker to just look at a screenshot of it instead http://imgur.com/a/qBGVf
For reference:
JavaScript 86.45 %
CSS 6.79 %
HTML 4.79 %
Shell 1.07 %
Lua 0.82 %
Makefile 0.05 %
Groovy 0.03 %
Python 0.01 %comment 9y ago · link · parent
Unfortunately our neo4j setup as it stands really doesn't scale. At an application-level we're built error-handling to gracefully handle the frequent outages we experience running it.
These are probably our fault, rather than a failing in the product, but I've wanted to replace the current neo4j-based suggestion algo with a new one that uses batching/clustering for a while. As soon as I get a chance, I would like to remove the dependency we have on neo4j.
comment 9y ago · link · parent
We use ansible for provisioning beta/staging and production. We have yet to open source the ansible repository but, since we're switching to GitLab CI/CD, the deployment process will soon be publicly accessible - even for production.
1: https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1... so that
comment 9y ago · link · parent
Removing secrets was a lot of work - more than I expected - while we open-sourced the product.
I agree with your sentiment though. Handling secrets in a codebase is not something that it currently easy or standardised.
As an aside, BFG Repo Cleaner really helped a lot with cleaning things up: https://rtyley.github.io/bfg-repo-cleaner/
comment 9y ago · link · parent
Gitter is not intended to be a replacement for Mattermost, Slack or other team collaboration tools. We see Gitter as a community instead.
As such, we're not expecting to see a huge uptake of on-site installations, so the list of required services (es, neo etc) is big compared to other products focused on on-prem.
We're hoping that our users will contribute to the main site, Gitter.im.
Obviously, we're also totally happy with users running their own Gitter installations but, while we would like it to be easy, ease-of-installation of a production instance is not a goal currently.
comment 9y ago · link · parent
It's definitely true that the product focus on Gitter has always been more on public rooms. That's because the focus of our company has always been on the network of public communities, rather than enterprise features, which we feel are well represented in the market by other great products like Slack, Mattermost, etc.
(Background: I'm CTO/Cofounder at Gitter)
comment 9y ago · link · parent
(edit: typo)
comment 9y ago · link · parent
More details can be found on the developer site: https://developer.gitter.im/docs/faye-endpoint
We also have an open-source IRC bridge: https://github.com/gitterHQ/irc-bridge
comment 11y ago · link · parent
* kerberos, unused (dependency of mongodb)
* protobuf, for serializing data
* snappy, for compression
kerberos isn't actually used in our app, so it doesn't matter, but we send a lot of data through protobuf and snappy, so it may be worth us profiling this a little more.
comment 12y ago · link · parent
In fact, Gitter uses Pavan's excellent Octonode library (https://github.com/pksunkara/octonode) for all it's communications with Github.
comment 12y ago · link · parent
And we completely understand. We're waiting on Github to update their OAuth scopes, and we understand that they're working on it.
If you're not comfortable with the OAuth permissions Gitter requires, you could try Gitter's sister product, Troupe https://trou.pe. It's got most of the same features, but with less Github integration and no markdown or syntax highlighting.
comment 12y ago · link · parent
If you're not comfortable with the OAuth permissions Gitter requires, you're welcome to try it's sister product, Troupe https://trou.pe. It's got most of the same features, but with less Github integration.