You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
126 lines
5.5 KiB
126 lines
5.5 KiB
<!DOCTYPE html> |
|
<html lang="en"> |
|
<head> |
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
|
<meta http-equiv="content-type" content="text/html; charset=utf-8"> |
|
|
|
<!-- Enable responsiveness on mobile devices--> |
|
<!-- viewport-fit=cover is to support iPhone X rounded corners and notch in landscape--> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, viewport-fit=cover"> |
|
|
|
<title>Julio Biason .Me 4.3</title> |
|
|
|
<!-- CSS --> |
|
<link rel="stylesheet" href="https://blog.juliobiason.me/print.css" media="print"> |
|
<link rel="stylesheet" href="https://blog.juliobiason.me/poole.css"> |
|
<link rel="stylesheet" href="https://blog.juliobiason.me/hyde.css"> |
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface"> |
|
|
|
|
|
|
|
|
|
|
|
</head> |
|
|
|
<body class=" "> |
|
|
|
<div class="sidebar"> |
|
<div class="container sidebar-sticky"> |
|
<div class="sidebar-about"> |
|
|
|
<a href="https://blog.juliobiason.me"><h1>Julio Biason .Me 4.3</h1></a> |
|
|
|
<p class="lead">Old school dev living in a 2.0 dev world</p> |
|
|
|
|
|
</div> |
|
|
|
<ul class="sidebar-nav"> |
|
|
|
|
|
<li class="sidebar-nav-item"><a href="/">English</a></li> |
|
|
|
<li class="sidebar-nav-item"><a href="/pt">Português</a></li> |
|
|
|
<li class="sidebar-nav-item"><a href="/tags">Tags (EN)</a></li> |
|
|
|
<li class="sidebar-nav-item"><a href="/pt/tags">Tags (PT)</a></li> |
|
|
|
|
|
</ul> |
|
</div> |
|
</div> |
|
|
|
|
|
<div class="content container"> |
|
|
|
<div class="post"> |
|
<h1 class="post-title">Hands-On Microservices with Rust - Denis Kolodin</h1> |
|
<span class="post-date"> |
|
2019-03-03 |
|
|
|
<a href="https://blog.juliobiason.me/tags/reviews/">#reviews</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/books/">#books</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/rust/">#rust</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/microservices/">#microservices</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/denis-kolodin/">#denis kolodin</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/it/">#it</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/stars-2/">#stars:2</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/published-2019/">#published:2019</a> |
|
|
|
</span> |
|
<p><a href="https://www.goodreads.com/book/show/44079380-hands-on-microservices-with-rust">GoodReads Summary</a>: |
|
A comprehensive guide in developing and deploying high performance |
|
microservices with Rust.</p> |
|
<span id="continue-reading"></span><div> |
|
★★☆☆☆ |
|
</div> |
|
<p>The shortest and simpler way to describe this book is this:</p> |
|
<pre data-lang="rust" style="background-color:#2b303b;color:#c0c5ce;" class="language-rust "><code class="language-rust" data-lang="rust"><span style="color:#b48ead;">let mut</span><span> a = </span><span style="color:#d08770;">1</span><span>; |
|
</span><span>a = a + </span><span style="color:#d08770;">1</span><span>; |
|
</span><span style="color:#65737e;">// increase a |
|
</span></code></pre> |
|
<p>Sure, increasing <code>a</code> may seem interesting, but where the heck is the |
|
explanation on why you're increasing a?</p> |
|
<p>The long version is this: this is an exact representation of what a Packt book |
|
is. There are a bunch of grammatical errors from the half of the book to the |
|
end, which should've picked by the editor; there are a bunch of weird |
|
explanations and the incredible tendency of use a different package on each |
|
project (one project uses Hyper, the other Rocket, the other Actix-Web) which |
|
should've been picked by the reviewer; the whole book have a bunch of text |
|
saying what the code is doing, but not why it was designed that way.</p> |
|
<p>So the whole thing feels rushed and without thought.</p> |
|
<p>The "change package on each discussion" is also damming: you never really got |
|
deep into a package, understanding its ins and outs, because it keeps changing |
|
all the time (logs is another thing that keeps changing all the time in the |
|
code, which seems really weird when you want to have a fleet of microservices |
|
-- why would you use different packages on all of them; yes, you can do this |
|
due the nature of microservices, but does it make sense?).</p> |
|
<p>Also, no code is shown in completion. The book uses snippets all around instead |
|
of showing everything. The full code is available on Github, but that means you |
|
need to keep two sources open at the same time: one in the book, to follow |
|
whatever the author is showing and the source code to understand where each |
|
thing fall in the big picture.</p> |
|
<p>Those two last points could be easily solved by starting with a simple code |
|
(say, the Hyper that says "Hello world") and then, slowly, refactor it to reach |
|
a fully asynchronous code, showing the full code with each refactor |
|
highlighted.</p> |
|
<p>Maybe this will be a good book in the 3rd edition.</p> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</body> |
|
|
|
</html>
|
|
|