Click here to close now.

Welcome!

MICROSERVICES Authors: Carmen Gonzalez, Elizabeth White, David Sprott, Lori MacVittie, Mike Kavis

Related Topics: Cloud Expo, Java, MICROSERVICES, Security, Big Data Journal, SDN Journal

Cloud Expo: Blog Post

Traffic Advisory: Your Packets May Be Delayed

The past few years have seen a dramatic improvement in the latency in network switches

The past few years have seen a dramatic improvement in the latency in network switches. Single ASIC based switches can all pretty much switch packets in less than a microsecond. Current 10GE switching silicon provides anywhere from 300 to 800 nanoseconds, specialized silicon shaves that to less than 200 nanoseconds when limiting the amount of searching that needs to be done by reducing the size of lookup tables. Even other solutions play some smart tricks by providing forwarding hints for intermediate switches make those lookups take less than 50 nanoseconds.

Notice_Reduce_Speed_When_Entering_Parking_Lot_Signs_T41151-ba

Modular switches inherently have a higher latency. Line cards on modular switches typically have multiple ASICs, those ASICs are connected through a single or multi stage fabric. Each step takes time, resulting in latencies varying from around a microsecond when a packet stays on the same ASIC, to possibly 5-15 microseconds when a packet needs to travel through the fabric and back.

The speediest of ASICs achieve these low numbers by employing cut through switching. Cut through switching allows the ASIC to start transmitting a packet when enough of the header has been received to make a forwarding decision. The ASIC does not wait for the entire packet to be received (the more traditional store-and-forward mechanism), within the first few 100 bytes the forwarding decision has been made, and that same header (modified or not) is being transmitted out the destination port. It's somewhat odd to think that through, but the first bits of a packet may be received by the destination system before the last bits have left the first switch in the network.

Cut through switching comes with quite a few "buts". Most switches can only deploy cut through switching when the source and destination port are the same speed. 10GE in and 40GE out or vice versa is rarely supported and the ASIC will automatically switch to store-and-forward for those packets. For good reason. If a packet comes at you at 40GE rates, you simply cannot transmit it out a 10GE interface, that interface is not fast enough. In the reverse direction speed is not the issue, but if you were to employ cut through switching, for the duration of that packet your 40GE interface effectively runs at 10GE with lots of pauses in between pieces of a packet (figuratively speaking).

In addition, when the destination port has another packet being transmitted or in the queue, a new packet cannot be sent cut through. When another packet is ahead of you, you need to wait. And you may need to wait for quite a while. We often forget that it takes 1.2 microseconds to transmit a 1500 byte packet on a 10GE interface, more than 7 microseconds for a jumbo packet. When the destination port is being paused due to Data Center Bridging Priority Flow Control (PFC), the packet will be queued for store and forward. And make sure you add an extra 3 microseconds for 10GBASE-TX.

Datacenters are on a path to fewer layers of switching. Spine and leaf networks are being pitched as the best performing, low cost solution for dense networks. If you carefully examine the specs and pitches of some of the newer spine switches, you will notice that all of them make a case for deep buffers. Deep buffers assume that this switch needs to manage congestion by buffering packets, why else would you design expensive and power hungry buffer memory into those switches. Buffering and low latency don't go well together. If your spine and leaf network has nothing much to do, you may well see latency numbers of only a few microseconds or better. If the spine layer needs to buffer your packet, this number can jump up quickly to 10s of microseconds. And those large buffers seem to suggest it will.

There certainly are applications that are very sensitive to latency. Financial institution low latency trading networks are the example always used, and there are High Performance Computing environments with database, RDMI or similar applications that benefit from really low latency. Engineering the traffic in such a way that none of the low latency disruptive events described above happen is hard. Really hard. Extremely hard if there is a lot of traffic. Or a lot of endpoints. Networks that are specifically designed to aggregate and distribute (spine and leaf) will be more prone to these latency increasing scenarios. Creating a network with the ability to create isolated direct paths between switches that serve low latency applications is much more likely to avoid these. And even if the absolute latency is not the lowest, consistent latency with little jitter will certainly help the performance of adaptive mechanisms like TCP.

