fbpx

Bug hunting in Go: The culprit is in the library

Despite its growing popularity as an open-source programming language, it’s still possible to unearth a few juicy bugs in Go. That’s what happened when Benoit Artuso, Software Architect at Scality, and his team were at work on the development and benchmarking our software. Here’s how they exposed the bug and takeaways from the sleuthing.

To start from the beginning, in our code we have to call another service through HTTP. This is what our pseudo code looks like:

function call_service(dataBuffer)
result = http.Put(destination, dataBuffer)
return result
dataBuffer = “some data&”
result = call_service(dataBuffer)
print result

This is clean and simple enough.

Continue reading Bug hunting in Go: The culprit is in the library at SOLVED.

Products

The most powerful data storage platform.

Protect, search and manage your data on any cloud.

RING

ON PREMISES, PRIVATE CLOUD STORAGE SOLUTION

ZENKO

DATA MANAGEMENT ACROSS
MULTIPLE CLOUDS

NAS ARCHIVER

TIER INACTIVE DATA FROM NAS TO SCALITY RING

Hardware Alliances

Delivering fully integrated solutions.

Learn More

Read about Scality data storage and management solutions.