Hands On Software Engineering with Golang

Hands On Software Engineering with Golang
Author: Achilleas Anagnostopoulos
Publsiher: Packt Publishing Ltd
Total Pages: 625
Release: 2020-01-24
Genre: Computers
ISBN: 9781838550240

Download Hands On Software Engineering with Golang Book in PDF, Epub and Kindle

Explore software engineering methodologies, techniques, and best practices in Go programming to build easy-to-maintain software that can effortlessly scale on demand Key FeaturesApply best practices to produce lean, testable, and maintainable Go code to avoid accumulating technical debtExplore Go’s built-in support for concurrency and message passing to build high-performance applicationsScale your Go programs across machines and manage their life cycle using KubernetesBook Description Over the last few years, Go has become one of the favorite languages for building scalable and distributed systems. Its opinionated design and built-in concurrency features make it easy for engineers to author code that efficiently utilizes all available CPU cores. This Golang book distills industry best practices for writing lean Go code that is easy to test and maintain, and helps you to explore its practical implementation by creating a multi-tier application called Links ‘R’ Us from scratch. You’ll be guided through all the steps involved in designing, implementing, testing, deploying, and scaling an application. Starting with a monolithic architecture, you’ll iteratively transform the project into a service-oriented architecture (SOA) that supports the efficient out-of-core processing of large link graphs. You’ll learn about various cutting-edge and advanced software engineering techniques such as building extensible data processing pipelines, designing APIs using gRPC, and running distributed graph processing algorithms at scale. Finally, you’ll learn how to compile and package your Go services using Docker and automate their deployment to a Kubernetes cluster. By the end of this book, you’ll know how to think like a professional software developer or engineer and write lean and efficient Go code. What you will learnUnderstand different stages of the software development life cycle and the role of a software engineerCreate APIs using gRPC and leverage the middleware offered by the gRPC ecosystemDiscover various approaches to managing package dependencies for your projectsBuild an end-to-end project from scratch and explore different strategies for scaling itDevelop a graph processing system and extend it to run in a distributed mannerDeploy Go services on Kubernetes and monitor their health using PrometheusWho this book is for This Golang programming book is for developers and software engineers looking to use Go to design and build scalable distributed systems effectively. Knowledge of Go programming and basic networking principles is required.

Hands On Software Engineering with Python

Hands On Software Engineering with Python
Author: Brian Allbee
Publsiher: Packt Publishing Ltd
Total Pages: 736
Release: 2018-10-26
Genre: Computers
ISBN: 9781788621359

Download Hands On Software Engineering with Python Book in PDF, Epub and Kindle

Explore various verticals in software engineering through high-end systems using Python Key FeaturesMaster the tools and techniques used in software engineeringEvaluates available database options and selects one for the final Central Office system-componentsExperience the iterations software go through and craft enterprise-grade systemsBook Description Software Engineering is about more than just writing code—it includes a host of soft skills that apply to almost any development effort, no matter what the language, development methodology, or scope of the project. Being a senior developer all but requires awareness of how those skills, along with their expected technical counterparts, mesh together through a project's life cycle. This book walks you through that discovery by going over the entire life cycle of a multi-tier system and its related software projects. You'll see what happens before any development takes place, and what impact the decisions and designs made at each step have on the development process. The development of the entire project, over the course of several iterations based on real-world Agile iterations, will be executed, sometimes starting from nothing, in one of the fastest growing languages in the world—Python. Application of practices in Python will be laid out, along with a number of Python-specific capabilities that are often overlooked. Finally, the book will implement a high-performance computing solution, from first principles through complete foundation. What you will learnUnderstand what happens over the course of a system's life (SDLC)Establish what to expect from the pre-development life cycle stepsFind out how the development-specific phases of the SDLC affect developmentUncover what a real-world development process might be like, in an Agile wayFind out how to do more than just write the codeIdentify the existence of project-independent best practices and how to use themFind out how to design and implement a high-performance computing processWho this book is for Hands-On Software Engineering with Python is for you if you are a developer having basic understanding of programming and its paradigms and want to skill up as a senior programmer. It is assumed that you have basic Python knowledge.

