SebWalak.com
open-menu closeme
Home
Archives
Search
About
bitbucket linkedin twitter rss

    Latest posts

  • Metronome's Cacophony (8/14) - concurrency in Go - Mutex

    calendar May 1, 2018 · 7 min read · from-java-to-go go concurrency  ·
    Share on: twitter facebook linkedin copy

    Asynchronous approach (ctd) Mutex Term stands for mutual exclusion. In programming it is a property limiting resource access to one thread (or even one consumer - due to lack of reentrancy, later about that) at a time. Sounds familiar? In previous section the atomic functions were helping us achieve just that in …


    Read More
  • Metronome's Cacophony (7/14) - concurrency in Go - Atomicity

    calendar May 1, 2018 · 9 min read · from-java-to-go go concurrency  ·
    Share on: twitter facebook linkedin copy

    Asynchronous approach (ctd) Atomic Go provides you with sync/atomic package to help you with sharing state correctly. The tools within that package will help us provide implementation of metronome's engine with much more reliable performance. Let's start with generic definition of atomicity atomicity /ˌatəˈmɪsɪti/ noun …


    Read More
  • Metronome's Cacophony (6/14) - concurrency in Go - Sharing state

    calendar May 1, 2018 · 7 min read · from-java-to-go go concurrency  ·
    Share on: twitter facebook linkedin copy

    Asynchronous approach (ctd) Sharing access to mutable state Our solutions utilising Goroutines purposefully didn't share much state between Goroutines. I didn't want to pile it on you straight from start. A little exception was a solution with WaitGroup which allowed us to synchronise the completion of all Goroutines …


    Read More
  • Metronome's Cacophony (5/14) - concurrency in Go - WaitGroup

    calendar May 1, 2018 · 5 min read · from-java-to-go go concurrency  ·
    Share on: twitter facebook linkedin copy

    Asynchronous approach (ctd) WaitGroup Most asynchronous activities need a mechanism to signal completion with the option to deliver its outcome. We do this so that we can gather results of these Goroutines or just to to proceed once their effect sets, including graceful application termination scenario. Note: I am …


    Read More
  • Metronome's Cacophony (4/14) - concurrency in Go - Goroutine

    calendar May 1, 2018 · 8 min read · from-java-to-go go concurrency  ·
    Share on: twitter facebook linkedin copy

    Asynchronous approach Another big word, another definition asynchronous /eɪˈsɪŋkrənəs/ adjective not existing or occurring at the same time. COMPUTING, TELECOMMUNICATIONS controlling the timing of operations by the use of pulses sent when the previous operation is completed rather than at regular intervals. -- by …


    Read More
  • Metronome's Cacophony (3/14) - concurrency in Go - Ticker

    calendar May 1, 2018 · 7 min read · from-java-to-go go concurrency  ·
    Share on: twitter facebook linkedin copy

    Synchronous approach (ctd) Ticker Ticker is a very convenient tool used to schedule tasks to happen at regular interval. It is created with an invocation of time.NewTicker and needs a time.Duration parameter. It will create a channel, which will be receiving time.Time messages at intervals equal this duration. Ticker …


    Read More
  • Metronome's Cacophony (2/14) - concurrency in Go - Basic synchronous solution

    calendar May 1, 2018 · 8 min read · from-java-to-go go concurrency  ·
    Share on: twitter facebook linkedin copy

    Synchronous approach Before we move on I will try to explain what the big word is synchronous /ˈsɪŋkrənəs/ adjective existing or occurring at the same time. "glaciations were approximately synchronous in both hemispheres" -- by Google Did it help? Did it resonate with you? Well, for me it felt like the …


    Read More
  • Metronome's Cacophony. Concurrency in Go.

    calendar May 1, 2018 · 8 min read · from-java-to-go go concurrency  ·
    Share on: twitter facebook linkedin copy
    Metronome's Cacophony. Concurrency in Go.

    Introduction The times of PCs with a single-core CPU seem to be gone. Single-core processors still appear in special use cases but, in Personal Computing, they are pretty much extinct. We exhibit constant drive for bigger, faster and richer. If I was buying a new PC, I wouldn't consider single-core CPU, unless it was …


    Read More
  • Jekyll's Docker image

    calendar Apr 4, 2018 · 3 min read · jekyll docker  ·
    Share on: twitter facebook linkedin copy
    Jekyll's Docker image

    Jekyll's ecosystem I was pretty excited when I found out about Jekyll about a month ago. It not only gives me the most of the content authoring functionality I need, it also allows me to gain nearly complete control over the site's features and aesthetics. If I knew Ruby, or if the plugins did exactly what I need, I …


    Read More
  • Maplin goes into administration - will I miss it?

    calendar Feb 28, 2018 · 5 min read  ·
    Share on: twitter facebook linkedin copy
    Maplin goes into administration - will I miss it?

    Maplin goes into administration Today it was announced that Maplin, the only high-street electronics chain that I know of, went into administration (BBC). I have mixed feelings about this retailer. I am into electronics and tinkering. I like to see what I'm buying compared to looking at a picture only. I definitely …


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • »
    • »»

Seb Walak

Software Engineer. Technology lover. Technology hater. Tinkerer. Occasional traveller.
Read More

Featured Posts

  • Java Module System
  • Blog anatomy
  • Metronome's Cacophony. Concurrency in Go.
  • Base, custom VPC stack, provisioned with Terraform in AWS

Categories

SOFTWARE-DEVELOPMENT 23 DEV-OPS 7 AUTHORING 3 LOOSE-THOUGHTS 2 TINKERING 2 FEEDBACK 1

Series

METRONOME-CACOPHONY 14 BLOG-ANATOMY 7 JAVA-FEATURES 1

Tags

GO 18 FROM-JAVA-TO-GO 16 CONCURRENCY 15 CLOUD 9 AWS 7 IAC 6 DOCKER 4 HUGO 3 ELECTRONICS 2 JAVA 2 LIB 2 ARDUINO 1 BDD 1 C 1
All Tags
ARDUINO1 AWS7 BDD1 C1 CLOUD9 CONCURRENCY15 DOCKER4 ELECTRONICS2 FROM-JAVA-TO-GO16 GO18 GOOGLE-CLOUD1 HARDWARE1 HUGO3 IAC6 JAVA2 JAVA91 JEKYLL1 JS1 LIB2 MAVEN1 PHP1 WORDPRESS1
[A~Z][0~9]
Copyright  SEBWALAK.COM. All Rights Reserved
SebWalak.com
Privacy policy | Disclaimer | Cookie policy | Cookies
Privacy policy | Disclaimer | Cookie policy | Cookies
Copyright  SEBWALAK.COM. All Rights Reserved
to-top