June, 2016

article thumbnail

How to Load Balance RESTful Web Services Using CXF and Apache Camel

DZone

In this article I am going to show you two approaches to load balance JAXRS web services without an Apache or a hardware load balancer. The full code is available on GitHub. CXF provides clustering strategies which can be used for configuring a load balancer which has already been discussed here. However, load balancing the JAXRS requires a little more effort, which I have described in this article.

Hardware 130
article thumbnail

Serverless Reference Architectures with AWS Lambda

All Things Distributed

Building your applications with only managed components has become very popular, and AWS Lambda plays a crucial role in that. I see a tremendous interest in examples how to build such applications, and articles such as " The Serverless Start-Up - Down With Servers! " about teletext.io are read eagerly around the globe. If you are looking for more examples there are the Lambda Serverless Reference Architectures that can serve as the blueprint for building your own serverless applications.

Lambda 109
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Uber Engineering’s Micro Deploy: Deploying Daily with Confidence

Uber Engineering

In 2014, Uber began expanding ever rapidly. Our platform grew from about 60 cities to 100 in the spring, and then to 200 in the fall. Meanwhile, our fastest growing cities were among our oldest. As the number of additional … The post Uber Engineering’s Micro Deploy: Deploying Daily with Confidence appeared first on Uber Engineering Blog.

article thumbnail

Connect to a Raspberry Pi Zero with a USB Cable and SSH

The Polyglot Developer

As some of you may know, I have a hoarding problem. I am hoarding Raspberry Pi microcomputers. In my personal collection I have one from each generation, making four standard units. Well, I recently picked up another unit, but this time a Raspberry Pi Zero. These things are about the size of a nine volt battery, but pack some serious punch. The problem is they are incredibly rare because they retail for only $5.00.

IoT 93
article thumbnail

5 Major Criteria for Selecting a Testing Tool

Kovair

Today, the entire software development process is going through a cultural shift from the traditional Waterfall model to the modern agile methodology. With this paradigm. The post 5 Major Criteria for Selecting a Testing Tool appeared first on Kovair Blog.

article thumbnail

Setting up mutt with gmail on Ubuntu

O'Reilly Software

I was looking to set up the mutt email client on my Ubuntu box to go through my gmail account. Since it took me a couple of hours to figure out, and I’ll probably forget by the time I need to know again, I figure I’d post my steps here. I’m on Ubuntu 16.

52
article thumbnail

PWA Discovery: You Ain’t Seen Nothin Yet

Alex Russell

Ada pitched into the conversation about the state of PWAs — particularly Chrome’s heuristics which prompted a Twitter discussion about some of the finer points of the user and developer experience. The background to these conversations is that today, the way users learn that they can install a Progressive Web App is via a prompt browsers decide to show at their discretion.

Design 47

More Trending

article thumbnail

Setting up mutt with gmail on Ubuntu

Nick Desaulniers

I was looking to set up the mutt. email client on my Ubuntu box to go through my gmail account. Since it took me a couple of hours to figure out, and I’ll probably forget by the time I need to know again, I figure I’d post my steps here. I’m on Ubuntu 16.04 LTS ( lsb_release -a ). Install mutt: 1. $ sudo apt-get install mutt. In gmail, allow other apps to access gmail: Allowing less secure apps to access your account.

43
article thumbnail

Build An RSS Reader Mobile App With Ionic 2 And Angular

The Polyglot Developer

If you’re a long time follower of my blog you’ll remember I wrote an article about creating an RSS reader using Ionic Framework. That tutorial not only used the first version of Ionic Framework, but it now also uses a deprecated Google service, once known as the Google Feed API. Because of the deprecated API, it no longer works. I still get a lot of people asking me about the creation of RSS readers, so I figured it was time to come up with a new solution.

Mobile 52
article thumbnail

CPU throttling using Chrome Developer Tools

Dean Hume

I recently gave a tutorial at Velocity Conference in Santa Clara about some of the amazing features that lie within the browsers we use everyday. As web developers, we are pretty lucky to have such awesome developer tools at our disposal. After the tutorial was complete, a few people asked me about using the developer tools to simulate the performance of low end devices.

article thumbnail

Cross Compiling C/C++ for Android

O'Reilly Software

Let’s say you want to build a hello world command line application in C or C++ and run it on your Android phone. How would you go about it? It’s not super practical; apps visible and distributable to end users must use the framework (AFAIK), but for folks looking to get into developing on ARM it’s likely they have an ARM device in their pocket. This post is for folks who typically invoke their compiler from the command line, either explicitly, from build scripts, or other forms of automation.