Hands On Software Architecture with Golang

Hands On Software Architecture with Golang
Author: Jyotiswarup Raiturkar
Publsiher: Packt Publishing Ltd
Total Pages: 716
Release: 2018-12-07
Genre: Computers
ISBN: 9781788625104

Download Hands On Software Architecture with Golang Book in PDF, Epub and Kindle

Understand the principles of software architecture with coverage on SOA, distributed and messaging systems, and database modeling Key FeaturesGain knowledge of architectural approaches on SOA and microservices for architectural decisionsExplore different architectural patterns for building distributed applicationsMigrate applications written in Java or Python to the Go languageBook Description Building software requires careful planning and architectural considerations; Golang was developed with a fresh perspective on building next-generation applications on the cloud with distributed and concurrent computing concerns. Hands-On Software Architecture with Golang starts with a brief introduction to architectural elements, Go, and a case study to demonstrate architectural principles. You'll then move on to look at code-level aspects such as modularity, class design, and constructs specific to Golang and implementation of design patterns. As you make your way through the chapters, you'll explore the core objectives of architecture such as effectively managing complexity, scalability, and reliability of software systems. You'll also work through creating distributed systems and their communication before moving on to modeling and scaling of data. In the concluding chapters, you'll learn to deploy architectures and plan the migration of applications from other languages. By the end of this book, you will have gained insight into various design and architectural patterns, which will enable you to create robust, scalable architecture using Golang. What you will learnUnderstand architectural paradigms and deep dive into MicroservicesDesign parallelism/concurrency patterns and learn object-oriented design patterns in GoExplore API-driven systems architecture with introduction to REST and GraphQL standardsBuild event-driven architectures and make your architectures anti-fragileEngineer scalability and learn how to migrate to Go from other languagesGet to grips with deployment considerations with CICD pipeline, cloud deployments, and so onBuild an end-to-end e-commerce (travel) application backend in GoWho this book is for Hands-On Software Architecture with Golang is for software developers, architects, and CTOs looking to use Go in their software architecture to build enterprise-grade applications. Programming knowledge of Golang is assumed.

Hands On System Programming with Go

Hands On System Programming with Go
Author: Alex Guerrieri
Publsiher: Packt Publishing Ltd
Total Pages: 441
Release: 2019-07-05
Genre: Computers
ISBN: 9781789803365

Download Hands On System Programming with Go Book in PDF, Epub and Kindle

Explore the fundamentals of systems programming starting from kernel API and filesystem to network programming and process communications Key FeaturesLearn how to write Unix and Linux system code in Golang v1.12Perform inter-process communication using pipes, message queues, shared memory, and semaphoresExplore modern Go features such as goroutines and channels that facilitate systems programmingBook Description System software and applications were largely created using low-level languages such as C or C++. Go is a modern language that combines simplicity, concurrency, and performance, making it a good alternative for building system applications for Linux and macOS. This Go book introduces Unix and systems programming to help you understand the components the OS has to offer, ranging from the kernel API to the filesystem, and familiarize yourself with Go and its specifications. You'll also learn how to optimize input and output operations with files and streams of data, which are useful tools in building pseudo terminal applications. You'll gain insights into how processes communicate with each other, and learn about processes and daemon control using signals, pipes, and exit codes. This book will also enable you to understand how to use network communication using various protocols, including TCP and HTTP. As you advance, you'll focus on Go's best feature-concurrency helping you handle communication with channels and goroutines, other concurrency tools to synchronize shared resources, and the context package to write elegant applications. By the end of this book, you will have learned how to build concurrent system applications using Go What you will learnExplore concepts of system programming using Go and concurrencyGain insights into Golang's internals, memory models and allocationFamiliarize yourself with the filesystem and IO streams in generalHandle and control processes and daemons' lifetime via signals and pipesCommunicate with other applications effectively using a networkUse various encoding formats to serialize complex data structuresBecome well-versed in concurrency with channels, goroutines, and syncUse concurrency patterns to build robust and performant system applicationsWho this book is for If you are a developer who wants to learn system programming with Go, this book is for you. Although no knowledge of Unix and Linux system programming is necessary, intermediate knowledge of Go will help you understand the concepts covered in the book

