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.

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
Qualcomm will use the fund to invest in startups building AI for autonomous cars, robotics, and machine learning platforms.
Developers only need to upload their own code, which is then automatically deployed to the edge in an isolated runtime environment.
The deal will bring storage to Contrail’s multicloud product as well as expand Juniper’s edge computing portfolio.
Two VMware customers, a Texas Education Service Center and a nationwide hospice company, say NSX and vRealize Network helped them secure and manage networks.
This podcast looks at network disaggregation exploring some top-of-mind issues: vendor designs for disaggregation and network disruptors.
The company is working with VMware on the new Amazon Outposts initiative. Considering VMware’s sister company Dell EMC makes hardware, this could have some interesting implications.
To succeed in SD-WAN, service providers will need to transform their organization and improve their selling skills. Can they do it?