C++ 40
article thumbnail

What Am I Working On (RDORR): SQL Server On Linux

SQL Server According to Bob

To some of you SQL Server On Linux is old news from various announcements made a couple of months ago. To others this is new information. Yes, SQL Server runs on Linux! We are in active, private preview and working towards the public preview release. Read More: [link]. Sneak Peak Demo: [link]. It was Jan 2015, in my previous supportability role, that I started looking at SQL Server on Linux.

Servers 40
article thumbnail

New Ways to Discover and Use Alexa Skills

All Things Distributed

Introducing New Features That Make It Easier for Customers to Discover and Use Your Alexa Skills. Alexa, Amazon’s cloud-based voice service, powers voice experiences on millions of devices, including Amazon Echo and Echo Dot, Amazon Tap, Amazon Fire TV devices, and devices like Triby. that use the Alexa Voice Service. One year ago, Amazon opened up Alexa to developers, enabling you to build Alexa skills with the Alexa Skills Kit. and integrate Alexa into your own products with the Alexa Voice Se

article thumbnail

Technical Debt

Professor Beekums

The subject of technical debt comes up often in software development. It is better to have something done sooner rather than later from the perspective of the project. Yet, this assumes all things are equal, which is rarely the case. Often a developer will have a choice: the short term path or the long term path. For example, a task can be done in 2 hours with one implementation.

article thumbnail

Build A Password Manager For iOS And Android Using NativeScript

The Polyglot Developer

There are many password managers on the market right now for Android and iOS. I personally use a mobile application called 1Password , but what if you’re the type of person who doesn’t trust these companies with your sensitive passwords? The solution to this would be to build your own password management application, one where you know the algorithms and the logic.

article thumbnail

CPU throttling using Chrome Developer Tools

Dean Hume

I recently gave a tutorial at Velocity Conference in Santa Clara about some of the amazing features that lie within the browsers we use everyday. As web developers, we are pretty lucky to have such awesome developer tools at our disposal. After the tutorial was complete, a few people asked me about using the developer tools to simulate the performance of low end devices.

article thumbnail

In Tech, Portfolio Management is a Metaphor, Not a Way of Life

The Agile Manager

A few years ago, I wrote about the chronic misuse of the word "governance" in technology. The word "portfolio" is suffering the same fate. The reason for introducing the word "portfolio" into tech management is that some portion of tech spend is really an investment in the business, something that differentiates it and gives it a competitive edge - for example, mobile or web client-facing apps, or internal software that codifies workflows to capture efficiencies.

article thumbnail

Does SQL Server 2016 Require Trace Flag -T8048?

SQL Server According to Bob

Various changes from automatic soft NUMA to CMemThread partitioning have muddied the water around the trace flag –T8048 messaging. Prior to SQL Server 2016 the trace flag –T8048 is used to upgrade (only) NUMA partitioned, CMemThread objects to CPU partitioned based objects. A few of the most common CMemThread objects have been upgraded to NUMA partitioning, allowing –T8048 to be used as needed for additional partitioning.

Servers 40
article thumbnail

TPDP Episode #6: PouchDB and its Usefulness in Development

The Polyglot Developer

As a web and mobile application developer, you may come to a point where you need to worry about data and how to synchronize it between devices in platforms. PouchDB is one of a few good solutions that makes this task significantly easier. In this episode of The Polyglot Developer Podcast, guest speaker Nolan Lawson and I discuss PouchDB and how it is being used in a lot of modern applications, both web and mobile.

article thumbnail

Prompt Users To Rate Your NativeScript Android And iOS App

The Polyglot Developer

So you’ve released this great application that you developed using NativeScript by Progress. The problem you might be facing now is that no one is rating or reviewing your mobile application. This may be related to the fact that it takes a bit of time to find an app in the app store and then leave a rating. A great solution to this is to prompt the user to rate your application and be automatically redirected to the app store listing should they agree to leave you a rating.

Mobile 52
article thumbnail

Create A Simple Todo List App Using Ionic 2 For Android And iOS

The Polyglot Developer

I’ve created a few tutorials around Ionic 2 while it was in its early alpha stage up until now. These tutorials explain how to use the bits and pieces that the framework or Angular offers, but I never demonstrated how to make a functional application. Seeing how to put the pieces together makes a huge difference when learning a new technology. We’re going to see how to build a simple todo list type Android and iOS application using Ionic 2, Angular , and TypeScript.

article thumbnail

CPU throttling using Chrome Developer Tools

Dean Hume