Hands On Full Stack Development with Go

Hands On Full Stack Development with Go
Author: Mina Andrawos
Publsiher: Packt Publishing Ltd
Total Pages: 309
Release: 2019-03-28
Genre: Computers
ISBN: 9781789138658

Download Hands On Full Stack Development with Go Book in PDF, Epub and Kindle

Create a real-world application in Go and explore various frameworks and methodologies for full-stack development Key FeaturesBuild a responsive front end by using the powerful React frameworkBuild web APIs and middleware in the Go language by making use of the popular Gin frameworkBuild an Isomorphic Go React application via GopherJSPerform unit tests, and benchmarking on your web APIBook Description The Go programming language has been rapidly adopted by developers for building web applications. With its impressive performance and ease of development, Go enjoys the support of a wide variety of open source frameworks, for building scalable and high-performant web services and apps. Hands-On Full Stack Development with Go is a comprehensive guide that covers all aspects of full stack development with Go. This clearly written, example-rich book begins with a practical exposure to Go development and moves on to build a frontend with the popular React framework. From there, you will build RESTful web APIs utilizing the Gin framework. After that, we will dive deeper into important software backend concepts, such as connecting to the database via an ORM, designing routes for your services, securing your services, and even charging credit cards via the popular Stripe API. We will also cover how to test, and benchmark your applications efficiently in a production environment. In the concluding chapters, we will cover isomorphic developments in pure Go by learning about GopherJS. As you progress through the book, you'll gradually build a musical instrument online store application from scratch. By the end of the book, you will be confident in taking on full stack web applications in Go. What you will learnUnderstand Go programming by building a real-world applicationLearn the React framework to develop a frontend for your applicationUnderstand isomorphic web development utilizing the GopherJS frameworkExplore methods to write RESTful web APIs in Go using the Gin frameworkLearn practical topics such as ORM layers, secure communications, and Stripe's APILearn methods to benchmark and test web APIs in GoWho this book is for Hands-On Full Stack Development with Go will appeal to developers who are looking to start building amazing full stack web applications in Go. Basic knowhow of Go language and JavaScript is expected. The book targets web developers who are looking to move to the Go language.

Hands On High Performance with Go

Hands On High Performance with Go
Author: Bob Strecansky
Publsiher: Packt Publishing Ltd
Total Pages: 387
Release: 2020-03-24
Genre: Computers
ISBN: 9781789801774

Download Hands On High Performance with Go Book in PDF, Epub and Kindle

Proven methodologies and concurrency techniques that will help you write faster and better code with Go programming Key FeaturesExplore Go’s profiling tools to write faster programs by identifying and fixing bottlenecksAddress Go-specific performance issues such as memory allocation and garbage collectionDelve into the subtleties of concurrency and discover how to successfully implement it in everyday applicationsBook Description Go is an easy-to-write language that is popular among developers thanks to its features such as concurrency, portability, and ability to reduce complexity. This Golang book will teach you how to construct idiomatic Go code that is reusable and highly performant. Starting with an introduction to performance concepts, you’ll understand the ideology behind Go’s performance. You’ll then learn how to effectively implement Go data structures and algorithms along with exploring data manipulation and organization to write programs for scalable software. This book covers channels and goroutines for parallelism and concurrency to write high-performance code for distributed systems. As you advance, you’ll learn how to manage memory effectively. You’ll explore the compute unified device architecture (CUDA) application programming interface (API), use containers to build Go code, and work with the Go build cache for quicker compilation. You’ll also get to grips with profiling and tracing Go code for detecting bottlenecks in your system. Finally, you’ll evaluate clusters and job queues for performance optimization and monitor the application for performance regression. By the end of this Go programming book, you’ll be able to improve existing code and fulfill customer requirements by writing efficient programs. What you will learnOrganize and manipulate data effectively with clusters and job queuesExplore commonly applied Go data structures and algorithmsWrite anonymous functions in Go to build reusable appsProfile and trace Go apps to reduce bottlenecks and improve efficiencyDeploy, monitor, and iterate Go programs with a focus on performanceDive into memory management and CPU and GPU parallelism in GoWho this book is for This Golang book is a must for developers and professionals who have an intermediate-to-advanced understanding of Go programming, and are interested in improving their speed of code execution.

