Archive

Category Archives for "Networking"

Logs from the Edge

Logs from the Edge

With Cloudflare Workers, our JavaScript environment at the edge, it is possible to send traffic logs to arbitrary locations. In this post we are going to discuss an example Worker implementation on how to achieve this. So if you are building or maintaining your own traffic logging/analytics environment, read on.

To build the underlying script we are going to leverage sub requests. Sub requests, which can be spawned from the initial HTTP/S request, can be used to aggregate and compose a response from several back end services, or, like in the example discussed here, to post data to a specific endpoint. Sub requests can be made asynchronously and after the initial request has been fully served to avoid adding unnecessary latency to the main request.

Logs from the Edge

The Worker Code

In this example we assume an Elastic stack has been set up at elk.example.com and has been configured to receive via HTTP/S PUT requests a number of fields for each log line. The full script that we are going to look at can be found below:

addEventListener('fetch', event => {
  event.respondWith(fetchAndLog(event));
})

async function fetchAndLog(event) {
  const response = await fetch(event.request);
  event.waitUntil(logToElk(event.request, response));
  return response;
 Continue reading

What to expect of Linux in 2019

2019 just might be the Year of Linux — the year in which Linux is fully recognized as the powerhouse it has become. With Linux playing key roles in the Internet of Things (IoT), cloud technology, supercomputing and artificial intelligence (AI), and with a plethora of conferences and new releases on the horizon, Linux is poised to have a very exciting 2019. Let’s examine some of what we can expect to see.Linux behind the scenes The fact is that most people today are using Linux without ever knowing it — whether on their phones, online when using Google, Facebook, Twitter, GPS devices, and maybe even in their cars, or when using cloud storage for personal or business use. While the presence of Linux on all of these systems may go largely unnoticed by consumers, the role that Linux plays in this market is a sign of how critical it has become.To read this article in full, please click here

Linux will seem to be everywhere in 2019

IDG 2019 just might be the Year of Linux — the year in which Linux is fully recognized as the powerhouse it has become. With Linux playing key roles in the Internet of Things (IoT), cloud technology, supercomputing and artificial intelligence (AI), and with a plethora of conferences and new releases on the horizon, Linux is poised to have a very exciting 2019. Let’s examine some of what we can expect to see.To read this article in full, please click here

Using the Internet of Sound to transfer IoT data via speakers

Some kinds of data should be encoded onto an inaudible, near-ultrasound layer placed on top of normal, audible sounds — a process that could rapidly scale Internet of Things (IoT) adoption, says startup Trillbit.The company says that by doing that kind of overlay, any microphone and speaker is turned into a data-transfer device that then could be used for payments transfers, user authentication, and smart city applications such as digital locks.“There is no common universal protocol to connect Internet of Things,” Trillbit explains on its website. “Speakers [and microphones], which are already in place, and all around us” could perform connections.To read this article in full, please click here

Using the Internet of Sound to transfer IoT data via speakers

Some kinds of data should be encoded onto an inaudible, near-ultrasound layer placed on top of normal, audible sounds — a process that could rapidly scale Internet of Things (IoT) adoption, says startup Trillbit.The company says that by doing that kind of overlay, any microphone and speaker is turned into a data-transfer device that then could be used for payments transfers, user authentication, and smart city applications such as digital locks.“There is no common universal protocol to connect Internet of Things,” Trillbit explains on its website. “Speakers [and microphones], which are already in place, and all around us” could perform connections.To read this article in full, please click here

Interview: Active-Active Data Centers with VXLAN and EVPN

Christoph Jaggi asked me a few questions about using VXLAN with EVPN to build data center fabrics and data center interconnects (including active/active data centers). The German version was published on Inside-IT, here’s the English version.

He started with an obvious one:

What is an active-active data center and why would I want to use an active-active data center?

Numerous organizations have multiple data centers for load sharing or disaster recovery purposes. They could use one of their data centers and have the other(s) as warm or cold standby (active/backup setup) or use all data centers at the same time (active/active).

Read more ...