For the vast majority of applications in a typical enterprise datacenter, or a public cloud provider, the difference between 200 nanosecond switch latency and 1 microseconds is not measurably different in terms of user or application performance. The set of applications that behave noticably different at a few microseconds vs 10s of microseconds end to end latency is probably larger. I argue that you will get better results by carefully engineering the traffic for the applications that do care about low latency and low jitter. Make sure they get the bandwidth they need. Make sure they do not clash in the network with data hungry applications. Affinitize your network. It may just give you the latency and jitter performance you need.

The post Traffic advisory: your packets may be delayed appeared first on Plexxi.

Read the original blog entry...

More Stories By Marten Terpstra

Marten Terpstra is a Product Management Director at Plexxi Inc. Marten has extensive knowledge of the architecture, design, deployment and management of enterprise and carrier networks.

@MicroservicesExpo Stories
SYS-CON Media announced that IBM, which offers the world’s deepest portfolio of technologies and expertise that are transforming the future of work, has launched ad campaigns on SYS-CON’s numerous online magazines such as Cloud Computing Journal, Virtualization Journal, SOA World Magazine, and IoT Journal. IBM’s campaigns focus on vendors in the technology marketplace, the future of testing, Big Data and analytics, and mobile platforms.
For those of us that have been practicing SOA for over a decade, it's surprising that there's so much interest in microservices. In fairness microservices don't look like the vendor play that was early SOA in the early noughties. But experienced SOA practitioners everywhere will be wondering if microservices is actually a good thing. You see microservices is basically an SOA pattern that inherits all the well-known SOA principles and adds characteristics that address the use of SOA for distribut...
Microservice architectures are the new hotness, even though they aren't really all that different (in principle) from the paradigm described by SOA (which is dead, or not dead, depending on whom you ask). One of the things this decompositional approach to application architecture does is encourage developers and operations (some might even say DevOps) to re-evaluate scaling strategies. In particular, the notion is forwarded that an application should be built to scale and then infrastructure sho...
SYS-CON Events announced today the IoT Bootcamp – Jumpstart Your IoT Strategy, being held June 9–10, 2015, in conjunction with 16th Cloud Expo and Internet of @ThingsExpo at the Javits Center in New York City. This is your chance to jumpstart your IoT strategy. Combined with real-world scenarios and use cases, the IoT Bootcamp is not just based on presentations but includes hands-on demos and walkthroughs. We will introduce you to a variety of Do-It-Yourself IoT platforms including Arduino, Ras...
Microservices are the result of decomposing applications. That may sound a lot like SOA, but SOA was based on an object-oriented (noun) premise; that is, services were built around an object - like a customer - with all the necessary operations (functions) that go along with it. SOA was also founded on a variety of standards (most of them coming out of OASIS) like SOAP, WSDL, XML and UDDI. Microservices have no standards (at least none deriving from a standards body or organization) and can be b...
Our guest on the podcast this week is Jason Bloomberg, President at Intellyx. When we build services we want them to be lightweight, stateless and scalable while doing one thing really well. In today's cloud world, we're revisiting what to takes to make a good service in the first place. Listen in to learn why following "the book" doesn't necessarily mean that you're solving key business problems.
Right off the bat, Newman advises that we should "think of microservices as a specific approach for SOA in the same way that XP or Scrum are specific approaches for Agile Software development". These analogies are very interesting because my expectation was that microservices is a pattern. So I might infer that microservices is a set of process techniques as opposed to an architectural approach. Yet in the book, Newman clearly includes some elements of concept model and architecture as well as p...
Microservices, for the uninitiated, are essentially the decomposition of applications into multiple services. This decomposition is often based on functional lines, with related functions being grouped together into a service. While this may sound a like SOA, it really isn't, especially given that SOA was an object-centered methodology that focused on creating services around "nouns" like customer and product. Microservices, while certainly capable of being noun-based, are just as likely to be v...
SYS-CON Events announced today the DevOps Foundation Certification Course, being held June ?, 2015, in conjunction with DevOps Summit and 16th Cloud Expo at the Javits Center in New York City, NY. This sixteen (16) hour course provides an introduction to DevOps – the cultural and professional movement that stresses communication, collaboration, integration and automation in order to improve the flow of work between software developers and IT operations professionals. Improved workflows will res...
Containers and microservices have become topics of intense interest throughout the cloud developer and enterprise IT communities. Accordingly, attendees at the upcoming 16th Cloud Expo at the Javits Center in New York June 9-11 will find fresh new content in a new track called PaaS | Containers & Microservices Containers are not being considered for the first time by the cloud community, but a current era of re-consideration has pushed them to the top of the cloud agenda. With the launch ...
An explosive combination of technology trends will be where ‘microservices’ and the IoT Internet of Things intersect, a concept we can describe by comparing it with a previous theme, the ‘X Internet.' The idea of using small self-contained application components has been popular since XML Web services began and a distributed computing future of smart fridges and kettles was imagined long back in the early Internet years.
Modern Systems announced completion of a successful project with its new Rapid Program Modernization (eavRPMa"c) software. The eavRPMa"c technology architecturally transforms legacy applications, enabling faster feature development and reducing time-to-market for critical software updates. Working with Modern Systems, the University of California at Santa Barbara (UCSB) leveraged eavRPMa"c to transform its Student Information System from Software AG's Natural syntax to a modern application lev...
OmniTI has expanded its services to help customers automate their processes to deliver high quality applications to market faster. Consistent with its focus on IT agility and quality, OmniTI operates under DevOps principles, exploring the flow of value through the IT delivery process, identifying opportunities to eliminate waste, realign misaligned incentives, and open bottlenecks. OmniTI takes a unique, value-centric approach by plotting each opportunity in an effort-payoff quadrant, then work...
SOA Software has changed its name to Akana. With roots in Web Services and SOA Governance, Akana has established itself as a leader in API Management and is expanding into cloud integration as an alternative to the traditional heavyweight enterprise service bus (ESB). The company recently announced that it achieved more than 90% year-over-year growth. As Akana, the company now addresses the evolution and diversification of SOA, unifying security, management, and DevOps across SOA, APIs, microser...
Even though it’s now Microservices Journal, long-time fans of SOA World Magazine can take comfort in the fact that the URL – soa.sys-con.com – remains unchanged. And that’s no mistake, as microservices are really nothing more than a new and improved take on the Service-Oriented Architecture (SOA) best practices we struggled to hammer out over the last decade. Skeptics, however, might say that this change is nothing more than an exercise in buzzword-hopping. SOA is passé, and now that people are ...
Cloud computing is changing the way we look at IT costs, according to industry experts on a recent Cloud Luminary Fireside Chat panel discussion. Enterprise IT, traditionally viewed as a cost center, now plays a central role in the delivery of software-driven goods and services. Therefore, companies need to understand their cloud utilization and resulting costs in order to ensure profitability on their business offerings. Led by Bernard Golden, this fireside chat offers valuable insights on ho...
The 16th Cloud Expo has added coverage containers and microservices to its program for New York, to be held June 9-11 at the Jacob Javits Convention Center. Cloud Expo has long been the single, independent show where delegates and technology vendors can meet to experience and discuss the entire world of the cloud. This year will be no different. Containers are an old concept that saw renewed life with the emergence of Docker in 2013. Then late in 2014, CoreOS shook up the cloud-computing w...
Our guest on the podcast this week is Jason Bloomberg, President at Intellyx. When we build services we want them to be lightweight, stateless and scalable while doing one thing really well. In today’s cloud world, we’re revisiting what to takes to make a good service in the first place.microservices Listen in to learn why following “the book” doesn’t necessarily mean that you’re solving key business problems.
The Open Compute Project is a collective effort by Facebook and a number of players in the datacenter industry to bring lessons learned from the social media giant's giant IT deployment to the rest of the world. Datacenters account for 3% of global electricity consumption – about the same as all of Switzerland or the Czech Republic -- according to people I met at the recent Open Compute Summit in San Jose. With increasing mobility at the edge of the cloud and vast new dataflows being pre...
SYS-CON Events announced today that Cisco, the worldwide leader in IT that transforms how people connect, communicate and collaborate, has been named “Gold Sponsor” of SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. Cisco makes amazing things happen by connecting the unconnected. Cisco has shaped the future of the Internet by becoming the worldwide leader in transforming how people connect, communicate and collaborat...