I recently gave a tutorial at Velocity Conference in Santa Clara about some of the amazing features that lie within the browsers we use everyday. As web developers, we are pretty lucky to have such awesome developer tools at our disposal. After the tutorial was complete, a few people asked me about using the developer tools to simulate the performance of low end devices.

article thumbnail

Working With Shared Providers In An Ionic 2 Mobile App

The Polyglot Developer

When developing an Ionic 2 application there are often scenarios where it probably isn’t a good idea to include repetitive source code in multiple application pages. A common example of this would be when it comes to database interaction in an Ionic 2 application. Sure you could establish a connection to the database on every page and query it, but it would probably make more sense to use it like a shared provider.

Mobile 40
article thumbnail

Alter The Ionic 2 Gulp Script To Include Browser JavaScript Files

The Polyglot Developer

Recently I found myself needing to add a JavaScript library to an Ionic 2 TypeScript project. Now you’ll probably recall that I’ve written two different articles regarding using JavaScript libraries in TypeScript project. I wrote about including a JavaScript library in an Ionic 2 app in a guest post I did, but the scenario had the JavaScript library coming from the Node Package Manager (NPM).

article thumbnail

Unresolved Deadlock vs Scheduler Deadlock

SQL Server According to Bob

These are distinct errors but I have found that many people blend them together. It really takes an entire chapter to explain these conditions so I am going try to do it in a page or two? Unresolved Deadlock. An unresolved deadlock is generally a SQL Server product issue. When an unresolved deadlock is detected a message is added to the SQL Server error log and a mini-dump is captured.

article thumbnail

SQL 2016–Install MSVC Patch Required

SQL Server According to Bob

I can’t emphasize this patch enough. There is a MSVC, runtime library patch needed by SQL Server 2016 and without the patch the SQL Server service can simply terminate (crash.) This may not produce stack dumps and the SQL Server error log often looks like it simply terminates (no logging of shutdown.). For complete instructions on applying this patch, read the Release Notes for SQL Server 2016 (look at section called “Install Patch Requirement (GA)”) If you have already installed SQL Server 2016

article thumbnail

Install Xcodeproj For NativeScript iOS Development On Mac OS

The Polyglot Developer

I’ve been developing Android applications for quite some time, but with all the various cross platform or hybrid web frameworks available, I’ve slowly been drawn into developing iOS applications as well. I’ve touched iOS here and there, whether it be with Ionic Framework or Telerik NativeScript , but never really did much with it or learned how it ticked.

article thumbnail

Premium Members Only Content Is Coming To The Polyglot Developer

The Polyglot Developer

Back in 2014 I started blogging on The Polyglot Developer which was previously known as Nic Raboy’s Code Blog. Since then I’ve published more than 250 blog articles, more than 100 video tutorials, and even three premium courses. The Polyglot Developer is evolving again, this time with premium members only content in addition to the free content I plan to continue to produce.

article thumbnail

How It Works: How SQL Server Determines Logical and Physical Processors

SQL Server According to Bob

SQL Server, as outlined in the following post ( [link] ) adjusts to various processor configurations. I have received questions related to how SQL Server accomplishes the alignment on both bare metal and VM installations. The key is the GetLogicalProcessorInformation API, and the same logic occurs on bare metal and VM based SQL Server installations.

Servers 40
article thumbnail

How It Works: SQL Server 2016 SSE/AVX Support

SQL Server According to Bob

My recent posts. [link]. [link]. have generated discussions about the SSE and AVX support boundaries. As indicated, SQL Server 2016 added the use of SSE and AVX instructions in various code paths to improve performance. The inquiries have centered around the support boundaries of the SSE and AVX instructions. This post will outline SQL Server’s decisions around SSE/AVX or software algorithm use.

Servers 40
article thumbnail

SQL 2016 – It Just Runs Faster: DBCC Scales 7x Better

SQL Server According to Bob

Many of you have experienced (MULTI_OBJECT_SCANNER* based) waits while running DBCC CHECKS*(checkdb, checktable, …). Internally DBCC CHECK* uses a page scanning coordinator design (MultiObjectScanner.) SQL Server 2016 changes the internal design to (CheckScanner), applying no lock semantics and a design similar to those used with In-Memory Optimized (Hekaton) objects, allowing DBCC operations to scale far better than previous releases.

article thumbnail

SQL 2016 – It Just Runs Faster Announcement

SQL Server According to Bob

SQL Server 2016 ‘It Just Runs Faster’ A bold statement that any SQL Server professional can stand behind with confidence. My development collogues and I are starting a regular blog series, outlining the vast range of scalability improvements, allowing SQL Server 2016 to run across a wide array of hardware configurations, faster and better than previous releases of SQL Server.