<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions tagged deployment</title>
<link>https://ask.clojure.org/index.php/tag/deployment</link>
<description></description>
<item>
<title>Examples and reports about production environments</title>
<link>https://ask.clojure.org/index.php/8232/examples-and-reports-about-production-environments</link>
<description>&lt;p&gt;There are almost none online material about how to run Clojure projects in production environments and respective pipelines. It would be great to have more discussions and comments about what &lt;em&gt;you are doing&lt;/em&gt; and not only what could be done.&lt;/p&gt;
&lt;p&gt;My current setup:&lt;/p&gt;
&lt;p&gt;Our infraestructure is based on microservice architecture running on Kubernetes behind Istio and Istio Gateway.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;CI is automated with Jenkins that runs Code Analysis and Tests and produces artifacts to &lt;em&gt;sonarqube&lt;/em&gt; to be analyzed.&lt;/li&gt;
&lt;li&gt;Each Dockerfile compiles a &lt;strong&gt;jar&lt;/strong&gt; file and have an entrypoint to execute the jar file in production when the CD publishes the new code into Kubernetes&lt;/li&gt;
&lt;li&gt;We use &lt;strong&gt;httpkit&lt;/strong&gt; embedded for web services&lt;/li&gt;
&lt;li&gt;Some services are managed by mount or component libraries (database, web server, rabbitmq, etc.)&lt;/li&gt;
&lt;li&gt;Our configurations files are handles by &lt;em&gt;yogthos/config&lt;/em&gt; library in edn files and lein's profiles&lt;/li&gt;
&lt;li&gt;no lib for logging, dealt by Google Stackdriver. (why these services are so expensive? :x)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;We have no previous experience with Java products, so might have better services or practices to deploy code in production. For now, our mechanism is working just fine. I think this kind of content makes people more comfortable with their choices  after reading some successful (or failures) use cases.&lt;/p&gt;
</description>
<category>Other</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/8232/examples-and-reports-about-production-environments</guid>
<pubDate>Sun, 28 Jul 2019 04:00:42 +0000</pubDate>
</item>
</channel>
</rss>