Hands On Dependency Injection in Go

Hands On Dependency Injection in Go
Author: Corey Scott
Publsiher: Packt Publishing Ltd
Total Pages: 338
Release: 2018-11-27
Genre: Computers
ISBN: 9781789131758

Download Hands On Dependency Injection in Go Book in PDF, Epub and Kindle

Explore various dependency injection methods in Go such as monkey patching, constructor injection, and method injection Key FeaturesLearn to evaluate Code UX and make it betterExplore SOLID principles and understand how they relate to dependency injectionUse Google's wire framework to simplify dependence managementBook Description Hands-On Dependency Injection in Go takes you on a journey, teaching you about refactoring existing code to adopt dependency injection (DI) using various methods available in Go. Of the six methods introduced in this book, some are conventional, such as constructor or method injection, and some unconventional, such as just-in-time or config injection. Each method is explained in detail, focusing on their strengths and weaknesses, and is followed with a step-by-step example of how to apply it. With plenty of examples, you will learn how to leverage DI to transform code into something simple and flexible. You will also discover how to generate and leverage the dependency graph to spot and eliminate issues. Throughout the book, you will learn to leverage DI in combination with test stubs and mocks to test otherwise tricky or impossible scenarios. Hands-On Dependency Injection in Go takes a pragmatic approach and focuses heavily on the code, user experience, and how to achieve long-term benefits through incremental changes. By the end of this book, you will have produced clean code that’s easy to test. What you will learnUnderstand the benefits of DIExplore SOLID design principles and how they relate to GoAnalyze various dependency injection patterns available in GoLeverage DI to produce high-quality, loosely coupled Go codeRefactor existing Go code to adopt DIDiscover tools to improve your code’s testability and test coverageGenerate and interpret Go dependency graphsWho this book is for Hands-On Dependency Injection in Go is for programmers with a few year s experience in any language and a basic understanding of Go. If you wish to produce clean, loosely coupled code that is inherently easier to test, this book is for you.

Hands On Go Programming

Hands On Go Programming
Author: Tarik Guney
Publsiher: Packt Publishing
Total Pages: 176
Release: 2018-08-29
Genre: Computers
ISBN: 1789531756

Download Hands On Go Programming Book in PDF, Epub and Kindle

Learn Go programming with concise examples providing solutions to common problems Key Features Study Go programming with the help of short, modular, and concise recipes Overcome the most common challenges in Go Exploit the most exciting features of Go such as Goroutines Book Description With its C-like speed, simplicity, and power for a growing number of system-level programming domains, Go has become increasingly popular among programmers. Hands-On Go Programming teaches you the Go programming by solving commonly faced problems with the help of recipes. You will start by installing Go binaries and get familiar with the tools used for developing an application. Once you have understood these tasks, you will be able to manipulate strings and use them in built-in function constructs to create a complex value from two floating-point values. You will discover how to perform an arithmetic operation date and time, along with parsing them from string values. In addition to this, you will cover concurrency in Go, performing various web programming tasks, implementing system programming, reading and writing files, and honing many fundamental Go programming skills such as proper error handling and logging, among others. Whether you are an expert programmer or newbie, this book helps you understand how various answers are programmed in the Go language. What you will learn Manipulate string values and escape special characters Work with dates, times, maps, and arrays Handle errors and perform logging Explore files and directories Handle HTTP requests and responses Perform CRUD operations on a relational database Who this book is for Hands-On Go Programming is for you if you are a software developer interested in learning Go language, or anyone who wants to explore practical code examples.