Blog | Adrian Gaudebert - Tag - mozillaLe blog d'un ingénieur Web qui travaille pour Mozilla et qui fait des jeux vidéo dans son temps libre.2015-07-20T11:33:27+02:00Adrian Gaudeberturn:md5:9d1ca1cfaddd27f70c5e39a3ee659873DotclearRethinking Socorro's Web Appurn:md5:32e26e5e086a5f81c47c93b3489df9f02015-06-10T17:30:00+02:002015-07-04T14:10:06+02:00AdrianDéveloppementenmozillasocorro <p style="float: right; text-align: center; font-style: italic;">
<img src="http://adrian.gaudebert.fr/blog/public/photos/rewrite-cycle.jpg" alt="rewrite-cycle.jpg" style="margin: 0 0 10px 30px; width: 300px;" title="rewrite-cycle.jpg, juin 2015" /><br>
<small>Credits <a href="https://twitter.com/lxt/">@lxt</a></small>
</p>
<p>I have been thinking a lot about what we could do better with Socorro's webapp in the last months (and even more, the first discussions I had about this with <a href="https://twitter.com/phrawzty">phrawzty</a> date from Spring last year). Recently, in a meeting with <a href="https://twitter.com/lonnen">Lonnen</a> (my manager), I said "<em>this is what I would do if I were to rebuild Socorro's webapp from scratch today</em>". In this post I want to write down what I said and elaborate it, in the hope that it will serve as a starting point for upcoming discussions with my colleagues.</p>
<h1>State of the Art</h1>
<p>First, let's take a look at the current state of the webapp. According to our analytics, there are 5 parts of the app that are heavily consulted, and a bunch of other less used pages. The core features of Socorro's front-end are:</p>
<ul>
<li>The <a href="https://crash-stats.mozilla.com/home/products/Firefox">home page graph</a></li>
<li><a href="https://crash-stats.mozilla.com/topcrasher/products/Firefox/versions/41.0a1?days=7">Top Crashers</a></li>
<li><a href="https://crash-stats.mozilla.com/search/">Super Search</a></li>
<li>The <a href="https://crash-stats.mozilla.com/signature/?product=Firefox&amp;signature=OOM+|+small">signature report</a> page (currently <a href="https://crash-stats.mozilla.com/report/list?product=Firefox&amp;signature=OOM+|+small&amp;version=Firefox%3A38.0.5">report/list/</a>)</li>
<li><a href="https://crash-stats.mozilla.com/report/index/5dab9c0e-5014-4f84-83d6-4b5c32150604">Individual crash report</a> pages</li>
</ul>
<p>Those we know people are looking at a lot. Then there are other pages, like Crashes per User, Top Changers, Explosive Crashes, GC Crashes and so on that are used from "a lot less" to "almost never". And finally there's the <a href="https://crash-stats.mozilla.com/api/">public API</a>, on which we don't have much analytics, but which we know is being used for many different things (for example: <a href="https://spectateur.mozilla.io/">Spectateur</a>, <a href="http://benjamin.smedbergs.us/blog/2015-04-20/using-crash-stats-api-magic/">crash-stats-api-magic</a>, <a href="http://yoric.github.io/are-we-shutting-down-yet-/">Are we shutting down yet?</a>, <a href="http://lqbs.fr/suchcomments/">Such Comments</a>).</p>
<p>The next important thing to take into account is that our users oftentimes ask us for some specific dataset or report. Those are useful at a point in time for a few people, but will soon become useless to anyone. We used to try and build such reports into the webapp (and I suppose the ones from above that are not used anymore fall into that category), but that costs us time to build and time to maintain. And that also means that the report will have to be built by someone from the Socorro team who has time for it, it will go through review and testing, and by the time it hits our production site it might not be so useful anymore. We have all been working on trying to reduce that "time to production", which resulted in the public API and Super Search. And I'm quite sure we can do even better.</p>
<h1>Building Reports</h1>
<p><img src="http://adrian.gaudebert.fr/blog/public/photos/bob-the-builder.jpg" alt="bob-the-builder.jpg" style="float: right; margin: 0 0 1em 1em; width: 200px;" title="bob-the-builder.jpg, juin 2015" /></p>
<p>Every report is, at its core, a query of one or several API endpoints, some logic applied to the data from the API, and a view generated from that data. Some reports require very specific data, asking for dedicated API endpoints, but most of them could be done using either Super Search alone or some combination of it with other API endpoints. So maybe we could facilitate the creation of such reports?</p>
<p>Let us put aside the authentication and ACL features, the API, the admin panel, and a few very specific features of the web app, to focus on the user-facing features. Those can be simply considered as a collection of reports: they all call one or several models, have a controller that does some logic, and then are displayed via a Django template. I think what we want to give our users is a way to easily build their own reports. I would like them to be able to answer their needs as fast as possible, without depending on the Socorro team.</p>
<p>The basic brick of a fresh web app would thus be a report builder. It would be split in 3 parts:</p>
<ul>
<li>the model controls the data that should be fetched from the API;</li>
<li>the controller gets that data and performs logic on it, transforming it to fit the needs of the user;</li>
<li>and the view will take the transformed data and turn it into something pretty, like a table or a graph.</li>
</ul>
<p>Each report could be saved, bookmarked, shared with others, forked, modified, and so on. <a href="http://adrian.gaudebert.fr/blog/post/2015/02/26/spectateur-custom-reports-for-crash-stats">Spectateur</a> is a prototype of such a report builder.</p>
<p>We developers of Socorro would use that report system to build the core features of the app (top crashers, home page graphs, etc. ), maybe with some privileges. And then users will be able to build reports for their own use or to share with teammates. We know that users have different needs depending on what they are working on (someone working on FirefoxOS will not look at the same reports than someone working on Thunderbird), so this would be one step towards allowing them to customize their Socorro.</p>
<h1>One Dashboard to Rule Them All</h1>
<p>So users can build their own reports. Now what if we pushed customization even further? Each report has a view part, and that's what would be of interest to people most of the time. Maybe we could make it easy for a user to quickly see the main reports that are of interest to them? My second proposal would be to build a dashboard system, which would show the views of various reports on a single page.</p>
<p>A dashboard is a collection of reports. It is possible to remove or add new reports to a dashboard, and to move them around. A user can also create several dashboards: for example, one for Firefox Nightly, one for Thunderbird, one for an ongoing investigation... Dashboards only show the view part of a report, with links to inspect it further or modify it.</p>
<p><img src="http://adrian.gaudebert.fr/blog/public/photos/dashboard-example.png" alt="dashboard-example.png" style="margin: 0 auto; display: block;" title="dashboard-example.png, juin 2015" /></p>
<p style="text-align: center; font-style: italic;">An example of what a dashboard could look like.</p>
<h1>Socorro As A Platform</h1>
<p>The overall idea of this new Socorro is to make it a platform where people can find what they want very quickly, personalize their tool, and build whatever feature they need that does not exist yet. I would like it to be a better tool for our users, to help them be even more efficient crash killers.</p>
<p>I can see several advantages to such a platform:</p>
<ul>
<li>time to create new reports is shorter;</li>
<li>people can collaborate on reports;</li>
<li>users can tweak existing reports to better fit their needs;</li>
<li>people can customize the entire app to be focused on what they want;</li>
<li>when you give data to people, they build things that you did not even dream about. I expect that will happen on Socorro, and people will come up with incredibly useful reports.</li>
</ul>
<h1>I Need Feedback</h1>
<p><img src="http://adrian.gaudebert.fr/blog/public/photos/feedback-everywhere.jpg" alt="feedback-everywhere.jpg" style="float: right; margin: 0 0 1em 1em;" title="feedback-everywhere.jpg, juin 2015" /></p>
<p>Concretely, the plan would be to build a brand new app along the existing one. The goal won't be to replace it right away, but instead to build the tools that would then be used to replace what we currently have. We would keep both web apps side by side for a time, continuing to fix bugs in the Django app, but investing all development time in the new app. And we would slowly push users towards the new one, probably by removing features from the Django app once the equivalent is ready.</p>
<p>I would love to discuss this with anyone interested. The upcoming all-hands meeting in Whistler is probably going to be the perfect occasion to have a beer and share opinions, but other options would be fine (email, IRC... ). Let me know what you think!</p>
http://adrian.gaudebert.fr/blog/post/2015/06/10/rethinking-socorro-s-web-app#comment-formhttp://adrian.gaudebert.fr/blog/feed/atom/comments/140Spectateur, custom reports for crash-statsurn:md5:e101cb32f33134ab84e961a09aee2dd02015-02-26T12:00:00+01:002015-02-28T13:24:35+01:00AdrianDéveloppementenmozillasocorro <p>The users of <a href="https://github.com/mozilla/socorro">Socorro</a> at Mozilla, the Stability team, have very specific needs that vary over time. They need specific reports for the data we have, new aggregations or views with some special set of parameters. What we developers of Socorro used to do was to build those reports for them. It's a long process that usually requires adding something to our database's schema, adding a middleware endpoint and creating a new page in our webapp. All those steps take a long time, and sometimes we understand the needs incorrectly, so it takes even longer. Not the best way to invest our time.</p>
<p>Nowadays, we have <a href="https://crash-stats.mozilla.com/search/">Super Search</a>, a flexible interface to our data, that allows users to do a lot of those specific things they need. As it is highly configurable, it's easy to keep the pace of new additions to the crash reports and to evolve the capabilities of this tool. Couple that with our <a href="https://crash-stats.mozilla.com/api/">public API</a> and we can say that our users have pretty good tools to solve most of their problems. If Super Search's UI is not good enough, they can write a script that they run locally, hitting our API, and they can do pretty much anything we can do.</p>
<p>But that still has problems. Local scripts are not ideal: it's inconvenient to share them or to expose their results, it's hard to work on them collaboratively, it requires working on some rendering and querying the API where one could just focus on processing the data, and it doesn't integrate with our Web site. I think we can do better. And to demonstrate that, I built a prototype. Introducing...</p>
<h2 style="text-align: center;"><a href="https://spectateur.mozilla.io/">Spectateur</a></h2>
<p><img src="http://adrian.gaudebert.fr/blog/public/icones-billets/spectateur.jpg" alt="spectateur.jpg" style="float: right; margin: 0 0 1em 1em;" title="Spectateur is one of the French translations of Beholder" />
<a href="https://github.com/AdrianGaudebert/spectateur">Spectateur</a> is a service that takes care of querying the API and rendering the data for you. All you need to do is work on the data, make it what you want it to be, and share your custom report with the rest of the world. It uses a language commonly known, JavaScript, so that most people (at least at Mozilla) can understand and hack what you have done. It lets you easily save your report and gives you a URL to bookmark and to share. And that's about it, because it's just a prototype, but it's still pretty cool, isn't it?</p>
<p>To explain it a little more: Spectateur contains three parts. The <em>Model</em> lets you choose what data you want. It uses Super Search and gives you about the same capabilities that Socorro's UI has. Once you have set your filters and chosen the aggregations you need, we move to the <em>Controller</em>. That's a simple JavaScript editor (using <a href="http://ace.c9.io/">Ace</a>) and you can type almost anything in there. Just keep the function <code>transform</code>, the callback and the last lines that set the interface, otherwise it won't work at all. There are also some limitations for security: the code is executed in a Web Worker in an iframe, so you have no access to the main page's scope. Network requests are blocked, among other things. I'm using a wonderful library called <a href="https://github.com/asvd/jailed">jailed</a>, if you want to know more, please read its documentation.</p>
<p>Once you are done writing your controller, and you have exposed your data, you can click the Run button to create the <em>View</em>. It will fetch the data, run your processor on that data and then render the results following the rules you have exposed. The data can currently be displayed as a table (using <a href="http://js-grid.com/">jsGrid</a>) or as a chart (using <a href="http://www.chartjs.org/">Chart.js</a>). For details, please read the documentation of <a href="https://spectateur.mozilla.io/">Spectateur</a> (there's a link at the top). When you are satisfied with your custom report, click the button Save. That will save the Model and the Controller and give you a URL (by updating the URL bar). Come back to that URL to reload your report. Note that if you make a change to your report and click Save again, a new URL will be generated, the previous report won't be overwritten.</p>
<p>As an example, here is a report that shows, for our B2G product, a graph of the top versions, a chart of the top signatures and a list of crash reports, all of that based on data from the last 7 days: <a href="https://spectateur.mozilla.io/#58a036ec-c5bf-469a-9b23-d0431b67f436">https://spectateur.mozilla.io/#58a036ec-c5bf-469a-9b23-d0431b67f436</a></p>
<p>I hope this tool will be useful to our users. As usual, if you have comments, feedback, criticisms, if you feel this is a waste of time and we should not invest any more time in it, or on the contrary you think this is what you needed this whole time, please please please let us know!</p>
http://adrian.gaudebert.fr/blog/post/2015/02/26/spectateur-custom-reports-for-crash-stats#comment-formhttp://adrian.gaudebert.fr/blog/feed/atom/comments/137Socorro: the Super Search Fields guideurn:md5:deaa905300eb85aa0397ff4159e3e1662014-12-02T05:27:00+01:002014-12-07T01:58:13+01:00AdrianDéveloppementenmozillasocorro <p><a href="https://github.com/mozilla/socorro" title="Socorro source code on github">Socorro</a> has a master list of fields, called the Super Search Fields, that controls several parts of the application: <a href="https://crash-stats.mozilla.com/search/">Super Search</a> and its derivatives (<a href="https://crash-stats.mozilla.com/signature/?signature=OOM+|+small">Signature report</a>, <a href="https://crash-stats.mozilla.com/your-crashes/">Your crash reports</a>... ), available columns in <a href="https://crash-stats.mozilla.com/report/list?signature=OOM+|+small#tab-reports">report/list/</a>, and exposed fields in the <a href="https://crash-stats.mozilla.com/api/">public API</a>. Fields contained in that list are known to the application, and have a set of attributes that define the behavior of the app regarding each of those fields. An explanation of those attributes can be found in <a href="http://socorro.readthedocs.org/en/latest/development/elasticsearch.html#master-list-of-fields" title="Master list of fields">our documentation</a>.</p>
<p>In this guide, I will show you how to use the administration tool we built to manage that list.</p>
<p><strong>You need to be a superuser to be able to use this administration tool.</strong></p>
<h2>Understanding the effects of this list</h2>
<p>It is important to fully understand the effects of adding, removing or editing a field in this Super Search Fields tool.</p>
<p>A field needs to have a unique <code>Name</code>, and a unique combination of <code>Namespace</code> and <code>Name in database</code>. Those are the only mandatory values for a field. Thus, if a field does not define any other attribute and keeps their default values, it won't have any impact in the application -- it will merely be "known", that's all.</p>
<p>Now, here are the important attributes and their effects:</p>
<ul>
<li><code>Is exposed</code> - if this value is checked, the field will be accessible in Super Search as a filter.</li>
<li><code>Is returned</code> - if this value is checked, the field will be accessible in Super Search as a facet / aggregation. It will also be available as a column in Super Search and report/list/, and it will be returned in the public API.</li>
<li><code>Permissions needed</code> - permissions listed in this attribute will be required for a user to be able to use or see this field.</li>
<li><code>Storage mapping</code> - this value will be used when creating the mapping to use in Elasticsearch. It changes the way the field is stored. You can use this value to define some special rules for a field, for example if it needs a specific analyzer. This is a sensitive attribute, if you don't know what to do with it, leave it empty and Elasticsearch will guess what the best mapping is for that field.</li>
</ul>
<p>It is, as always, a rule of thumb to apply changes to the dev/staging environments before doing so in production. And to my Mozilla colleagues: <strong>this is mandatory</strong>! Please always apply any change to stage first, verify it works as you want (using Super Search for example), then apply it to production and verify there.</p>
<h2>Getting there</h2>
<p>To get to the Super Search Fields admin tool, you first need to be logged in as a superuser. Once that's done, you will see a link to the administration in the bottom-right corner of the page.</p>
<p style="text-align: center"><a href="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/guide-super-search-fields-1.png"><img src="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/.guide-super-search-fields-1_m.png" alt="Fig 1 - Admin link" title="" /></a></p>
<p>Clicking that link will get you to the admin home page, where you will find a link to the Super Search Fields page.</p>
<p style="text-align: center"><a href="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/guide-super-search-fields-2.png"><img src="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/.guide-super-search-fields-2_m.png" alt="Fig 2 - Admin home page" title="" /></a></p>
<p>The Super Search Fields page lists all the currently known fields with their attributes.</p>
<p style="text-align: center"><a href="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/guide-super-search-fields-3.png"><img src="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/.guide-super-search-fields-3_m.png" alt="Fig 3 - Super Search Fields page" title="" /></a></p>
<h2>Adding a new field</h2>
<p>On the Super Search Fields page, click the <code>Create a new field</code> link in the top-right corner. That leads you to a form.</p>
<p style="text-align: center"><a href="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/guide-super-search-fields-4.png"><img src="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/.guide-super-search-fields-4_m.png" alt="Fig 4 - New field button" title="" /></a></p>
<p>Fill all the inputs with the values you need. Note that <code>Name</code> is a unique identifier to this field, but also the name that will be displayed in Super Search. It doesn't have to be the same as <code>Name in database</code>. The current convention is to use the database name but in lower case and with underscores. So for example if your field is named <code>DOMIPCEnabled</code> in the database, we would make the <code>Name</code> something like <code>dom_ipc_enabled</code>.</p>
<p>Use the documentation about our attributes to understand how to fill that form.</p>
<p style="text-align: center"><a href="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/guide-super-search-fields-5.png"><img src="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/.guide-super-search-fields-5_m.png" alt="Fig 5 - Example data for the new field form" title="" /></a></p>
<p>Clicking the <code>Create</code> button might take some time, especially if you filled the <code>Storage mapping</code> attribute. If you did, in the back-end the application will perform a few things to very that this change does not break Elasticsearch indexing. If you get redirected to the Super Search Fields page, that means the operation was successful. Otherwise, an error will be displayed and you will need to press the Back button of your browser and fix the form data.</p>
<p>Note that cache is refreshed whenever you make a change to the list, so you can verify your changes right away by looking at the list.</p>
<h2>Editing a field</h2>
<p>Find the field you want to edit in the Super Search Fields list, and click the edit icon to the right of that field's row. That will lead you to a form much like the New field one, but prefilled with the current attributes' values of that field. Make the appropriate changes you need, and press the <code>Update</code> button. What applies to the New field form does apply here as well (mapping checks, cache refreshing, etc. ).</p>
<p style="text-align: center"><a href="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/guide-super-search-fields-6.png"><img src="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/.guide-super-search-fields-6_m.png" alt="Fig 6 - The edit icon" title="" /></a></p>
<h2>Deleting a field</h2>
<p>Find the field you want to edit in the Super Search Fields list, and click the delete icon to the right of that field's row. You will be prompted to confirm your intention. If you are sure about what you're doing, then confirm and you will be done.</p>
<p style="text-align: center"><a href="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/guide-super-search-fields-7.png"><img src="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/.guide-super-search-fields-7_m.png" alt="Fig 7 - The delete icon" title="" /></a></p>
<h2>The missing fields tool</h2>
<p>We have a tool that looks at all the fields known by Elasticsearch (meaning that Elasticsearch has received at least one document containing that field) and all the fields known in the Super Search Fields, and shows a diff of those. It is a good way to see if you did not forget some key fields that you could use in the app.</p>
<p>To access that list, click the <code>See the list of missing fields</code> link just above the Super Search Fields list.</p>
<p style="text-align: center"><a href="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/guide-super-search-fields-8.png"><img src="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/.guide-super-search-fields-8_m.png" alt="Fig 8 - The missing fields link" title="" /></a></p>
<p>The list of missing fields provides a direct link to create the field for each row. It will take you to the New field form with some prefilled values.</p>
<p style="text-align: center"><a href="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/guide-super-search-fields-9.png"><img src="http://adrian.gaudebert.fr/blog/public/guides/guide-super-search-fields/.guide-super-search-fields-9_m.png" alt="Fig 9 - Missing fields page" title="" /></a></p>
<h2>Conclusion</h2>
<p>I think I have covered it all. If not, let me know and I'll adjust this guide. Same goes if you think some things are unclear or poorly explained.</p>
<p>If you find bugs in this Super Search Fields tool, please use Bugzilla to report them. And remember, <a href="https://github.com/mozilla/socorro" title="Socorro source code on github">Socorro is free / "libre" software</a>, so you can also go ahead and fix the bugs yourself! :-)</p>http://adrian.gaudebert.fr/blog/post/2014/12/02/socorro-super-search-fields-guide#comment-formhttp://adrian.gaudebert.fr/blog/feed/atom/comments/134About Socorrourn:md5:792b44b0d39cbc162964a0f734ecfc452014-07-01T16:00:00+02:002014-07-01T16:25:59+02:00AdrianDéveloppementenmozillasocorro <p>I have been working on Socorro for about 3 years now. It was about time that I started talking about it on this blog! With this first post, I am inaugurating 2 new tags, <a href="http://adrian.gaudebert.fr/blog/feed/tag/socorro/atom">socorro</a> and <a href="http://adrian.gaudebert.fr/blog/feed/tag/mozilla/atom">mozilla</a>. I'm also going to add a language tag to my posts, so each new post will either be <a href="http://adrian.gaudebert.fr/blog/feed/tag/en/atom">en</a> or <a href="http://adrian.gaudebert.fr/blog/feed/tag/fr/atom">fr</a>. This way, you can choose more accurately what kind of content you want to read from this blog. The previous links on the tags lead to the filtered Atom feeds, and I will add the mozilla feed to the <a href="http://planet.mozilla.org/" hreflang="en">Planet</a>.</p>
<h2>So, what is Socorro?</h2>
<ol>
<li><a href="http://en.wikipedia.org/wiki/Socorro_%28Star_Wars%29#Socorro" hreflang="en">a planet in the Star Wars universe</a></li>
<li><a href="http://en.wikipedia.org/wiki/Socorro,_S%C3%A3o_Paulo" hreflang="en">a city in Brazil</a></li>
<li><a href="http://en.wikipedia.org/wiki/Socorro_Island" hreflang="en">an island in Mexico</a></li>
<li><a href="http://socorro.readthedocs.org/" hreflang="en">a server to process breakpad crash reports</a></li>
</ol>
<p>
<img src="http://th05.deviantart.net/fs70/200H/f/2012/141/3/8/firefox_crash_by_domoraptor-d50lv79.jpg" alt="" style="float: right; margin-left: 20px;" />
All of those are true, but as you guessed (I hope! ) we will only consider the last option. So basically, Socorro is a software that collects, processes and stores crash reports generated by <a href="https://code.google.com/p/google-breakpad/" hreflang="en">breakpad</a>. We use breakpad in our desktop software such as Firefox, Firefox for Android, Thunderbird and FirefoxOS. We then have a Web interface that shows information about the stability our those software, and we call it <a href="https://crash-stats.mozilla.com/" hreflang="en">crash-stats</a>. As usual with Mozilla, most of the information on this site is public, the only exceptions being sensitive data like email addresses, URLs, etc.</p>
<p>Most of Socorro's code base in written in Python. The back-end is raw Python based on a tool called <a href="https://github.com/mozilla/configman/" hreflang="en">configman</a>, developed by my colleagues Lars and Peter, that handles the configuration and is used as a dependency injection system. It allows Socorro to be very modular, and to add or remove components easily without changing any code. We use 3 different databases: </p>
<ol>
<li><a href="https://hbase.apache.org/" hreflang="en">HBase</a> is the primary storage and is there for data consistency (it contains all the data we receive and process and must never lose data)</li>
<li><a href="http://www.postgresql.org/" hreflang="en">PostgreSQL</a> is used as the main source of data for the UI (it contains all the processed data and has a lot of materialized views with various computed information)</li>
<li><a href="http://www.elasticsearch.org/" hreflang="en">elasticsearch</a> is used as the secondary source of data for the UI, mainly for everything related to search. This is what I have been mainly working on.</li>
</ol>
<p>The Web app is based on <a href="https://github.com/mozilla/playdoh" hreflang="en">Playdoh</a>, Mozilla's customized django framework. We have more and more javascript, mostly using jQuery, but it's a bit chaotic at the moment.</p>
<h2>Interested in contributing?</h2>
<p>If Socorro sounds like a good project to you and you would like to participate, we would be very happy to hear about you! There are a few places where you can start:</p>
<ul>
<li><a href="https://wiki.mozilla.org/Webdev/GetInvolved/crash-stats.mozilla.org" hreflang="en">the Get Involved page in our Mozilla wiki</a></li>
<li><a href="https://github.com/mozilla/socorro" hreflang="en">Socorro's repository on github</a></li>
<li><a href="https://lists.mozilla.org/listinfo/tools-socorro" hreflang="en">the mailing list for Socorro developers and users</a></li>
</ul>
<p>You can also join us in <a href="https://wiki.mozilla.org/IRC" hreflang="en">Mozilla's IRC server</a>, channel #breakpad. There are a good variety of bugs to fix on Socorro, from pure front-end work to complex back-end Python problems. And if Socorro is not your thing but you still want to help Mozilla fulfill its mission, you can take a look at <a href="http://www.whatcanidoformozilla.org/" hreflang="en">whatcanidoformozilla.org</a>!</p>http://adrian.gaudebert.fr/blog/post/2014/07/01/about-socorro#comment-formhttp://adrian.gaudebert.fr/blog/feed/atom/comments/131