<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Zhuojie Zhou on Medium]]></title>
        <description><![CDATA[Stories by Zhuojie Zhou on Medium]]></description>
        <link>https://medium.com/@zhouzhuojie?source=rss-659c3ec5fba6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*N2wW4nS9Gi5UTzJHei18jw.jpeg</url>
            <title>Stories by Zhuojie Zhou on Medium</title>
            <link>https://medium.com/@zhouzhuojie?source=rss-659c3ec5fba6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 07:11:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zhouzhuojie/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Introducing Checkr’s Integration testing workflow and OpenMock]]></title>
            <link>https://medium.com/checkr/introducing-checkrs-integration-testing-workflow-and-openmock-572c64209891?source=rss-659c3ec5fba6------2</link>
            <guid isPermaLink="false">https://medium.com/p/572c64209891</guid>
            <category><![CDATA[continuous-integration]]></category>
            <category><![CDATA[mock]]></category>
            <category><![CDATA[integration-testing]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[mocking]]></category>
            <dc:creator><![CDATA[Zhuojie Zhou]]></dc:creator>
            <pubDate>Tue, 09 Oct 2018 17:36:57 GMT</pubDate>
            <atom:updated>2021-10-27T21:00:52.999Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>“…good (and *fast*) integration testing (both local and remote) as well as good instrumentation often serve better than striving to achieve 100% unit test coverage.” — <a href="https://twitter.com/copyconstruct/status/932406472444592128?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E932406472444592128%7Ctwgr%5E373939313b636f6e74726f6c&amp;ref_url=https%3A%2F%2Fmedium.com%2Fmedia%2F97607dac1719c526e49921b1e671a5e6%3FpostId%3D9bb31d158c16">Cindy Sridharan</a></blockquote><p>Who doesn’t like integration tests?</p><p>In the world of microservices, teams at Checkr are developing increasingly complex systems that unit tests alone cannot reliably cover. For example, we have many <a href="https://medium.com/checkr/doubling-our-volume-while-increasing-reliability-checkrs-state-machine-83a8fd042a43">state-machine events</a> that go between the RabbitMQ and Kafka channels, and it’s an anti-pattern to write unit tests for the whole report lifecycle. To meet these challenges at Checkr, we developed a new integration testing workflow and our open source project OpenMock.</p><h3>Integration Test Workflow</h3><p>We divided our integration tests into the following steps.</p><ul><li><strong><em>Setup remote Docker engine</em></strong>. All the integration tests run in the Docker container on <a href="https://circleci.com/blog/introducing-workflows-on-circleci-2-0/">CircleCI</a>. The <a href="https://circleci.com/docs/2.0/building-docker-images/">remote Docker engine</a> is a great feature that enables us to run any Docker command and even docker-compose inside the container.</li><li><strong><em>Setup infra</em></strong>. This step spins all the infrastructures, e.g. MySQL, Kafka, RabbitMQ, MongoDB, Redis, and etc. For simplicity, we created a <em>docker-compose.yml</em> file for all infra dependencies.</li><li><strong><em>Setup services</em></strong>. Web servers, Kafka consumers and RabbitMQ workers are then created to serve as the components of a service.</li><li><strong><em>Setup mocks</em></strong>. In order to close the loop of a request lifecycle, we need to mock some dependencies. We use <a href="https://github.com/checkr/openmock">OpenMock</a> to simplify this step.</li><li><strong><em>Run tests</em></strong>. We run a small set of tests to assert what we expect from the APIs.</li></ul><p>Here’s the workflow, which runs in parallel with unit tests on every pull request:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ae6a3fc078ffe1732a00b4f89313cdec/href">https://medium.com/media/ae6a3fc078ffe1732a00b4f89313cdec/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/0*NvBTOpA3Hs_bVnNb" /><figcaption>Integration tests on CircleCI</figcaption></figure><p>We quickly discovered that we shouldn’t test too many things in integration tests. As Martin Fowler points out:</p><blockquote>“If your only integration tests are broad ones, you should consider exploring the narrow style, as it’s likely to significantly improve your testing speed, ease of use, and resiliency. Since narrow integration tests are limited in scope, they often run very fast, so can run in early stages of a <a href="https://martinfowler.com/bliki/DeploymentPipeline.html">DeploymentPipeline</a>, providing faster feedback should they go red.” — Martin Fowler <a href="https://martinfowler.com/bliki/IntegrationTest.html">IntegrationTest</a></blockquote><p>We picked the “<em>narrow style” </em>and mocked the interfaces rather than spinning up the direct dependencies. It enabled us to move fast with a limited scope at the beginning and then expand the scope by replacing mocks with other real services.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-Cxas162SfSfo1SWlJHZ_Q.png" /><figcaption>The mocks (blue area) and the scope of integration tests (white inner circle)</figcaption></figure><p>Setting up mocks is the most challenging step. For a complex microservices system with internal and external dependencies, making mocks of a service is tedious and error-prone. One has to understand the implementation details, learn all the interfaces, and write repetitive if/else code to handle different inputs for different channels.</p><p>What we want is a tool that painlessly mocks a microservice’s contract via multiple channels. Current libraries (e.g. MockServer, mountebank, Flashback) are mainly focusing on HTTP protocols; other channels like Kafka or AMQP, and the behaviors of a microservice like sending webhooks are not supported. To ease the effort, we created our solution: OpenMock.</p><h3><a href="https://github.com/checkr/openmock">OpenMock</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ulr9JNmjl_RTDQIvilhFpA.png" /><figcaption>OpenMock Github Page</figcaption></figure><ul><li>OpenMock supports multiple channels. For example, a service can interact with other services via HTTP, Kafka, or AMQP.</li><li>OpenMock has a simple and unified DSL, which is straightforward to learn and flexible to extend.</li><li>OpenMock has minimum memory footprint (&lt;5MB thanks to Go). We can deploy OpenMock as a dedicated service or include it in docker-compose.</li></ul><p>The following are some examples of the DSL. For more details, please visit <a href="https://github.com/checkr/openmock">https://github.com/checkr/openmock</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2pvlWuweZ2qamYpPZEqYjg.png" /><figcaption>HTTP /ping example</figcaption></figure><pre>- key: ping<br>  expect:<br>    http:<br>      method: GET<br>      path: /ping<br>  actions:<br>    - reply_http:<br>        status_code: 200</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E5yK53UFUUEeDf5uXsvHeQ.png" /><figcaption>HTTP headers token example</figcaption></figure><pre>- key: header-token<br>  expect:<br>    condition: &#39;{{.HTTPHeader.Get &quot;X-Token&quot; | eq &quot;1234&quot;}}&#39;<br>    http:<br>      method: GET<br>      path: /token<br>  actions:<br>    - sleep:<br>        duration: 1s<br>    - reply_http:<br>        status_code: 200</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cBcCxBwlvH-2-7TvnwiEYQ.png" /><figcaption>Kafka to AMQP (e.g. RabbitMQ).</figcaption></figure><pre>- key: star_wars<br>  expect:<br>    condition: &#39;{{.KafkaPayload | jsonPath &quot;name&quot; | eq &quot;death star&quot;}}&#39;<br>    kafka:<br>      topic: star-wars<br>  actions:<br>    - publish_amqp:<br>        exchange: default<br>        routing_key: k1<br>        payload: &quot;attack&quot;</pre><h3>Learnings and future work</h3><p>The integration tests and the OpenMock project are experiments that worked for us. It has been rolled out to the monolith and other critical microservices. At Checkr, we’re able to end-to-end test a set of <a href="https://docs.checkr.com/">Checkr APIs</a>, including candidates creation, records matching, <a href="https://engineering.checkr.com/doubling-our-volume-while-increasing-reliability-checkrs-state-machine-83a8fd042a43">state machine events of a Report</a>, and more. These integration tests run fast in parallel with unit tests, and they’ve already caught some regressions which weren’t caught by unit tests.</p><p>In the future, OpenMock will support more channels (e.g. gRPC), actions, and use cases. I’m glad we were empowered to open source it from day one. OpenMock grew together with our integration tests, and its only limit is your imagination. Please join us, try and test it, and feel free to open pull requests. Hopefully, you’ll consider it as an option if you are building your own integration tests.</p><p>Thanks to Ziru Zhu for his tremendous effort in making the integration tests reality and the Platform team for all the support.</p><h3>References</h3><ul><li><a href="https://increment.com/development/center-stage-best-practices-for-staging-environments/">Center stage: Best practices for staging environments</a></li><li><a href="https://www.plesk.com/blog/product-technology/staging-environment-best-practices/">Staging-environment-best-practices</a></li><li><a href="https://en.wikipedia.org/wiki/Deployment_environment">Wiki Deployment Environment</a></li><li><a href="https://martinfowler.com/bliki/IntegrationTest.html">Martin Fowler — Integration Test</a></li><li><a href="https://martinfowler.com/bliki/TestPyramid.html">Martin Fowler — Testing Pyramid</a></li><li><a href="https://medium.com/@copyconstruct/testing-microservices-the-sane-way-9bb31d158c16">Testing microservices the sane way</a></li><li><a href="https://www.mbtest.org/">Mountebank — over the wire test doubles</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=572c64209891" width="1" height="1" alt=""><hr><p><a href="https://medium.com/checkr/introducing-checkrs-integration-testing-workflow-and-openmock-572c64209891">Introducing Checkr’s Integration testing workflow and OpenMock</a> was originally published in <a href="https://medium.com/checkr">Checkr Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Flagr: A robust, high-performance service for feature flagging and A/B testing]]></title>
            <link>https://medium.com/checkr/introducing-flagr-a-robust-high-performance-service-for-feature-flagging-and-a-b-testing-f037c219b7d5?source=rss-659c3ec5fba6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f037c219b7d5</guid>
            <category><![CDATA[feature-flags]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[a-b-testing]]></category>
            <category><![CDATA[go]]></category>
            <dc:creator><![CDATA[Zhuojie Zhou]]></dc:creator>
            <pubDate>Mon, 18 Dec 2017 17:50:49 GMT</pubDate>
            <atom:updated>2017-12-18T18:12:56.334Z</atom:updated>
            <content:encoded><![CDATA[<p>Rolling out a new feature is not an easy task. We may want to collect data, identify goals, generate a hypothesis, create variations, run experiments, and analyze results. Dark launching a feature is appealing, but has the following drawbacks:</p><ul><li>There’s no easy rollout process. Developers need to write rollout functions for every new feature.</li><li>There’s no A/B testing. A/B testing is recommended for generating rigorous metrics that can be monitored to make data-driven decisions.</li><li>There’s no dynamic configuration for features. Changing configuration related to a feature may require a new deploy.</li><li>There’s no user segmentation, and it’s hard to target a small set of users.</li><li>There’s no easy way to collect analytics at the feature level.</li></ul><p>At <a href="https://checkr.com/">Checkr</a>, we are constantly delivering features to improve the user experience of running background checks. We leverage machine learning to match screening records, <a href="https://engineering.checkr.com/doubling-our-volume-while-increasing-reliability-checkrs-state-machine-83a8fd042a43">deploy finite state machines</a> to automate the report lifecycle and iterate analytics dashboards to gather insights. We are moving fast, and we need a low-risk tool to guide the rollout process and our decisions. This is where the <strong>open-source microservice </strong><a href="https://github.com/checkr/flagr">Flagr</a> steps in.</p><ul><li>Flagr makes the rollout process as easy as clicking buttons.</li><li>Flagr supports feature flagging, A/B testing, and dynamic configuration. All of them are first class citizens in Flagr. Moreover, Flagr can run multi-variants experimentation, and you are not limited to binary on/off toggles.</li><li>Flagr can target any audience. It uses rich constraints to define user segmentation. The scope is bigger than the traditional web feature toggles, and it’s flexible enough to flag requests from mobile apps, frontend, and backend systems.</li><li>Flagr logs data records and impressions, so it’s easy to build your own analytics at the feature level. It decouples the metrics computation from flag evaluation, and you own 100% of your data.</li></ul><p>Once we launched Flagr at Checkr, every engineering team quickly adopted it as the go-to solution for feature deployment. For example, we’ve used Flagr to progressively migrate our message queues from RabbitMQ to Kafka, we’ve used Flagr to control the threshold of probabilistic identity matcher, and we’ve even leveraged Flagr to run scheduled feature deploying via timestamp constraints.</p><p>You can find out more in the <a href="https://github.com/checkr/flagr">Flagr Github</a> repository.</p><h3>Features</h3><p>Flagr has Swagger REST APIs for flag management and evaluation. For more details, see <a href="https://checkr.github.io/flagr/#/flagr_overview">Flagr Overview</a>.</p><p>The philosophy behind Flagr is that feature flagging and a/b testing should be dead simple, performant, reliable, debuggable, and configurable. The following are some selected features from Flagr.</p><p><strong>REST API (Built with Go-Swagger)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OV-xbCE4s8LnOvnLjdEmVQ.png" /></figure><p><strong>Rules engine and user segmentation</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kzdkq_Cp8MFaCIU9g_amzw.png" /></figure><p><strong>Debug Console (test your flag evaluation)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iAe8jvot8QpRMzz5s-753Q.png" /></figure><p><strong>Editing History</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sSVJvggWiPhScYDhzZEW9A.png" /></figure><p><strong>Kafka Data Logging &amp; JWT Auth User login (via env variable configuration)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l6npCbfaDa1-7MSTtn-GQw.png" /></figure><p><strong>Supports MySQL, PostgreSQL, and SQLite3 via GORM</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aiSrcdjRZu_xsr5SXZR4UQ.png" /></figure><p><strong>Client SDKs</strong></p><ul><li>REST API (<a href="https://checkr.github.io/flagr/api_docs/">https://checkr.github.io/flagr/api_docs/</a>)</li><li>Ruby SDK (<a href="https://github.com/checkr/rbflagr">https://github.com/checkr/rbflagr</a>)</li><li>Go SDK (<a href="https://github.com/checkr/goflagr">https://github.com/checkr/goflagr</a>)</li><li>Javascript SDK (<a href="https://github.com/checkr/jsflagr">https://github.com/checkr/jsflagr</a>)</li><li>Python SDK (<a href="https://github.com/checkr/pyflagr">https://github.com/checkr/pyflagr</a>)</li></ul><h3>Use cases</h3><h4>Feature Flagging</h4><p>A common pattern for feature flagging is a binary on/off toggle. Most of them are kill switches, and sometimes one will have a targeted audience of the feature flags. The following is an example written in pseudocode: given an entity (a user, a request, or a web cookie), Flagr evaluates the entity according to the flag setting.</p><pre>evaluation_result = flagr.post_evaluation( entity )</pre><pre>if (evaluation_result.variant_id == new_feature_on) {<br>    // do something new and amazing here.<br>} else {<br>    // do the current boring stuff.<br>}</pre><p>For instance, a feature flag can be configured from the Flagr UI:</p><pre>Variants<br>  - on<br>  - off</pre><pre>Segment<br>  - Constraints (e.g. state == &quot;CA&quot;)<br>  - Rollout Percent: 100%<br>  - Distribution<br>    - on: 100%<br>    - off: 0%</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*rjx4CVsOf7SY_RS4h6NScQ.png" /></figure><h4>Experimentation A/B testing</h4><p>If you want to run A/B testing experiments on several variants with a targeted audience, you may want to instrument the code to Flagr like the following.</p><pre>evaluation_result = flagr.post_evaluation( entity )</pre><pre>switch (evaluation_result.variant_id) {<br>case treatment1:<br>  // do the treatment 1 experience<br>case treatment2:<br>  // do the treatment 2 experience<br>case treatment3:<br>  // do the treatment 3 experience<br>default:<br>  // do the control experience<br>}</pre><p>A typical A/B testing experiment can be configured from Flagr UI like the following.</p><pre>Variants<br>  - control<br>  - treatment1<br>  - treatment2<br>  - treatment3<br><br>Segment<br>  - Constraints (state == &quot;CA&quot;)<br>  - Rollout Percent: 20%<br>  - Distribution<br>    - control: 25%<br>    - treatment1: 25%<br>    - treatment2: 25%<br>    - treatment3: 25%<br>Segment<br>  - Constraints (state == &quot;NY&quot; AND age &gt;= 21)<br>  - Rollout Percent: 100%<br>  - Distribution<br>    - control: 50%<br>    - treatment1: 0%<br>    - treatment2: 25%<br>    - treatment3: 25%</pre><p>UI setting example (frontend appearance may iterate quickly):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/0*a_MXNAk4Z_wIx8HJ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*wHaFxG1s-u2z9Bhsgf3Dag.png" /></figure><h4>Dynamic Configuration</h4><p>One can also leverage the Variant Attachment to run dynamic configuration. For example, the color_hex of green variant can be dynamically configured.</p><pre>evaluation_result = flagr.post_evaluation( entity )<br>green_color_hex = evaluation_result.variantAttachment[“color_hex”]</pre><p>Setting example:</p><pre>Variants<br>  - green<br>    - attachment: {&quot;color_hex&quot;: &quot;#42b983&quot;} OR {&quot;color_hex&quot;: &quot;#008000&quot;}<br>  - red<br>    - attachment: {&quot;color_hex&quot;: &quot;#ff0000&quot;}<br><br>Segment<br>  - Constraints: null<br>  - Rollout Percent: 100%<br>  - Distribution<br>    - green: 100%<br>    - red: 0%</pre><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*i-cgVBLJMJ7TZPAs.png" /></figure><h3>Architecture</h3><p>There are three components: Flagr Evaluator, Flagr Manager, and Flagr Metrics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*bgQjEaeVFj27HAmO7x4Wkg.png" /></figure><h4><strong>Flagr Evaluator</strong></h4><p>Flagr Evaluator evaluates incoming requests. The evaluation process is to determine which flag variant to apply to which request context. It’s the core of high-performance logic, and we achieve the speed and availability by the following efforts:</p><ul><li>Flagr Evaluators have the flexibility to scale with request volume. Adding more hosts under the load balancers can do the work, and it won’t affect how we write or read the database.</li><li>All the flags are loaded in memory for Flagr Evaluators. The memory footprint of a flag is small (100–200 bytes per flag) so that we can have a goroutine in each evaluator to periodically load flags from the database into memory.</li><li>We’ve picked the fastest uniform hashing algorithm CRC32 as the deterministic random function. Michiel Buddingh wrote a thorough <a href="http://michiel.buddingh.eu/distribution-of-hash-values">comparison</a> of the uniform distribution hash functions.</li></ul><h4><strong>Flagr Manager</strong></h4><p>The Flagr Manager serves as the CRUD interface, defining all operations for managing flags. Features include:</p><ul><li>The API is written in <a href="https://github.com/go-swagger/go-swagger">Go-Swagger</a>. We’ve considered gRPC, Thrift, gRPC-gateway and plain REST, and the Go implementation of swagger really stands out here in terms of the popularity of REST API and the client code generation support.</li><li>All the client SDKs are auto-generated from the Swagger spec. For example, Flagr Ruby SDK <a href="https://github.com/checkr/rbflagr">https://github.com/checkr/rbflagr</a>.</li></ul><h4><strong>Flagr Metrics</strong></h4><p>Last but not least, we have Flagr metrics, the data pipeline for collecting evaluation results. Metrics data is the foundation of building analytics at the feature level. Currently, Flagr supports Kafka as the data logging pipeline.</p><p>Data privacy is critical. You can encrypt your data in the data pipeline by turning on the option in ENV variables. And you control 100% of the data generated from Flagr. By design, metrics can be fed into any ETL pipeline and consumed for computation. <a href="https://engineering.checkr.com/how-checkr-built-scalable-data-infrastructure-in-a-few-months-d8fe7b4fb5df">At Checkr, we use Presto’s Kafka connector and Airflow to build pipelines.</a> A simple example might be to join a users table with Flagr records, grouping by flag variants to calculate user-based metrics. The data is available — what you decide to do with it is completely up to you.</p><h3>Performance</h3><p>Flagr is in the center of rolling out features. Feature branching happens before all the features, and every single millisecond latency matters here. We’ve tested locally with <a href="https://github.com/tsenart/vegeta">Vegeta</a> (a versatile HTTP load testing tool), and we are monitoring production traffic of Flagr via NewRelic. <a href="https://github.com/checkr/flagr/tree/master/benchmark">Benchmarks</a> are included in the repository for reference.</p><pre>Requests      [total, rate]            56521, 2000.04<br>Duration      [total, attack, wait]    28.2603654s, 28.259999871s, 365.529µs<br>Latencies     [mean, 50, 95, 99, max]  371.632µs, 327.991µs, <strong><em>614.918µs</em></strong>, 1.385568ms, 12.50012ms<br>Bytes In      [total, mean]            23250552, 411.36<br>Bytes Out     [total, mean]            8308587, 147.00<br>Success       [ratio]                  100.00%<br>Status Codes  [code:count]             200:56521<br>Error Set:</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*1o44qrN5CgDqClONUXa2ag.png" /><figcaption>Production traffic (monitored from NewRelic).</figcaption></figure><h3>Try it now</h3><pre># Run Flagr with docker<br>docker run -it -p 18000:18000 checkr/flagr</pre><pre># Open in browser<br>http://localhost:18000</pre><p>Or visit a demo app hosted at Heroku: <a href="https://try-flagr.herokuapp.com/#/">https://try-flagr.herokuapp.com</a></p><h3>Conclusion</h3><p>If you are looking for a feature flagging or A/B testing tool to reduce risk, iterate quicker, and gain more control, Flagr is a good fit here. It’s actively maintained, and it serves production traffic in Checkr.</p><p>We’re only at the beginning of being able to use the service, but in the future, we plan to further ingest evaluation data to feedback into the rollout process. We are going to take automation to a next level, for example, use metrics and machine learning to drive the feature rollout.</p><h3>Further reading</h3><ul><li>Go-Swagger <a href="https://github.com/go-swagger/go-swagger">https://github.com/go-swagger/go-swagger</a></li><li>A/B testing <a href="https://en.wikipedia.org/wiki/A/B_testing">https://en.wikipedia.org/wiki/A/B_testing</a></li><li>Feature toggles <a href="https://martinfowler.com/articles/feature-toggles.html">https://martinfowler.com/articles/feature-toggles.html</a></li><li>Feature Flags <a href="http://featureflags.io/">http://featureflags.io/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f037c219b7d5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/checkr/introducing-flagr-a-robust-high-performance-service-for-feature-flagging-and-a-b-testing-f037c219b7d5">Introducing Flagr: A robust, high-performance service for feature flagging and A/B testing</a> was originally published in <a href="https://medium.com/checkr">Checkr Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>