The Programmer News Hubb
Advertisement Banner
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact
No Result
View All Result
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact
No Result
View All Result
Gourmet News Hubb
No Result
View All Result
Home Technical Insights

ngrok adds new package for adding ingress to Go applications

admin by admin
March 12, 2023
in Technical Insights


Ngrok, a Kubernetes ingress controller, now has a new package out to enable developers embed ingress into Go applications.

Go developers can use ngrok-go to serve their Go apps with little coding required as they won’t have to set up with network primitives like IPs, certificates, load balancers, and ports. 

Calling the ngrok.Listen() function will initiate a persistent outbound TLS connection to ngrok’s platform and transmit network configuration information. Then, the ngrok service will set up that configuration across all of its global points and return a URL for the application. 

Once this is setup, whenever ngrok receives HTTP requests, it will receive them at the closest region to the requester. Unauthorized requests will be blocked at the edge so that only valid requests are sent to an ngrok-go app. 

According to ngrok, setting up ingress without tools like this can be frustrating because it requires dealing with a variety of low level networking primitives, forcing developers to closely work with the assembly language of networking, rather than just focusing on their own code. By abstracting that away, developers can still specify ingress without having to work with low-level details and without sacrificing security or control. 

Ngrok-go also decouples ingress from the environment an app runs in. In other words, apps that use ngrok-go can be run anywhere and it will still receive traffic the same way. 

“From an ingress standpoint, your application becomes portable: it does not matter whether it runs on bare metal, VMs, AWS, Azure, in Kubernetes, serverless platforms like Heroku or Render, a racked data-center server, a Raspberry Pi, or on your laptop,” Alan Shreve, founder and CEO of ngrok wrote in a blog post. 

Another consideration when developing ngrok-go was wanting to enable ingress without side cars. According to ngrok, developers typically deploy the ngrok agent alongside their applications, but it can be challenging to bundle and manage it. Ngrok-go eliminates the agent, which helps to simplify distribution and management. 

Currently the ngrok team is also working on support for other languages to get their own package. Rust and JavaScript are actively being worked on, and in the future they hope to create ngrok packages for Java, C#, Python, and Ruby as well.



Source link

Previous Post

10 Free Brochure Templates for Adobe InDesign

Next Post

A Guide to Running Web Application Tests — SitePoint

Next Post

A Guide to Running Web Application Tests — SitePoint

Recommended

Making the Most of Slow Times at Your Web Design Business

3 weeks ago

Guide to the Best JavaScript Books for Beginners

5 months ago

JetBrains releases beta of its cross-platform Kotlin development tool

6 months ago

The 10 Best Photoshop Action Sets for Creating the Bokeh Effect

3 months ago

Reddit – Dive into anything

3 weeks ago

Object-oriented Programming in Python: An Introduction

3 months ago

© The Programmer News Hubb All rights reserved.

Use of these names, logos, and brands does not imply endorsement unless specified. By using this site, you agree to the Privacy Policy and Terms & Conditions.

Navigate Site

  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact

Newsletter Sign Up.

No Result
View All Result
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact

© 2022 The Programmer News Hubb All rights reserved.